Author Topic: mapping/terrian  (Read 486 times)

Offline k1ng

  • Level 4
  • *
  • Posts: 11
  • Reputation: +0/-0
    • View Profile
mapping/terrian
« on: February 10, 2009, 07:19:18 PM »
i was reading through one other topic on this and i was wondering.
people were saying using a table to display the map is better?

so do i use one picture for the whole map or use lots of smaller images in more cells of the table?

umm the main question is how do i display the map(2d). and how do i make the player(2d) move around ontop of it and run into battle etc

Offline Achanjiati

  • Level 2
  • *
  • Posts: 5
  • Reputation: +0/-0
    • View Profile
Re: mapping/terrian
« Reply #1 on: February 11, 2009, 06:23:54 AM »
I'm using many 64*64 images to represent the map.

An easy way is a table:
Code: [Select]
map_x,
map_y,
map_landscape

I read the coordinates at the player location and an few pieces around and build the map with css.
The using of css or a table depends on your needs.
Using one great picture for the world... makes it inflexible for user-driven changes of the map.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal