gambas-source-code/app/examples/Games/DeepSpace/doc/howto.txt
Benoît Minisini c6a9cd69c2 [EXAMPLES]
* NEW: Add examples again. I hope correctly this time.


git-svn-id: svn://localhost/gambas/trunk@6726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-12 19:58:52 +00:00

16 lines
517 B
Text

HOWTO make objects float around the screen
set the Torque property of a CObject which will determine its
spin. and then set its motion path, which is defined by its
MX and MY properties.
HOWTO make objects fire
this is useful only if you plan to write bot ai.
you can use the Attack property to tell an object to release a
bullet. One bullet will be released every cycle of the mainloop
so make sure you set Attack to false or you will get auto fire
like the ship has.