Back to photostream

Star Colony

Notes

 

So how does it work? There are three layers on top of each other - the top layer contains the colorful stars, the second layer contains the small dim stars and the third layer in the back holds a couple of very bright stars. As you scroll the map the layers are all moved differently hopefully giving you a sense of depth. The 2nd and 3rd layers are only static tiles. The colorful stars are the stars the player may actually colonize and fight over. They are stored in a database table and requested by the map script via an asynchronous call. The stars are returned as an array in JSON format. The client side is homebrew javascript goodness with the help of Prototype and the backend consists of a few PHP classes.

 

 

www.soa-world.de/echelon/

233 views
0 faves
0 comments
Uploaded on August 17, 2009
Taken on August 17, 2009