User Tools

Site Tools


hpl2:tutorials:script:sequences

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hpl2:tutorials:script:sequences [2011/07/29 21:18]
xiphirx created
hpl2:tutorials:script:sequences [2011/07/29 21:28] (current)
xiphirx
Line 17: Line 17:
  
  
-In addition to being low on memory, integers have some other advantages. For instance, if your sequence is 10 parts long, using an int will be able to tell us where we are, percentage wise. If we're at part 5 (in this example), then we know we are 50% done. This is useful for allowing the players to skip a sequence after a certain percentage of viewing (as in, the first part of an intro may be important to view, while the rest isn'​t). ​+In addition to being low on memory, integers have some other advantages. For instance, if your sequence is 10 parts long, using an int will be able to tell us where we are, percentage wise. If we're at part 5 (in this example), then we know we are 50% done. This is useful for allowing the players to skip a sequence after a certain percentage of viewing (as in, the first part of an intro may be important to view, while the rest isn'​t).
  
  
Line 147: Line 147:
 } }
 </​code>​ </​code>​
 +
 +
 ===== Conclusion ===== ===== Conclusion =====
  
hpl2/tutorials/script/sequences.1311974289.txt.gz ยท Last modified: 2011/07/29 21:18 by xiphirx