+ 3
SOLVED: How can I make this game harder?
EDIT: I did it! itās taller and more difficult. It increases the gravity every 50 points until 350 points. iāve tried making it so that instead of resetting the speed to 25 every time you tap, it just slows it down some. but then as time passed with the window open (and the ball idle on the ground) it eventually became impossible to get the ball in the air. iām not sure i fully understand the code bit that adds gravity. https://code.sololearn.com/WePJvgLzw3lY/?ref=app
11 Answers
+ 6
You could do maybe this:
https://code.sololearn.com/WE23zLJcPCep/?ref=app
+ 4
Chris Coder increasing gravity as score increases is a good idea, thanks.
JaScript thats rad, although probably a bit beyond my experience at this point.
+ 3
The difficulty in my game Chris Coder is to balance between the floor and the ceiling. Above and below the score is lost. And that is not so easy.
+ 2
Maybe you could make the ball move diagonally and the user has to touch it to keep it up.
+ 2
You have the screen touch function, just needs to be limited to the size and location of the ball.
+ 2
Brendan How about increase the gravity the higher your score? Then make the ball vanish and appear at higher scores. Make the ball get bigger or smaller. Etc
+ 2
Chris Coder Try it now!!! It gets harder every 50 points (until like 350)
+ 1
Chris Coder congratulations.
0
Ausgrindtube: i thought about having to touch the ball but i have no idea how i would code that. thanks for the suggestion!
JaScript: nice, i think i could figure this out easily. thanks!
0
JaScript You made it even easier. Now all you have to do is tap anywhere on the screen and the ball stays up.
0
JaScript Just got up to 1k was very easy. Only stopped because I didn't want to waste anymore time with it.