Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => Topic started by: Ashbad on February 06, 2011, 01:43:10 pm
-
Last night, I was able to figure out how to have a 4x4 bouncy ball have ulitmately-accurate collision detection, realistic rolling around, rolling on ANY slope possible, and even how to apply the first two to a 3D environment. I'm thinking of writing a tutorial about how to do all of this, is anyone interested?
EDIT: Ti-8x platform with Axe 0.4.8
EDIT2: if you are interested, please post so or PM me, I don't wanna make a tutorial that nobody wants :P
-
I would love a tutorial about this. I did something like this before, but it only had the slope detection, and it used Pxl-Test, i wasn't memory-based collision.
-
This is somewhat both pixel testing and memory detection, because it's more efficient that way :D
good to see my good colleague Binder the Most Excellent wants it, and since he does I will make :)
-
And not for me? I wants! :)
-
I am exceedingly interested in this :) I tried to make a singularly pixel based method a while ago, but the results were not the best, and quite glitchy. In the end, I resulted in moving to tile based physics, with pixel test helping
http://ourl.ca/7764
I can't wait to see your tutorial if you want to write one! :D
-
lol okay I'll start right now :D
I plan on making 3 installments: each one telling how to do ball physics corresponding to my ball physics engine 1.0, 2.0, and then 3.0 (and maybe tell my theories on what will be in 3.1, like wind, weight, size, and properties of dealing with the ball while it's underwater)
I'll begin installment 1 now
-
Ohh. I get a title. :)
But yeah, I think I can see how you might do this. If it is a sloped tile, or one that requires pixel tests, then pixel test. Otherwise just test for "solidness". Hummm...
-
one way you can test for slopes easily and very fast is by checking only the sides of the ball that can possibly collide with a slope (like a slope on the left of a screen can't be touched by the ball's right side) and then check where you are -- are you inside the possible "touching areas" of the slope? If so, apply the slope's physics to the ball (it's more complicated than that, but that's it kinda in a nutshell :))
And yes, you get a complementary title Binder :D
-
can't wait :D
-
can't wait :D
that's quite flattering to hear from omnimaga's physics expert :)
-
This is going to be very cool. Will it include example programs? :D
-
hah well I've tried this myself and had little success, although that was in the realm of only pixel testing, I moved to memory access like you, but i remained limited. Either way this is one of the great physics challenges for me!
-
Last night, I was able to figure out how to have a 4x4 bouncy ball have ulitmately-accurate collision detection, realistic rolling around, rolling on ANY slope possible, and even how to apply the first two to a 3D environment. I'm thinking of writing a tutorial about how to do all of this, is anyone interested?
EDIT: Ti-8x platform with Axe 0.4.8
EDIT2: if you are interested, please post so or PM me, I don't wanna make a tutorial that nobody wants :P
I want it, then I could change uPongs engine for something better AGAIN :D
-
And someone could make an Axe peggle clone ;)
-
And someone could make an Axe peggle clone ;)
Dooo it! O0
-
This is going to be very cool. Will it include example programs? :D
yes, tons and tons of examples! :D
And screenies and other pictures and the sort :)
and Builderboy: thanks for the ideas and the encouragement, I'll make it as realistic as possible :D
-
That would be a nice idea. I wonder if this could maybe eventually revive Supersonic Ball...
Just make sure to make it so it's also suitable for visual people, like Hot Dog's ASM tutorials.
-
This sounds interesting. Good luck.
-
How is this coming? I'm still really interested in reading this tutorial :D
-
Me too. This is something I need for my next game :D
-
This is going to be very cool. Will it include example programs? :D
yes, tons and tons of examples! :D
And screenies and other pictures and the sort :)
and Builderboy: thanks for the ideas and the encouragement, I'll make it as realistic as possible :D
He sounds so optimistic ;D I hope it goes really well ;D
-
I am clueless when it comes to physics :(
even if i red up on them... I hope ap physics will help.
-
While Physics classes do offer some insight to the way things work, I found that it really helped very little when actually coding the systems used to imitate the rules I learned :(