PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2008-07-10 (8 years ago) RSS 2.0 feedStarStarStar 52%Total: 612 All time: 4,876 This week: 884Up
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: 36
All time rank: 2344161 in Brazil Brazil
Week rank: 1317 Up104 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:612
This week:0
All time:4,876
This week:884Up
User Ratings User Comments (1)
 All time
Utility:60%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:67%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:1872
 
Took quite a bit of fiddling to get working.
6 years ago (F Philip DeGeorge)
47%StarStarStar