Difference between revisions of "AMOSi:Frame Skip"

From Amiga Coding
Jump to: navigation, search
(Extracted from the AMOSPro V2.00 helpfile)
(code now in codeblocks)
 
Line 3: Line 3:
  
 
Skips past the selected frames, and returns the address of the next one in the animation sequence.
 
Skips past the selected frames, and returns the address of the next one in the animation sequence.
 
+
<code><pre>
 
+
next=Frame Skip(bank/address)
next=Frame Skip(bank/address)<br />
+
</pre></code>
  
  
Line 11: Line 11:
  
  
next=Frame Skip(bank/address,n)<br />
+
<code><pre>
 
+
next=Frame Skip(bank/address,n)
 
+
</pre></code>
n holds the number of frames to be skipped. It defaults to one.<br />
 
  
  
next returns the address of the following animation frame.<br />
+
* n holds the number of frames to be skipped. It defaults to one.
 +
* next returns the address of the following animation frame.

Latest revision as of 00:27, 3 February 2008

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


Skips past the selected frames, and returns the address of the next one in the animation sequence.

next=Frame Skip(bank/address)


bank/address is number of a bank or the address of a valid IFF animation frame.


next=Frame Skip(bank/address,n)


  • n holds the number of frames to be skipped. It defaults to one.
  • next returns the address of the following animation frame.