Sunday, January 16, 2011

map

x
y
width
corner
top
left


what is axonometric view and projection

map landscape is different from objects placed on map landscape or landscape tile can have height

objets have floor

if moving object is on the ground it cant pass another objects floor by his floor edge

if object is flying his flying

map landscape tiles have its base types like ground water and so on


textures
suorces
map

map.objects[x,y]
map.add (object, x, y)
map.x
map.y
map.update (object, x, y)
sprite.source
sprite.width
sprite.height
object.sprite
object.from
object.to
object.width
object.height
  1. load image sources
  1. tile configuration [source, x, y, from, to, width, height, type] come from server
  2. register events on mouseover mouseclick mousedragstart mousedragend

No comments:

Post a Comment