Creating plain objects? That's not too hard... It's like this:
just replace the words in caps with your own values...
make object plain OBJECTNUM, WIDTH, HEIGHT
texture object OBJECTNUM (same as plain object), IMAGENUM
then, use the following command to position the plain texture on the screen.
`Locked on 2D object positioning by Thomas Christ
Function ObjectPos(Object,X,Y)
Width = Screen Width()/2
Height = Screen Height()/2
Z# = Screen Height()*0.83
Position Object Object,(X-Width),(Height-Y),Z#
EndFunction
So in the end, the code would look something like this:
make object plain OBJECTNUM, WIDTH, HEIGHT
texture object OBJECTNUM (same as plain object), IMAGENUM
ObjectPos(OBJECTNUM, SCREENPOSITIONX, SCREENPOSITIONY)
Function ObjectPos(Object,X,Y)
Width = Screen Width()/2
Height = Screen Height()/2
Z# = Screen Height()*0.83
Position Object Object,(X-Width),(Height-Y),Z#
EndFunction
I got this from DarkGUY's website:
http://darkguy.redgaming.net/
Using the method described above and looking at DarkGUY's website, you can learn how to make lens flares as well!
Good luck!
Cheers,
Metrion
If practice makes perfect and nobody is perfect, then why practice?