How do I make a shoot power?

Just started using Construct 2? Post your questions here

Post » Thu Feb 18, 2016 7:31 pm

Hi people,

Is posible Construct2 make a strength bar/power shoot as Gradius videogame?? I'm doing in my spare time a shooter game and is fun for me but...this shoot I do not know how to do it... :(

For example I press/hold the shoot key a few seconds and when I stop pressing key the shoot is more powerful.

any ideas? or similar capx?

Thanks very much
B
10
S
1
Posts: 45
Reputation: 804

Post » Thu Feb 18, 2016 8:28 pm

Capx: https://www.dropbox.com/s/whitqb9ws2auz ... .capx?dl=0

I've made this quickly because I have to leave right now but I think it's what you are looking for.
B
56
S
21
G
3
Posts: 602
Reputation: 6,612

Post » Thu Feb 18, 2016 8:43 pm

Thank you for your time kossglobal!
B
10
S
1
Posts: 45
Reputation: 804

Post » Thu Feb 18, 2016 9:30 pm

This effect is great kossglobal, it s similar what I wanted to do,
Sorry, but Is it possible to just shoot until the bar reaches the limit ? Only when the red bar reaches the limit , if not so do not shoot any projectile.

Thanks again
B
10
S
1
Posts: 45
Reputation: 804

Post » Thu Feb 18, 2016 10:23 pm

@senecaa
I'm not at home but you Just need to verify if the shotpower is equal to the shotmaxpower value in the condition where you spawn the bullet
Edit: do not verify if Its equal, use greater Or equal otherwise Will never be true
Last edited by kossglobal on Thu Feb 18, 2016 11:41 pm, edited 1 time in total.
B
56
S
21
G
3
Posts: 602
Reputation: 6,612

Post » Thu Feb 18, 2016 10:49 pm

Ok I understand,

Thank you a lot kossglobal
B
10
S
1
Posts: 45
Reputation: 804


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests