Multiple bullets

For questions about using Classic.

Post » Tue Jan 29, 2008 9:14 pm

Hi, I'm wanting to make ny player fire more than one bullet when I hold down the shoot button like a machine gun.
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Tue Jan 29, 2008 9:34 pm

Ok here is an example...
[url:3ujo02vo]http://chomikuj.pl/doppelek/shoopdawhoop.cap[/url:3ujo02vo]

ShoopDaWhoop-PedoBear! XD
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Tue Jan 29, 2008 9:56 pm

Is there any way too slow down the rate of fire because right now its a constant stream of bullets.
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Tue Jan 29, 2008 10:14 pm

Of course!! Just add another event to the old event:
+Every x milliseconds (x just change to any value you want, more the x value is then more delay between bullets)
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Tue Jan 29, 2008 10:54 pm

Then he just fire bullets even when I'm not holding down shoot button
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Tue Jan 29, 2008 10:56 pm

[quote="Doppel":2d7rh26j]Of course!! Just add another event to the old event:
+Every x milliseconds (x just change to any value you want, more the x value is then more delay between bullets)[/quote:2d7rh26j]

Read my lips, ok?
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Tue Jan 29, 2008 11:00 pm

Thats not helping.
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Tue Jan 29, 2008 11:04 pm

Ok translating for newbies:
Before:


And how it should be:


Edit: How about now?
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Tue Jan 29, 2008 11:07 pm

Images don't work.
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Wed Jan 30, 2008 12:56 am

LOL at this thread...

[quote="Casho":v6ngxqjr]Thats not helping.[/quote:v6ngxqjr]

Then you should probably read it again, and pay special attention to the bold words. The trick is to add the second condition to the event, not just replace the old one with the new one.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests