- This wiki is out of date, use the continuation of this wiki instead
Graph
From FenixWiki
(Difference between revisions)
| Revision as of 13:19, 4 November 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Revision as of 13:03, 14 November 2007 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
| Line 22: | Line 22: | ||
| </pre> | </pre> | ||
| Used in example: [[new_map]](), [[map_clear]](), [[graphic]], [[x]], [[y]] | Used in example: [[new_map]](), [[map_clear]](), [[graphic]], [[x]], [[y]] | ||
| + | |||
| + | {{Locals}} | ||
Revision as of 13:03, 14 November 2007
Definition
INT graph
Graph is a predefined local variable which holds the GraphID of the process. A graphic can be assigned to the process by assigning the GraphID of that graphic to graph.
Example
Process cyan_graphic()
Begin
graph = new_map(100,100,8); // create a new 100x100x8 map.
map_clear(0,graph,rgb(0,255,255)); // clear it cyan-colored
x = 100; //Position the graphic 100 pixels
y = 100; //from the top and left of the screen
Loop
frame;
End
End
Used in example: new_map(), map_clear(), graphic, x, y
| Local variables | |
| • Angle • Bigbro • Father • File • Flags • Graph • Id • Region • Reserved • Resolution • Size • Size_x • Size_y • Smallbro • Son • X • Y • Z • | |
