Compare commits
2 Commits
c4d08543e3
...
ab3107b5d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab3107b5d9 | ||
|
|
42dec882fa |
@@ -3,13 +3,14 @@ function world_init()
|
|||||||
--test start
|
--test start
|
||||||
bob = build(3,2,buildings.jam_workshop)
|
bob = build(3,2,buildings.jam_workshop)
|
||||||
bob = replace(bob, buildings.city)
|
bob = replace(bob, buildings.city)
|
||||||
destroy(bob)
|
--destroy(get_worldtile(3,2))
|
||||||
--test end
|
--test end
|
||||||
end
|
end
|
||||||
|
|
||||||
function world_update()
|
function world_update()
|
||||||
if (btnp(4)) build(3,2,buildings.jam_workshop)
|
if (btnp(4)) build(3,2,buildings.jam_workshop)
|
||||||
if (btnp(5)) compute_effect_array(worldtiles)
|
if (btnp(5)) compute_effect_array(worldtiles)
|
||||||
|
if (time()%1 == 0) compute_effect_array(worldtiles)
|
||||||
end
|
end
|
||||||
|
|
||||||
function world_draw()
|
function world_draw()
|
||||||
|
|||||||
Reference in New Issue
Block a user