|
-
July 4th, 2006, 02:33 PM
#1
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
-
July 7th, 2006, 08:10 PM
#2
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.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
July 9th, 2006, 09:05 PM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|