Project

General

Profile

Actions

Bug #897

open

Sprite Anim - Anim on restarts old animations

Added by Alex Vac over 2 years ago. Updated over 2 years 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

Actions

Also available in: Atom PDF