Project

General

Profile

Bug #897

Sprite Anim - Anim on restarts old animations

Added by Alex Vac about 1 month ago. Updated 3 days ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
05/29/2022
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Anim starts over for old animations on screen when ANIM ON is used.
In the example below sprite 1 repeats its animation when sprite 2 starts its animation.

EXAMPLE in ACTION:
https://app.aoz.studio/00dk0kdr/

BEGIN:
sprite 1,250,150,1 : sprite 2,500,150,2
anim 1,"(3,15)(1,15)(3,15)(1,15)(3,15)(1,15)" : anim on
wait 0.1: clear key:wait Key

anim off 1: anim off // makes no difference
anim 2,"(3,15)(2,15)(3,15)(2,15)(3,15)(2,15)" : anim on
wait 0.1: clear key:wait Key
goto BEGIN

#1

Updated by malcolm harvey about 1 month ago

ANIM can be used yes with ANIM on/off [n] with either amiga/atarist cmds/instr's.
If you don't specify (number) it will become global for all sprite anims, amos/stos worked same way.
Works as expected. Yes, please close this ticket francois, thankyou.

#2

Updated by Francois Lionet 3 days ago

  • Status changed from New to Resolved

Fixed!

Also available in: Atom PDF