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 / A gun backfire...?

Author
Message
Squids Revenge
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: Washington
Posted: 26th Jun 2005 08:32 Edited at: 27th Jun 2005 11:42
How do you make a backfire effect in DB?
Thanks,
Squids.
Edit: Hel-oe-oe-oe-oe-oe-oe-oe-oe-oe-oe-oe-oe-oe...anyone...?


Ummm... Hi....... What do you want me to say?

CornStalks
21
Years of Service
User Offline
Joined: 12th Feb 2004
Location: Utah
Posted: 27th Jun 2005 09:42
What do you mean backfire effect?
RiiDii
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 27th Jun 2005 10:40
Do you mean flash out of the barrel? Do you mean kick-back? What?

"Droids don't rip your arms off when they lose." -H. Solo
REALITY II
Mr Underhill
22
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: The Forgotten Worlds...
Posted: 27th Jun 2005 10:51 Edited at: 27th Jun 2005 10:52
Squid, could you give us a sample of your code, please?

I pity the fool who thinks 1337 is cool!

Squids Revenge
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: Washington
Posted: 27th Jun 2005 11:39 Edited at: 27th Jun 2005 11:42
Quote: " What do you mean backfire effect?"

A kickback.
Quote: " Do you mean flash out of the barrel? Do you mean kick-back? What?"

Kickback.
Quote: " Squid, could you give us a sample of your code, please?"

Ok.



Ummm... Hi....... What do you want me to say?

CornStalks
21
Years of Service
User Offline
Joined: 12th Feb 2004
Location: Utah
Posted: 27th Jun 2005 11:49
Sorry, I'm still not clear. Be very specific. Like do you want the camera to shake? Do you want the player to be foreced backwards? Do you want your aiming to decrease? Or would you like your aimer to kick up when you shoot? Once we know the details, it will be easier to help. Right know, your question has hundreds of answers.
Squids Revenge
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: Washington
Posted: 27th Jun 2005 11:51
When you click the gun should pull backwards and then push forward again.


Ummm... Hi....... What do you want me to say?

CornStalks
21
Years of Service
User Offline
Joined: 12th Feb 2004
Location: Utah
Posted: 27th Jun 2005 12:24
Well, if you want it a really quick kick back, you could do this:


If you want it to be a quick kick back, but a little bit slower to bring the gun back forward, use something along the lines of this:



Forigive me if my code sucks. I just severely burnt my thumb a couple hours ago, and so far most of my brain is focusing on the non-stop pain. It's a little mother burn...hurts like....yeah
Squids Revenge
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: Washington
Posted: 27th Jun 2005 15:01
Thanks.
Thats what I meant.


Ummm... Hi....... What do you want me to say?

Login to post a reply

Server time is: 2025-05-29 05:31:10
Your offset time is: 2025-05-29 05:31:10