forums

TNT Basic Forums > Programming Q&A
Shooting Example
< Last Thread     Next Thread >
Author
Thread        Post A Reply

09-08-2003 22:21

Posted by:
eekaydee

Location:
CA, USA

Click Here to Email eekaydee   Find more posts by eekaydee

A while ago, I submitted an example to show how to keep track of projectiles, but it hasn't been put in the directory yet.
If anyone is interested, it is hosted by AsondSoft and can be found here: http://TNTbasic_files.site.voila.fr/.

09-09-2003 20:56

Posted by:
Stephen Lund

Location:
Michigan USA

Click Here to Email Stephen Lund   Find more posts by Stephen Lund

COOL PROGRAMS

09-21-2003 00:26

Posted by:
Mark Tully

Location:
TNT HQ, England

Click Here to Email Mark Tully   Find more posts by Mark Tully

I'll be updating the directory more often now so please make sure you subit all your examples.

Cheers,

Mark

09-27-2003 15:22

Posted by:
EvolPenguin

Location:
Chicago

Click Here to Email EvolPenguin   Find more posts by EvolPenguin

I am using part of your shooting example and I cant get collisions. My code is:

if 66 = sprite col (gShotSprite,66)
sprite off 66
end if

or:

if sprite col (gShotSprite,66) = 66
sprite off 66
end if

66 is the zombe id. It doesn't work. Do you know what to do?

09-27-2003 15:34

Posted by:
EvolPenguin

Location:
Chicago

Click Here to Email EvolPenguin   Find more posts by EvolPenguin

never mind. I got it now. The problem was that I would draw the sprite again at the end but I added a hitsprite = true and if hitsprite = false then draw the sprite at the end.
Alex

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.