Difference between revisions of "AGIWiki/new.room.v"

Jump to navigation Jump to search
18 bytes added ,  15:10, 25 October 2018
m
Text replacement - "</source>" to "</syntaxhighlight>"
(→‎Examples: Fix syntax highlighting)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 45: Line 45:
The following code goes to room 25 if [[AGIWiki/Ego|ego]] is touching the left edge of the screen:
The following code goes to room 25 if [[AGIWiki/Ego|ego]] is touching the left edge of the screen:


<source lang="cpp">
<syntaxhighlight lang="cpp">
  #define ego_edge_code v2
  #define ego_edge_code v2
  #define left_edge      4
  #define left_edge      4
Line 54: Line 54:
     new.room.v(v202);
     new.room.v(v202);
  }
  }
</source>
</syntaxhighlight>


== Technical Information ==
== Technical Information ==
TrustedUser
2,147

edits

Navigation menu