push and pull objects
Redbanditking
Member Posts: 3
I have this platform type game im trying to make but im not understanding how to get the character to push and pull objects. Can anyone shed some light on this?
Comments
DeepBlueApps has a nice template for this.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Maybe I said this wrong but it's more of a sidescroll I believe it's called going left and right and able to push and pull boxes
Do you have tryed the GS Platform Template?
In it is all you need to turn your actor left and right...
dapion.de
[https://twitter.com/dapionde?]
@Redbanditking You could just make a collision for pushing and for pulling you could have a boolean so when a certain key is down make it true else then = false then check if it is true then have the actor (box) move to actor(players) X postion. You are going to have to constrain the actor(player) X positon to a integer or real attribute.
If you don't understand ,pm me.
@tpjacobson thanks appreciate it. Fairly new to gamesalad I will pm you if anything thanks again