News Feed
Sections




News Archive
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
October 23, 2006 @ 14: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.

0 comments voice your opinion now!
game star planet bodies tutorial game star planet bodies tutorial


blog comments powered by Disqus

Similar Posts

IBM developerWorks: Understanding the Zend Framework, Part 3: The feeds

PHPMaster.com: Writing Custom Session Handlers

Zend Developer Zone: Using Zend_Tool to start up your ZF Project

IBM developerWorks: 30 game scripts you can write in PHP, Part 1: Creating 10 fundamental scripts

Josh Adell: Migrating to Dependency Injection


Community Events

Don't see your event here?
Let us know!


framework introduction example release performance symfony2 podcast opinion interview php7 voicesoftheelephpant series composer testing laravel api version community library application

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework