mirror of
https://git.kittycat.homes/zoe/codename-routes.git
synced 2024-08-15 03:18:26 +00:00
dskfjkdsf
This commit is contained in:
parent
59ddadb46a
commit
74e9d94977
9 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,8 @@
|
|||
extends TileMap
|
||||
|
||||
func set_tile_graphics(pos: Vector2, id: int):
|
||||
set_cell(pos.x,pos.y,0,false,false,false,Vector2(1,2))
|
||||
var flip = true
|
||||
set_cell(pos.x,pos.y,0,false,false,false,get_atlas_vec_for_id(id))
|
||||
|
||||
func get_atlas_vec_for_id(id: int) -> Vector2:
|
||||
return Vector2(randi() % 4, id)
|
||||
|
|
|
@ -9,7 +9,6 @@ position = Vector2( -2, 0 )
|
|||
mode = 1
|
||||
tile_set = ExtResource( 1 )
|
||||
cell_size = Vector2( 32, 16 )
|
||||
cell_tile_origin = 1
|
||||
collision_layer = 0
|
||||
collision_mask = 0
|
||||
format = 1
|
||||
|
|
|
@ -11,6 +11,3 @@ func respawn_tilemaps(amount: int):
|
|||
map.z_index = i
|
||||
add_child(map)
|
||||
tilemaps.push_back(map)
|
||||
|
||||
func is_tile_in_view(pos: Vector2):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue