One object creation at a time? Single bullet at a time?

For questions about using Classic.

Post » Wed Dec 16, 2009 10:22 am

[quote="Mipey":2m39b117]When you press a button, it actually stays pressed for several ticks before it is released, no matter how lightly you tap it. In that case you want to add Trigger Once after the MouseKeyboard: On key C pressed.[/quote:2m39b117]

Not quite. On Key Pressed already only triggers once. I think you're thinking of Key Down.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Dec 16, 2009 10:24 am

You don't even need any variables. Just add a 'Compare values' system condition to the event that fires a bullet: Bullet.Count = 0. Then you can only shoot when there are no bullets. Simple!
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Wed Dec 16, 2009 11:17 am

Ah! Damnit Ashley, again! @_@ How is it you ALWAYS have so much more knowledge than everyone else? Even in a thread of like, 3 or 4 people discussing my little problem, NO ONE mentioned that! That's awesome. ^_^ Thanks.
B
4
S
2
G
4
Posts: 164
Reputation: 1,878

Post » Wed Dec 16, 2009 11:34 am

I did, like, write the runtime :P
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests