How do I do different bullet patterns

Get help using Construct 2

Post » Thu Aug 13, 2015 6:22 am

Message: HuaHero can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi all,

I'm currently working on a bullet hell game i've been reading and searching a lot online for different bullet patterns in other games.

I need some help on some of the patterns which i have been trying to create but i can't seem to do it.

1) Bullet Movements - Is there a way where i can have the bullet behave this way? Travel X distance > Stop > Then travel again

[SOLVED]2) Bullet Bursts - Have a single bullet bursts into 50 bullets in all directions IE 360 degrees? Or do i have to create like 50 imagepoints on that 1 single bullet? But that doesn't seems to be the correct way to do this.

3) Have a sprite move along a straight line and have it spawn a row of 20 stationary bullets then after X seconds have the bullets travel and accelerate in X direction, X distance and X speed

4) How do i have a sprite to shoot bullet A 3 times > stop > shoot bullet B 2 times > stop > shoot bullet C 4 times > stop. Something like a script to tell my sprite on when to shoot, what to shoot, how to shoot.

I'm hope i'm clear on what i'm trying to explain here and i have attached a link before on what i meant be bullet bursts

http://www.youtube.com/watch?v=MW-ZX0dq8xs&t=3m54s
Last edited by HuaHero on Thu Aug 13, 2015 4:33 pm, edited 3 times in total.
B
11
S
2
Posts: 61
Reputation: 704

Post » Thu Aug 13, 2015 6:55 am

B
21
S
8
G
6
Posts: 177
Reputation: 8,134

Post » Thu Aug 13, 2015 7:15 am

Thanks a lot @mrcgkh

This really solved one of my problems.
B
11
S
2
Posts: 61
Reputation: 704

Post » Thu Aug 13, 2015 7:24 am

I added in one more question under number 4. Hope i can get some answers, can't wait to finish my game :D
B
11
S
2
Posts: 61
Reputation: 704

Post » Thu Aug 13, 2015 4:33 pm

bump for other solutions

point 2 is solved. Anyone?
B
11
S
2
Posts: 61
Reputation: 704

Post » Thu Aug 13, 2015 5:30 pm

1)
condition oncreated
wait x time
set speed 0
wait y time
set speed 100 (example)

3)
condition oncreated
wait x time
create object
wait x time
create object
wait x time
create object
etc.

below that make another action with set angle, speed etc.

4) dunno what do you mean
B
11
S
4
Posts: 53
Reputation: 1,148

Post » Thu Aug 13, 2015 6:14 pm

Hi @Human,

Thanks for the tips, will go try it out later.

For point 4 its something like timed scripted thing whereby for example i want a sprite to fire a rifle 4 times then switch to a shotgun and fire 4 times then finally switching to a crossbow and fire 4 times.
B
11
S
2
Posts: 61
Reputation: 704

Post » Thu Aug 13, 2015 6:51 pm

you can create instance variable that changes fired projectiles
1 is gun
2 is bomb
3 is laser
4... etc.

then use instance variable condition to choose which numbers summons what.

after each attack object makes the instance variable is changed (you can use random(1,4) so it shoots randomly)
B
11
S
4
Posts: 53
Reputation: 1,148

Post » Thu Aug 13, 2015 7:13 pm

@Human

Thanks for the advice, let me go test out all your solutions and i shall report back
B
11
S
2
Posts: 61
Reputation: 704

Post » Fri Aug 14, 2015 7:48 am

here is something that might give you a starting point

https://onedrive.live.com/redir?resid=1 ... ile%2ccapx

r211 beta

(no comments in code yet and very rough)
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Next

Return to How do I....?

Who is online

Users browsing this forum: Bing [Bot] and 4 guests