How can I push an actor from different angles causing different movement?
ElectricEmu
Member Posts: 6
Okay I'm trying to get an actor to move depending on where it is pushed from.
Example: If the player actor pushes the actor from the top or bottom the actor will continue to move as long as the player is pushing it.
But if the player actor pushes the actor from the left or right the actor will move on its own until it collides with another actor.
I hope this question made sense.
Thank you in advance.
Example: If the player actor pushes the actor from the top or bottom the actor will continue to move as long as the player is pushing it.
But if the player actor pushes the actor from the left or right the actor will move on its own until it collides with another actor.
I hope this question made sense.
Thank you in advance.
Best Answer
-
AppTaco Posts: 125Hey there, I just whipped together this template that might help you out. Let me know what you think. I made this really fast so there's probably a much simpler way to do this. I'm still new to gamesalad, so feedback is more than welcome.
https://www.dropbox.com/s/chob0uaeb386u8w/Push Blocks.zip
Answers
http://forums.gamesalad.com/discussion/59767/pushing-blocks-in-a-grid#latest
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
AppTaco LLC
http://www.apptacostudio.com/
https://www.facebook.com/apptacostudio
@PureEpicStudios Link is deleted. Can you reupload?
Can anyone help me out. I am trying to push blocks around in a grid. I have set up the grid, I can move around easily within the grid but when I push one block onto another block, both blocks start moving. What I want instead is to only push blocks when there are no other blocks behind the block so they get stuck if two blocks are together.