PDA

View Full Version : how can I draw black circle ????



programmer
05-01-2005, 08:28 PM
Hi...

Iam making a shooter game by GlScene library for delphi7

I used GlfreeForm for my map (3ds)

my problem is :

how can I draw black circle in the place that the bullets collision with (GlfreeForm) , or draw black circle in the place that mouse down on it ?


thanks ...

fire.tiger
13-10-2006, 09:39 AM
Hi...

Iam making a shooter game by GlScene library for delphi7

I used GlfreeForm for my map (3ds)

my problem is :

how can I draw black circle in the place that the bullets collision with (GlfreeForm) , or draw black circle in the place that mouse down on it ?


thanks ...

this is not trivial problem. If you using 3DS object in glfreeform.
first, look at the GLScene Demos / to Colission folder..you'll find there
how to find position on object when you're moving on it, then you will need
to prepare texture on your glfreeform, using S and T mapping coordinates.
or better way in glfreeform texture property...after this you can do
do something like black circles when you shoot in your game