It's been a busy month, and this is the only thing I was remotely happy to put out. I thought I could make parallax happen, and I kind of did, but then I liked the parallax so much I didn't know what else to do. So here is this chillout thing where you just fly your plane up and down and listen to the rain. Up/Down arrows to move.



I incorporated a collision at the top and bottom of the screen within the button functions.
It might not be the correct way of doing it, but it works ;-)
if(btn(2)) then player.y-=1 if player.y < -2 then player.y = -2 --Added end end if(btn(3)) then player.y+=1 if player.y > 122 then player.y = 122 --Added end |
[Please log in to post a comment]