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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue