PLEASE HELP!!!!

Get help using Construct 2

Post » Tue Dec 01, 2015 8:38 pm

For some reason when we face left the characters breath will not go left.Here is our event sheet set up for this.

keyboard-space is down///////// character - spawn flame particles on layer 0
-character spawn breath on layer 0
-Breath Pin to character
- Flame pin to character

keyboard-space is realease////Flame Destroy
-Breath destroy
-Flame unpin
-Breath unpin

Breath on collision with enemy///////-enemy destroy

On left arrow pressed/////////Rotate flame -180 degrees
-Rotate Breath -180 degrees

On left arrow released//////////// Rotate flame 180 Degrees
-Rotate breath 180 degreees
B
2
Posts: 1
Reputation: 158

Post » Tue Dec 01, 2015 8:47 pm

@labombardn17
Please don't multi-post over different forum sections.

I've removed the copies.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
129
S
29
G
75
Posts: 5,145
Reputation: 53,195

Post » Tue Dec 01, 2015 9:26 pm

First of all I guess you dont want to spawn every tick the space-key is down..

So on space pressed would probably be better..

Second.. Unpinning after destroying isn't really nescessary..

Third on pressed triggers once setting it to 180
But on released triggers immediately when released, so you might not even see..

Not sure what event you use for mirriring/rotating your character, but why not use that event to mirror/rotate your breath/flame as well?
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


Return to How do I....?

Who is online

Users browsing this forum: alajajm, LaurenceBedford, pokka, robopunch and 13 guests