Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding physics
#1
Hello dear users.

im having trouble in making my game (its doodle jump witch i wrote with pygame) more naturally. 
im using the positions of my pictures to make the character jump and... ill be happy if you guys can help me with adding some physycs to it. thank you
Quote
#2
We won't program for you.
Send a snippet of the code that is giving you trouble,
and a full traceback of any error
we will be glad to help with a specific problem
Quote
#3
its not an error. i do not have any idea how to make it more natural. i was hoping if some on can name a library or some codes that i can go and learn.
Quote
#4
What's not looking natural? You say the game is named Doodle Jump. Are the jumps not looking natural? Are your jumps parabolas?
Craig "Ichabod" O'Brien - xenomind.com
Buddhist, biker, poet, coder, theist
Recommended Tutorials: BBCode, functions, classes, text adventures

Quote
#5
yes. the jumps. its not like its jumping, its like its flying up an then coming down. i want a way to make the jumps more naturally
Quote
#6
how could we possibly tell without seeing your code?

https://github.com/Mekire/pygame-samples...latforming

each one is an example (PS you need the png images in the same directory downloaded). Check out fall_rect.py for basic, and fall_mask for better. You can check out the physics in each.
*Describe the environment in which it occurs.                                    *Describe the symptoms of your problem clearly.
*Describe the research you did to try and understand the problem.      *Describe the goal, not the step. 
*Use meaningful, specific subject headers                                          *Write in clear, grammatical, correctly-spelled language
*Describe the problem's symptoms, not your guesses                         *Describe your problem's symptoms in chronological order
*Describe the diagnostic steps you took to try and pin down the problem yourself.
*Describe any possibly relevant recent changes in your computer or software configuration. 
*Provide a way to reproduce the problem in a controlled environment.
Quote
#7
I am not really sure what you are asking,but I think what you want to say is' how do I make my character jump instead of just drawing one at the ground and one at the sky to make it look like it is jumping?'

If that is true,
My advice for you is to learn
1)game loop
2)FPS
3)time Delta
4)time/clock/timing

Note:I am still a beginner ,so I am not really good yet,but I am quite sure this will help you.
Hope it will,does it?
Quote
#8
You do realize that you are answering a post from December of last year don't you?
Quote
#9
sorry,i dint see the date.
i answered it because it is one of the first few post from the top(thought it is a new one).
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)