Ball in basket
![afrogames](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I am new here and want to make a basketball game. I want to start small and build it up as I go and the first thing I am wondering is how do I get the ball looking like its going in the hoop? Any help would be appreciated.
Answers
Jamie
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
So... if ball overlaps or collides with "Hidden Net Sensor"
Then... game.Net Animate = True
...and another bunch of rules...
...if ball direction is 260-280 degrees... game.Ball Animation = X
...if ball direction is 220-259 degrees... game.Ball Animation = Y
...if ball direction is 281-320 degrees... game.Ball Animation = Z
That data would then be read by the net actor... where it would change animations accordingly.
It's actually not a small thing. It involves math, rules, sharing data with multiple actors and animation. It's a challenging first project. It also depends on the perspective. Is the net viewed from the side... like NBA Jam or Konami's Double Dribble? Is it viewed head-on? That changes the logic and animations.