Gravity Game Javascript Source Code
This program will teach you on how to create a gravity game using HTML 5 and javascript. To add this functionality to our component constructor, first add a gravity property, which sets the current gravity. Then add a gravitySpeed property, which increases everytime we update the frame.
Instructions:
1. Download the source code.
2. Extract the compressed folder.
3. Open the index.html in any browser
Note:
This is just a simple program any updates or constructive criticism will be accepted.
Download link: