You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking in the documentation and can't really find anything on this. . . Is there a way to turn off gravity? It seems like it's hardcoded, but I doubt you guys would actually hardcode gravity since there are tons of scroller type games that dont have gravity . .
Just looking for a point in the right direction on how to turn it off.
The text was updated successfully, but these errors were encountered:
Thanks for pointing this out. We had the forces acting in the Player superclass, but that does not make very much sense. They are now in the Mario class that extends Player. In the mario game, there is a single Gravity force that is found in Mario.java. There is also ForceBundle.java in the physics package of the Mario game that can be used to manage multiple types of forces. If you have any questions, just ask, but for physics, we expect the majority of the work to come from the game developer.
Hey guys,
Looking in the documentation and can't really find anything on this. . . Is there a way to turn off gravity? It seems like it's hardcoded, but I doubt you guys would actually hardcode gravity since there are tons of scroller type games that dont have gravity . .
Just looking for a point in the right direction on how to turn it off.
The text was updated successfully, but these errors were encountered: