|
Show Index |
|---|
| Sorry! but this tutorial/example page hasn't been created yet.
Check back soon to see if we've gotten around to completing it.Some of it's features include: -Feature A -Feature B -etc. |
![]() |
Start with setting up graphics:
Graphics 800,600, 0, 1 ;2D graphics at a resolution of 800x600 Text 400, 300, "Loading...", 1 ;Write a temp message (could display an image here too)
Define Types:
;Define Types ;Use Types to store sprite information Type SpriteATYPE ;Set up the SpriteA type Field ID ;Type of sprite (1=Player, 2=Enemy_type1, etc., ...) Field X# ;X World position Field Y# ;Y World position Field rotation ;Current rotation of sprite Field velocity# ;Sprite velocity End Type
And here is the entire code pieced together and using temporary objects as placeholders so that you can immediately run it to see how it works.
| Keys used in this example: | |||
|
| If you've reached this page and there's no index on the left, Click here to show the Index Page | |