Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question for Scroller Team #38

Open
willnance opened this issue Apr 25, 2013 · 1 comment
Open

Question for Scroller Team #38

willnance opened this issue Apr 25, 2013 · 1 comment

Comments

@willnance
Copy link
Contributor

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.

@scotchval
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants