Hey, i got a question regarding interactive boxes in a platformer environment.
The issue is simple; I want the player (platform behaviour)to push a box (static sprite with collision).
Do i need to alter the player character and everything with physics, or? Is there an easy way to achieve this? I'm thinking classic "push the crate" here.
if the crates have physics on em wouldnt the player bumpin into be enough to cause em to react?
Yeah i was thinking that, but then i might have to alter the ground, which has the solid behaviour. I would have to make it immovable etc, and i would have to redo the whole level to make all the assets fit with the physics attributes. At least thats what i think :P
I would also need to make the player related to physics behaviour, as the box has physics behaviours.
Im not really sure about anything here, but i keep on failing at least :)
Develop games in your browser. Powerful, performant & highly capable.
try using search for pushing boxes or something
a lot of examples
That's a cool idea, using the platform behaviour on the box. Here's a couple of examples I made (pushing only).
The easy way (kinda jumpy): platformPushCrate1.capx
Using pinned behaviour: platformPushCrate2.capx