Log In  
Follow
Udo
Follow

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 2020-09-20 08:19 | 0.083s | 2097k | Q:10