How do I switch path for bullet?

Get help using Construct 2

Post » Sat May 30, 2015 8:22 pm

Hello to all

Im working on a retro game like the olds game & watch series.

i have done the graphics, and now its time to do the dev, how i cant tell to my bullets to follow the differents paths?
the bullets just switch between fixed positions (red dots) but at some point the falling bullets, can switch to 2 paths
i have 5 differents paths, and 4 targets
here its the picture Image

can someone help??
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Sat May 30, 2015 8:39 pm

It should be as easy as using the choose() expression at the right place, but without knowing how you have your events set up untill now telling you where the right place is is pretty hard..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat May 30, 2015 9:03 pm

actually this is my expression
Image

but when all the red dot are destroyed my blue sprite, goes to the 0,0 oordinates (left top) of the screen how to tell to the red dots, when is no more red dots, to be re-created at the same place?
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Sat May 30, 2015 10:17 pm

no one?
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Sat May 30, 2015 10:28 pm

on player is overlapping path(X) -> move to path(X+1)

X is the IID
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Sun May 31, 2015 12:24 am

looks complicated to put in place, how also to switch ways?
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Sun May 31, 2015 12:31 am

may be using choose() expression and IID of path object
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816


Return to How do I....?

Who is online

Users browsing this forum: tarek2, wenwen11212016 and 8 guests