Difference between revisions of "AMOSi:Frame Play"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
(code now in codeblock)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
Plays selected frames of a previously loaded IFF animation on the screen.
 
Plays selected frames of a previously loaded IFF animation on the screen.
 
 
 
<code><pre>
 
<code><pre>
 
next=Frame Play(bank/address,n[,screen])
 
next=Frame Play(bank/address,n[,screen])
 
</pre></code>
 
</pre></code>
  
bank/address is a memory address (or bank number) containing an IFF animation sequence which has been previously loaded with the FRAME LOAD instruction.
+
* bank/address is a memory address (or bank number) containing an IFF animation sequence which has been previously loaded with the FRAME LOAD instruction.
 +
* n is the number of frames you wish to play.<br />
  
  
n is the number of frames you wish to play.<br />
+
<code><pre>
 
+
next=Frame Play(bank/address,n,screen])
 
+
</pre></code>
next=Frame Play(bank/address,n,screen])<br />
 
  
  
 
screen enters a new screen to be created for your animation.<br />
 
screen enters a new screen to be created for your animation.<br />

Latest revision as of 00:28, 3 February 2008

an example can be found on AMOSPro_Tutorial:Tutorials/Iff_Animation.AMOS


Plays selected frames of a previously loaded IFF animation on the screen.

next=Frame Play(bank/address,n[,screen])
  • bank/address is a memory address (or bank number) containing an IFF animation sequence which has been previously loaded with the FRAME LOAD instruction.
  • n is the number of frames you wish to play.


next=Frame Play(bank/address,n,screen])


screen enters a new screen to be created for your animation.