Difference between revisions of "Release.priority"
From AGI Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | '''<code>release.priority(n);</code>''' turns on the automatic priority choice for the [[object|object n]]. The priority is set depending on the vertical coordinate of the object. This way, as an object moves down it approaches the viewer. See section [[AGI Specifications: Chapter 2 - Overview#bands|Priority bands and control lines]] for a table of y coordinates and the associated priorities. | + | '''<code>release.priority(n);</code>''' turns on the automatic priority choice for the [[object|object n]]. The priority is set depending on the vertical coordinate of the object. This way, as an object moves down it approaches the viewer. See section [[AGI Specifications: Chapter 2 - Overview#bands|Priority bands and control lines]] for a table of y coordinates and the associated priorities.<br /> |
<blockquote> | <blockquote> | ||
− | |||
{| border="1px" style="background-color: #F9F9F9; border: 1px solid #000000;" cellspacing=0 cellpadding=0 | {| border="1px" style="background-color: #F9F9F9; border: 1px solid #000000;" cellspacing=0 cellpadding=0 | ||
| | | | ||
Line 32: | Line 31: | ||
|} | |} | ||
|} | |} | ||
− | </blockquote> | + | </blockquote><br /> |
+ | |||
The effect is that as an object moves down it appears to approaches the player. | The effect is that as an object moves down it appears to approaches the player. |
Revision as of 22:12, 29 December 2013
release.priority(n);
turns on the automatic priority choice for the object n. The priority is set depending on the vertical coordinate of the object. This way, as an object moves down it approaches the viewer. See section Priority bands and control lines for a table of y coordinates and the associated priorities.
< y < priority 0 48 4 48 60 5 60 72 6 72 84 7 84 96 8 96 108 9 108 120 10 120 132 11 132 144 12 144 156 13 156 168 14
The effect is that as an object moves down it appears to approaches the player.