How do I this mechanic

Get help using Construct 2

Post » Mon May 22, 2017 3:40 pm

Message: LeirSchiessl can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
(First of all, sorry for my bad English, I hope you understand me)

Guys I want to apply this way of moving, I'm trying with physics and rotate layout but I can not do it the same

https://www.youtube.com/watch?v=3JKTVh4KdBI

see min 1,41 he rotate the layout for moving ,anyone can explain me how do this or post exemple of this pls.
B
3
Posts: 4
Reputation: 183

Post » Mon May 22, 2017 10:50 pm

Rotate layout won't get you anywhere. All it will do is rotate the POV of the layout, but not affect the bounding box in anyway.
This can be completed with Physics, however.

I have two objects, a player object and a land object. Player object has collision mask as a circle, and land has its own bounding box.

(the tiny blip in the first image is where the origin needs to be.)
Image

Then, the event sheet takes the angle of Land and adds 1 to itself.

Image

If that doesn't work, then try putting them on separated layers.
B
7
S
1
G
2
Posts: 17
Reputation: 1,401

Post » Mon May 22, 2017 11:27 pm

it´s imposible rotate all objets of the map at the same time?
B
3
Posts: 4
Reputation: 183

Post » Mon May 22, 2017 11:36 pm

Its entirely possible. Every object you want to move with the land, will need to be pinned to the parent object (the object that is rotating, i.e. Land object.) using the Pin behavior.

Image
B
7
S
1
G
2
Posts: 17
Reputation: 1,401

Post » Wed May 24, 2017 11:28 am

thx so much bro , now i can continue with my proyect rly thx bro!!
B
3
Posts: 4
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: David181, jorgmaquoi, SignalOne and 21 guests