« Prototype Javascript Windows | Main | reAnimator, Visualizing Regular Expressions »

RPG Ajax Creator

This is an interesting package to create your own RPG game using PHP5 and AJAX. RPG Ajax Creator is not yet finished but already implements sone important features :

- Map engine: it can display maps with a bi-dimensional perspective that can be browsed interactively using AJAX. The map definition modules are simple easy to create text files.
- Events engine: used to generate events on a given map. The events are defined in a XML file.
- Fight engine: dynamical fight engine using JavaScript objects. Players can hit monsters, be hit, heal, win, or die. It uses a counter to simulate initiative.
- Character classes: There is one character abstract class, one avatar abstract class, one monsters abstract class, and two monster implementation class (goblins and lizards), and one warrior implementation class.

http://ajax.phpmagazine.net/upload/2006/03/ajax-rpg-thumb.jpg

Maps are created in "maps" folder, and the creation of matrix maps is very simple. Every image is represented by its name, for example 1 => 1.ext. The "ext" could be defined in the map object for example to set ext to jpg images we can use : $map -> setDisplay (array ('ext' => 'jpg'));. The file map.mod will define in this case the order to display the different tiles. Events are represented by XML files and you can set events for every position for example ex0y0 is the event which occur when x=0 and y=0.

For more information : RPG Ajax Creator

Bookmark this article at these sites
Comments
1

You can find great Ajax games here:
www.pitstreet.com

Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):