Advertisement

how do I get my sprite to move up and down once

Started by October 02, 2019 04:52 PM
75 comments, last by Tom Sloper 5 years, 1 month ago
1 hour ago, phil67rpg said:

I am getting no help on my code just a lot of negative feedback

Here is Prototypes solution (page 2):

Here is mine (page 3 - not using GLUT but easy for you to do so):

 

Both should work, but it was you who gave no feedback on this. Did you try? Did it work? 

(I had to zoom out a lot to see the jump working - you may need to tweak velocity and gravity until it behaves like you want.)

well besides jumping  is there anything else I can add to my game?

Advertisement
8 hours ago, AtomicWinter said:

Phil should get the 2019 troll award.

This.

 

Still no feedback - ist your jump working now or not?

And... well, you have a hard time learning programming, but you don't give up. Because you really want to create the game of your dreams. Fine.

And now you ask others what to add to this game?

sorry for being so tenacious but  I really want to a simple little indie rpg game.

That's the way this goes...

I think you should have a circle(sprite?) that bounces off the left and right edges of the screen and what you define as ground. After that, wire together a relationship between your sprite character and the circle thing. 

You know, throw a little Pong at it... it could be a side quest. PongRPG..could be a thing. 

Throwing stuff at my 'Hobby Game"

so should I do pong again?

Advertisement
3 hours ago, phil67rpg said:

well besides jumping  is there anything else I can add to my game?

YOU decide that, Phil. Thread closed.

-- Tom Sloper -- sloperama.com

This topic is closed to new replies.

Advertisement