CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Tables

  1. #1
    Join Date
    Jun 2005
    Posts
    115

    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

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    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.

  3. #3
    Join Date
    Jun 2005
    Posts
    115

    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
  •  





Click Here to Expand Forum to Full Width

Featured