Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Flash at end of gun

Author
Message
Flamertor
14
Years of Service
User Offline
Joined: 12th Oct 2011
Location:
Posted: 23rd Jun 2012 17:37
Hi im trying to make when you shoot a sprite appear at the end of the gun but it appaers over the top of the gun. So i treid sending it to the back and it goes behind every 3d item. Please help! any will be much appratcied

P.S. Sorry for the spelling

Go to my website http://imthegamerunner.moonfruit.com
Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 23rd Jun 2012 17:47
you can't use sprites for something like that. sprites are only good for hud or windows. For fire or smoke decals you'll have to use plains and glue them to the gun and offset properly

Flamertor
14
Years of Service
User Offline
Joined: 12th Oct 2011
Location:
Posted: 23rd Jun 2012 23:06
so how would you go around doing something like that

Go to my website http://imthegamerunner.moonfruit.com
Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 23rd Jun 2012 23:17
you will have to make a plane, use some kind of "fire" texture on it in PNG or BMP format. then set on it 2 effects:
ghost object on and set object transparency.

make the plain look on the camera with the command point object.

this should be all you need to make it happen.

good luck.

Advanced Updater for your games!
Flamertor
14
Years of Service
User Offline
Joined: 12th Oct 2011
Location:
Posted: 23rd Jun 2012 23:32
Thanks i will try tommrow I'll tell you asap if it didn't work. Best of luck to you too

Go to my website http://imthegamerunner.moonfruit.com
Flamertor
14
Years of Service
User Offline
Joined: 12th Oct 2011
Location:
Posted: 25th Jun 2012 20:15
It works amzingly well. Thanks so much

Go to my website http://imthegamerunner.moonfruit.com

Login to post a reply

Server time is: 2026-07-08 01:56:38
Your offset time is: 2026-07-08 01:56:38