PHP Classes

Space maps: Generate map images for space strategy games

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 635 This week: 1All time: 5,008 This week: 560Up
Version License PHP version Categories
spacemaps 0.1BSD License4Graphics, Games
Description 

Author

This class can be used to generate map images useful for space strategy games.

Currently, it can generate an image with a space map with a given number of sectors placed at random locations in a way that they do not overlap. It can also render optional space gates.

The map image is generated in JPEG format as the current script output.

Innovation Award
PHP Programming Innovation award nominee
July 2008
Number 7


Prize: One year server license IP to country region city database
Space is the scenario of many strategy games.

This package can be helpful to generate maps for space strategy games written in PHP.

Manuel Lemos
Picture of Danilo Castro
Name: Danilo Castro <contact>
Classes: 3 packages by
Country: Brazil Brazil
Age: 44
All time rank: 2417166 in Brazil Brazil
Week rank: 416 Up36 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Details

//////// PHP CLASSES///////// PHP CLASSES DONT LET ME UPLOAD A FONT HERE SO MAKE SURE YOU COPY A TTF FONT TO THE CLASS FOLDER ///////////////////////////// -> README Spacemaps is a library that aims to create support for web based strategy games. Its goal is to create a complete space map suite able to save, load, map and user specific maps, with html support for link mapping and tagging. Feedback and ideas are very important at this stage, so I count on you. -> THIS VERSION This version is able to create 2d jpeg maps using cartesian coords(displaying x and y and moving z to angles) on the fly based on configuration, embrionary support for "jumpgates" based on distance. -> NEXT VERSION The next version will be able to save the map on a mysql database, create user defined jumpgates and generate 3 different maps creating the 3 2d relevant displays for cartesian maps. -> TODO LIST `- Save `- Load `- Entire HTML layer `- Better gate support `- User specific map (you are here and all the other possibilities.) -> CONTACT If you have any questions or feedback please send it to castro@ps5.com.br. ATM the project does not accept programmer (due its informal development / coding practices) but im craving for feedback and ideas. -> CHANGELOG 0.1 Basic 2d Map Layer 15-Jun Simple Jumpgate tests 2008 -> ABOUT THE AUTHOR My name is Danilo Moncastro, Im a Professional PHP Programmer and atm Loking for Freelance Dev and Support. Live in Brazil with my will-be-wife and our 4 cats. I love RPG games, online games and nice cofee.

Screenshots  
  • theresult
  Files folder image Files  
File Role Description
Plain text file example.php Example the example
Plain text file map.php Class the class
Plain text file README Doc. rtfr

 Version Control Unique User Downloads Download Rankings  
 0%
Total:635
This week:1
All time:5,008
This week:560Up
User Ratings User Comments (1)
 All time
Utility:59%StarStarStar
Consistency:71%StarStarStarStar
Documentation:65%StarStarStarStar
Examples:71%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2616
 
Took quite a bit of fiddling to get working.
14 years ago (F Philip DeGeorge)
47%StarStarStar