well this was addicting... my high score is 12. Rule number one: dont run towards the stones dumbass run away from them. good game
Lukasnob
5
Posts
2
Topics
2
Followers
1
Following
A member registered Jun 27, 2022 · View creator page →
Creator of
Recent community posts
PICO-8: Top-Down Adventure Game Tutorial community · Replied to MBoffin (Dylan Bennett) in episode 8 runtime error line 10 tab 4, pls help
PICO-8: Top-Down Adventure Game Tutorial community · Created a new topic episode 8 runtime error line 10 tab 4, pls help
unswap_tile(x,y)
attempt to index local ´x´ (a number value)
My code:
--animation code
function toggle_tiles()
for x=mapx,mapx+15 do
for y=mapy,mapy+15 do
if (is_tile(anim1,x,y)) then
swap_tile(x,y)
sfx(3)
elseif (is_tile(anim2,x,y)) then
unswap_tile(x.y)
sfx(3)
end
end
end
end
Unswap code:
function unswap_tile(x,y)
tile=mget(x,y)
mset(x,y,tile-1)
end