Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Pádraic Brady's Blog:
Extending the Mapper: Stars and Planets
Oct 23, 2006 @ 19:17:00

Pádraic Brady is back today with another update on the game he's working on and his latest addition - the stars and planets ("bodies").

Planets and Stars ("Bodies") form the central hub around which the majority of a player's activity will center. This planning document addresses the generation and mapping of these entities, and not their individual contents, facilities or uses.

He breaks it down into a few steps:

  • Laying a Foundation
  • Adding Stars
  • Skeleton Map_Star Interfaces
  • Implementing the Map_Star Interfaces
  • Position Random
  • Generate Simple
  • Conclusion
The end result is a system for positioning stars and providing all of the star's data to the user.

tagged: game star planet bodies tutorial game star planet bodies tutorial

Link:


Trending Topics: