Factoritzades funcions per a conversió de coordenades.
[NEW] Tiles animats
This commit is contained in:
@@ -5,7 +5,7 @@ ch = arcade_config.character_height
|
||||
zombie={}
|
||||
|
||||
function zombie.new(_hab,_x,_y,_flip)
|
||||
local world_x, world_y = arc_mapa_get_coords(_hab,_x,_y)
|
||||
local world_x, world_y = coords.room_to_world(_hab,_x,_y)
|
||||
return {hab=_hab,
|
||||
x=world_x,
|
||||
y=world_y,
|
||||
|
||||
Reference in New Issue
Block a user