Doodle jump game accelerometer question, and platform question
Hey guys,
I'm making a game like Doodle jump, and i need help with the accelerometer.
I think everyone knows about Doodle Jump, so how do you think you would make the accelerometer work?
Also, about the platforms, in Doodle Jump you can just....Jump right through them, and then when you start falling, you are able to collide with them. Does anybody have any clue on how to do that?
Any help would be great guys, thanks!
I'm making a game like Doodle jump, and i need help with the accelerometer.
I think everyone knows about Doodle Jump, so how do you think you would make the accelerometer work?
Also, about the platforms, in Doodle Jump you can just....Jump right through them, and then when you start falling, you are able to collide with them. Does anybody have any clue on how to do that?
Any help would be great guys, thanks!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Comments
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Hmm.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
you need something to check if its above or below the platform. So what I would do is make a boolean game attribute well say jumpallowed.
And then a real Game attribute for the players y position if you don't already have one setup
You will have rule within a rule
When Overlap or Collide with Player
--Attribute self.Position.Y is > game.player.y
----Change attribute game.jumpallowed to false
--Otherwise
----Nothing
Otherwise
--Change attribute game.jumpallowed to true
Now in theory that will not change back to true until the player is all of the way through. and then in your jump rule require that game.jumpallowed be true along with your collide of the platform.
Its possible that wont work since I have not tested it my self but the logic makes sense. Oh and make sure you setup that change attribute to true in the otherwise of the outer rule not the rule inside
Good Luck