Difference between revisions of "AGIWiki/Animated object"

Jump to navigation Jump to search
m
Text replacement - "</source>" to "</syntaxhighlight>"
m (syntax -> souce)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
The following example displays an animation of VIEW.004 at (80, 120) on the screen, using object 2:
The following example displays an animation of VIEW.004 at (80, 120) on the screen, using object 2:


<source lang="cpp">
<syntaxhighlight lang="cpp">
  animate.obj(o2);
  animate.obj(o2);
  load.view(4);
  load.view(4);
Line 26: Line 26:
  position(o2, 80, 120);
  position(o2, 80, 120);
  draw(o2);
  draw(o2);
</source>
</syntaxhighlight>


== Cycling objects ==
== Cycling objects ==
TrustedUser
2,147

edits

Navigation menu