-
Tables
Im creating a RPG game in PHP and I have a quick question.
I have a graph pretty much where it has 5 columns 5 rows and right smack in the middle theres the character. Each box is 32 x 32 and I wanted to know how I could get the character to be placed in the middle but be a larger size with out messing up the tile in the middle.
Also there will be monsters that I pull from the DB and when they are placd on the map I would like to know how I could go about making them larger then the tile as well and still be in the correct area
-
Re: Tables
Wow! Is this still the same game you started a long time ago?
On to the problem, once again, I wish I could see exactly what you are talking about to clarify some things. This is actually client-side, so ask Dr. Script to move it there.
If you are working with 5x5, why not specify a total table height and width and then specify 20% to each TD width and height.
-
Re: Tables
nah its not the same one this one is a diff one, but the other one was canceled because i hadn't worked on it in ages because I had to much school work and other stuff so I thought i would start fresh. I'll draw a diagram so you can see what i mean and then ill post it here.