Mirroring to an object possible?

Get help using Construct 2

Post » Sat Nov 10, 2012 1:31 am

[QUOTE=ramones] When you click to the left of the player, set the player mirrored. When you click to the right, set not mirrored.[/QUOTE]

Where can I find this? I've been searching for that my whole evening.
B
2
Posts: 9
Reputation: 343

Post » Sat Nov 10, 2012 4:50 am

I haven't downloaded the capx so I'm going by what I see in comments

- On Left Button Clicked
- Mouse.X < Sprite.X
-> Set Sprite mirrored (look in the speites actions to find this.)

-On Left Button Clicked
- Mouse.X > Sprite.X
-> Set Sprite not-mirrored
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Sat Nov 10, 2012 9:58 am

[QUOTE=EncryptedCow] I haven't downloaded the capx so I'm going by what I see in comments

- On Left Button Clicked
- Mouse.X < Sprite.X
-> Set Sprite mirrored (look in the speites actions to find this.)

-On Left Button Clicked
- Mouse.X > Sprite.X
-> Set Sprite not-mirrored[/QUOTE]

Im sorry, Ive tried but I have no idea what youre trying to tell me here.

bump
B
2
Posts: 9
Reputation: 343

Post » Sat Nov 10, 2012 12:58 pm

1. Add Mouse behavior to game
2. Create a new event by double clicking in the event sheet
3. Double click mouse and selecet "On Click" with the green arrow
4. Choose which settings you want
5. Right click your new event and select add new trigger or something like that
6. Double click the sprite in this GUI and find "Compare X"
7. Choose Less Than, and then do Mouse.X
8. To the right of your event there should be some small grey text that says somethin all the lines of add new event with a plus sign
9. In this GUI, select your sprite and find "Set mirrored" choose not mirrored
10. Repeat this with a NEW event (right click > Add new event) but change less than to greather than, and change not mirrored to mirrored

Let me know if anything here is wrong, just woke up and am going off tentop of my head.
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Sat Nov 10, 2012 1:19 pm

B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Sat Nov 10, 2012 1:26 pm

Or do that. Thats cool too.
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Sat Nov 10, 2012 2:48 pm

I would like to thank you both SO much! this is exactly what I needed.

If you would like to consider joining me making this game you can join my forums, Im not sure if I can post links so private message me if youre interested.

Once again, thanks so much!
B
2
Posts: 9
Reputation: 343

Post » Sat Nov 10, 2012 10:08 pm

[QUOTE=EncryptedCow] Or do that. Thats cool too. [/QUOTE]

Check your youtube inbox please, I cant pm you on here.
B
2
Posts: 9
Reputation: 343

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests