Project

General

Profile

Bug #877

Sprite Move - Move On glitch

Added by Alex Vac over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
12/05/2021
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Adding several MOVE ON causes sprites to ignore SPRITE OFF and MOVE OFF.
The sprites remember past commands resulting in "mutated" movement.

Example in action:
https://app.aoz.studio/4a7bm702/

Example Code:
START:
Paste Bob 100, 450, 3 // AOZ code image
sprite 1,250,150,1 : move y 1,"(1,4,15)(1,-4,15)l" : move on // remove this MOVE ON and it works
sprite 2,500,150,2 : move y 2,"(1,4,15)(1,-4,15)l" : move on
wait vbl
locate 5,9: Print"Press a key several times. Red sprite doesn't reset."
wait Key: cls: sprite off : move off
goto START

#1

Updated by Francois Lionet over 2 years ago

Fixed@! Was tricky. :)

#2

Updated by Francois Lionet over 2 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF