Log In  
Follow
Udo
[ :: Read More :: ]

Hi!

I´m new to pico 8 and I do my first steps in moving an sprite through an dungeon.

that works well, but i the sprite moves on and on while keeping the button pressed

I want to stop after moving one tile in the pressed direction

so for moving on and on you have to press the button over and over again

How can I do this?

I tried it whith

repeat
until btn()==true
return

but it doesnt work

Thanks for help!!

P#70361 2019-11-29 11:17

Follow Lexaloffle:          
Generated 2024-03-29 08:04:26 | 0.067s | Q:5