hi everyone,
i saw few days ago a video ad on Facebook about a Pool Game and I started thinking how the spinning animation of the half colored ball could be done in b4i using a 2d game engine (or poor code in my case)
so i started a thread asking a little bit about 3d animation. you can watch it here:
this is what i have until now. i really like the results (remember it is just the beginning)
[There is a newer video on post #7)
NOTE the white ball sometimes stuck on the hole, this is because i create a random force on the ball so it may be stuck. in the finished game, you can set the hitting point + force on the white ball. this is JUST a demonstration. it is not perfect but it is a start!
let see how it will go. i can already notice that it is hard for the engine to draw each frame for each ball the correct sprite. i will need to google a little bit to find a better solution for the 3d spinning that i have right now. the most important part for me is the performance so i hope it will get better.
take care, ilan
EDIT: found a bug, performance is now better
i saw few days ago a video ad on Facebook about a Pool Game and I started thinking how the spinning animation of the half colored ball could be done in b4i using a 2d game engine (or poor code in my case)
so i started a thread asking a little bit about 3d animation. you can watch it here:
need advice for a 3d issue
hello everyone i came across a game ad on Facebook. It's a billiard game 2d but the balls that are rolling are somehow rolling in 3d so the half-colored ball and the number on it roll according to the hitting point of the white ball and that made me think how can i make such an animation. i...
www.b4x.com
this is what i have until now. i really like the results (remember it is just the beginning)
[There is a newer video on post #7)
NOTE the white ball sometimes stuck on the hole, this is because i create a random force on the ball so it may be stuck. in the finished game, you can set the hitting point + force on the white ball. this is JUST a demonstration. it is not perfect but it is a start!
let see how it will go. i can already notice that it is hard for the engine to draw each frame for each ball the correct sprite. i will need to google a little bit to find a better solution for the 3d spinning that i have right now. the most important part for me is the performance so i hope it will get better.
take care, ilan
EDIT: found a bug, performance is now better
Last edited: