Omnimaga
Calculator Community => Other Calculators => Topic started by: Eeems on September 19, 2009, 11:26:40 am
-
just some physics I was playing around with, the ball bounces!
and you can change the distance it has to fall by pressing the arrow keys, and 2nd resets it, and puts it at the top of the screen, and graph quits.
also it will quit after a while due to the fact that it records stuff to lists, so it has to keep from having the mem error
also, requires the pic and celtic III or xLib
-
cool D:
-
ok, new version, now the key presses are displayed better, and there is a path recall :D
all just eye-candy
-
That looks very nice! Really good for basic. We should figure out how Acyglobis did its physics and try to incorporate it into some massively awesome physics engine :P
Hmmm, shouldn't gravity be constant?
-
Very nice, altough I agree with Builderboy about gravity. Also why does the letter A displays sometimes in the first screenshot?
-
It looks like it might be some sort of indicator if the ball goes off the top of the screen.
-
yeah, what I meant by gravity there, it was kind of accelleration, the ball goes faster the farther it falls, then it completely switches when it bounces, then it goes back to zero at the peak, then it speeds up again...so I guess not really gravity, just more of pull?
-
Ah sweet, I did something like this except just with 1 pixel. I would have a variable as my speed. And I would add it to my X, Coordinate. So everytime the prgm looped, it would always do Y-.001->Y, then I would have Y+X->X. (as my speed and x as my X Coordinate.) and when the ball hits the ground (below a certain point) I'd have the speed turn into a positive. And the ball would keep bouncing untill it loses all speed. Lots of eye candy.
-
neat
-
This is so much fun to mess around with.
Well done.
-
Lol, thanks. It was fun to mess around with :p that's why I made it :)