Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - deivkk

Pages: 1
Ask a Question / Re: Pushing objects in a top-down game
« on: March 10, 2014, 07:46:55 am »

I understood you were moving the actors by changing its coordinates and not its x/y speed. Totally clear now, the snippet looks very nice, I'll post the result after testing it.


Ask a Question / Re: Pushing objects in a top-down game
« on: March 10, 2014, 07:11:13 am »
I also thought on this, but moving an actor by changing its x and y coordinates doesn't detect collisions with tiles...

Ask a Question / Re: Pushing objects in a top-down game
« on: March 10, 2014, 04:12:31 am »
Thanks Tuo!

By using the collision events I'm able to detect who pushed what and from where. Actually I'm stuck trying to move the pushed object afterwards.

The problem is that if I set the block object as "Cannot Move" then whatever change on x/y speed simply doesn't work, neither using forces. And if I set the block object as "Normal" then I can't control physics. Is there any workaround here?

Ask a Question / Pushing objects in a top-down game
« on: March 09, 2014, 04:09:10 am »

I'm working on a top-down (like Dungeons in samples, where an actor needs to push blocks to find the way to exit the maze.  These blocks only can be pushed by some kind of actors and also depends on the side from where the block is being pushed.

I was thinking on doing all these behaviours by my own since I really don't need all the physics features, so I set the block actor as "Cannot Move".  With the collision events I'm perfectly able to detect who pushes what and from where. The problem is that I can't use the Force or Velocity actions from Motion category for the block actor. The only movement I can actually do is by changing the x and y value, which makes the block not detect any other collision while moving. If I set the block actor type to "Normal" then I have no control over the force and direction of the collision and hence the resulting movement of the block. Playing with different values for the heaviness of the actors don't work either. An actor with a heaviness of 1 kg is perfectly able to push an object of 1000kg.

Please I need your help.


Extensions / Re: New Virtual Joysticks Extension
« on: March 03, 2014, 03:40:09 am »
I'm very interested in this extension. Where could I get it from?

Pages: 1