I've got plenty of ideas here.
- Perhaps making attack.php into a little ajax window that appears in battle.php or something along those lines.
- Player made shops/market.
- Dynamic avatars made with items purchased from the shop
- Admin control panel? Some kind of admin only input system? Kind of like our registration, but admin only and it could control item/monster/world map creation
- Stamina(?) Not sure if you already explained this one, but stamina is really the only way to keep balance it seems, otherwise people can just play all day and level up far beyond the level cap/content that is made...
Stamina would replenish every day at midnight, each battle could cost 10stamina+ moving via grid system(if implemented) could take 1or more stamina.
-Combat, perhaps adding some kind of rock,paper,scissors system could be unique but something more like... High Strike, Low Strike, Defend
I don't know if it makes sense or even sounds remotely decent.
As for artwork, I'll be glad to supply anything needed.
Perhaps I could make up some monster and player avatars so you can add those to the site to make it a bit more dynamic then just text.
If I drew up an orc or something, then you could make it so the battle.php grabs images/[$creature].gif
I've got some more suggestions but this should do for now, also I just noticed grid based movement, awesome to see.
I'll comment on that when I get it implemented.
Dynamic avatars;
Hopefully that makes sense, so you've got  your base.gif and then the item.gifs go ontop of the original image.
And then the image is saved as a custom created avatar for the character, if that makes sense... Could be a lot of work although I found some code that said it's supposed to do the trick.
$image = imagecreatefromgif("baseimage.gif");
$overlay = imagecreatefromgif("itemimage.gif");
Code: Select all
//
//base image (is under everything)
//
$image = imagecreatefromgif("baseimage.gif");
$width = imagesx($image) ;
$height = imagesy($image) ;
//
//create the final image to be output
//
$image_final = imagecreatetruecolor($width, $height);
//
//create a few colors, for drawing
//
$black = imagecolorallocate($image_final,0,0,0);
$white = imagecolorallocate($image_final, 255,255,255);
//Get destination coordinates
$dst_x = 75;
$dst_y = 75;
//fill image with background
imagefilledrectangle($image_final, 0, 0, $width , $height , $black);
//copy background to output image
imagecopyresampled($image_final, $image, 0, 0 , 0, 0, $width, $height, $width, $height);
//
// Add another image over the top
//
$overlay = imagecreatefromgif("itemimage.gif");
$width_o = imagesx($overlay);
$height_o = imagesy($overlay);
imagecopy($image_final, $overlay, $dst_w,$dst_h,0,0,$width_o,$height_o);
//
// Write some stuff on the image
//
imagestring($image_final, 3, 15, 32, "Hi there", $black);
imagestring($image_final, 3, 200, 32, "Holy Moly", $black);
//
// Send the image to the browser
//
header("Content-type: image/gif");
imagegif($image_final);