PlayAnim - how to use it ?

Discuss any general programming issues here
Post Reply
pecaN
Posts: 124
Joined: Thu Jun 10, 2010 4:15 pm

PlayAnim - how to use it ?

Post by pecaN »

hi people, can anybody please give me an example of how to use this this command ???

I have got this code :

@BRUSH 1,"brush.iff"
Createanim(1,1,70,70,5,5)
PlayAnim(1)

This creates an anim with 5 frames from a brush 1. that works but when it should play it, an error message "not enough arguments in the PlayAnim command" appears! I tried to add all other parameters from the docs (although not needed) but still the same! thx pecaN
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: PlayAnim - how to use it ?

Post by djrikki »

Hi,

Without turning my Amiga on (I am just about to leave the house) check the documenation. I am not familiar with the CreateAnim command, but I suspect some of the arguments might have to given as a table - aka in curly brackets.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
Post Reply