Picking up Objects

Get help using Construct 2

Post » Sun Feb 12, 2012 7:54 pm

@ChrisRobs,

Thanks a bunch, this will give me a lot to play around with.
B
4
Posts: 17
Reputation: 434

Post » Sun Feb 12, 2012 8:25 pm

[QUOTE=janajost] @ChrisRobs,

Thanks a bunch, this will give me a lot to play around with. [/QUOTE]
---------------------------------------------

As the example shows, you are better sticking with the 'platform behaviour' for a platform type character(physics is a not ideal)

Mixing the behaviours on a object will result in problems.
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Sun Feb 12, 2012 9:38 pm

Idd, I thought using animation wouldn't work out allright but it did. Just one quick question though, how did you figure out the positon Player.Y-60 for the object to be created there?
B
4
Posts: 17
Reputation: 434

Post » Sun Feb 12, 2012 11:06 pm

[QUOTE=janajost] Idd, I thought using animation wouldn't work out allright but it did. Just one quick question though, how did you figure out the positon Player.Y-60 for the object to be created there?[/QUOTE]
-------------------------------------------

Its the difference between 'Marios' image point, and the 'Box' image point.
If Mario is 100px high, and the box is 100px and both have centered image points, you would use player.Y-100...I think?


B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Mon Feb 13, 2012 9:53 am

Yes thats it, just the number of pixels on the Y ax relative to the player. Thanks !
B
4
Posts: 17
Reputation: 434

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests