[Feature request] Set Mirrored property in editor

Discussion and feedback on Construct 2

Post » Mon Aug 29, 2016 1:22 pm

Just a quality of life thing. We have two options for mirroring sprites right now; set in events or make another sprite object that's mirrored. If you're using tilable sprite objects for your levels then it's a drag to pick by UID and mirror in events, and the second option is kinda wasteful.
B
39
S
16
G
6
Posts: 543
Reputation: 7,619

Post » Mon Aug 29, 2016 1:31 pm

@ErekT - I see your point. +1

But there is a way though, you can just set your sprite's width to negative. For example Width: -150 , Height: 100
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,862

Post » Mon Aug 29, 2016 1:47 pm

Nah, I tried it. It works in the editor but during runtime they get flipped right back :(
B
39
S
16
G
6
Posts: 543
Reputation: 7,619

Post » Mon Aug 29, 2016 2:30 pm

@ErekT - It won't get flipped back if no events makes it to do so. Look at your events and see if you set it to mirror or....
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,862

Post » Mon Aug 29, 2016 2:56 pm

You're right, cheers :D
B
39
S
16
G
6
Posts: 543
Reputation: 7,619

Post » Mon Aug 29, 2016 3:23 pm

@ErekT
You can also test my C2 remplacement routine with Glsl called mirror
parameters State=0 notmirrored 1=mirrored ; it using flip screen in glsl;
With this little function you can see sprite mirrored or not on editor.
http://gigatron3k.free.fr/html5/C2/mirror.rar

Regards
B
66
S
24
G
29
Posts: 823
Reputation: 22,644

Post » Tue Aug 30, 2016 9:22 am

@Gigatron
Very cool, I might just use that. Thanks :)
B
39
S
16
G
6
Posts: 543
Reputation: 7,619


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests