# Using "set mirrored" with Spriter ojects

Get help using Construct 2

### » Wed Dec 18, 2013 5:29 pm

bullet angle of motion is between 90 and 270 flip on x-axis?
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

### » Wed Dec 18, 2013 5:46 pm

It doesn't seem like it will allow "between" in the values slot for compare bullet angle of motion or is there a way to type it in?
B
20
S
4
Posts: 382
Reputation: 2,974

### » Wed Dec 18, 2013 11:46 pm

two conditionsi nthe event would do the trick (though there might be a better way)

Is bullet angle of motion greater or equal to 90
Is bulette angle of motion less or equal to 270

Action= flip (The Spriter way of course ;) )

B
49
S
9
G
4
Posts: 425
Reputation: 7,037

### » Thu Dec 19, 2013 3:52 am

@Brashmonkey, I did that and they still don't flip. Here's what my event sheet is looking like:

Any ideas what I'm doing wrong? Sorry to bother you, I know you guys are busy! Thanks, Morgan.PSI2013-12-19 03:54:29
B
20
S
4
Posts: 382
Reputation: 2,974

### » Thu Dec 19, 2013 7:59 am

"for each" of them will likely fix it. Meaning put for each Walker Spriter object at the top of that event.
B
49
S
9
G
4
Posts: 425
Reputation: 7,037

### » Thu Dec 19, 2013 4:09 pm

@Brashmonkey, I added "for each" and they still won't flip.

I notice that whatever I put under that first set of angles, the > 90 and < 270 angle will happen at the beginning of the layout and it will stay that way. It's as if the system is reading that movement is always between those angles. Not sure if that's a hint as to what the problem is or not.
B
20
S
4
Posts: 382
Reputation: 2,974

### » Thu Dec 19, 2013 5:00 pm

can you email me your capx?
([email protected])

If its huge, please host it via something like dropbox and just send a link.

Thanks,
Mike
B
49
S
9
G
4
Posts: 425
Reputation: 7,037

### » Thu Dec 19, 2013 5:03 pm

I also noticed your events ignore the actual angles of 90 and 270... if the spriter objects angle of movement is 90 or 270, then nothing will happen....
B
49
S
9
G
4
Posts: 425
Reputation: 7,037

### » Thu Dec 19, 2013 5:54 pm

I've included and excluded those angles and it doesn't change anything. I am sending you the link to the capx. I appreciate your help and love Spriter!
B
20
S
4
Posts: 382
Reputation: 2,974

### » Thu Dec 19, 2013 6:42 pm

It's impossible for a number to be less than 90 and more than 270 at the same time. That's where the issue lies.

make the event an or statement and it will work.
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

PreviousNext