planet scrolling platformer
Planet Scrolling Platformer: Newtonian Physics in 2D Space
This project implements a technically ambitious gravity simulation within a scrolling platformer framework. Rather than employing uniform downward force, every planetary body in each level exerts gravitational pull according to the inverse-square law, considering both mass and distance. The result is a dynamic orbital environment where trajectory is the sum of all nearby celestial influences.
Core Physics Architecture
The system leverages a specific Scratch engine capability: sprite-name blocks that accept variable inputs, enabling dynamic gravitational calculations. The wormhole exit point possesses zero mass and applies no gravitational force. Gravity operates continuously—even while standing on planetary surfaces, the player remains subject to the cumulative pull of all celestial bodies.
Specialized Controls & Navigation
- Planetary Movement: Right/Left arrows walk along curved surfaces; Up arrow jumps relative to local gravity orientation
- Space Navigation: No direct control—gravity dictates all motion
- Emergency Reset: Press R to restart current level
- Experimental Mode: All sprites fully draggable for physics testing and educational exploration
Hazard & Victory Conditions
The primary objective requires navigating to the green wormhole on the right side of each stage. Direct Sun contact is immediately fatal and must be avoided. Players who drift into space will experience gradual gravitational recapture within approximately 30 seconds; manual reset via R key provides immediate restart.
Design Philosophy & Accessibility
Every level has been rigorously tested and verified completable. The draggable sprite implementation serves dual purposes: enabling player experimentation with gravitational interactions and providing troubleshooting capabilities. This transparency transforms potential physics confusion into a learning opportunity about orbital mechanics.
Educational & Entertainment Value
Planet Scrolling Platformer occupies a unique intersection between game and interactive physics demonstration. It visualizes the principle that gravity is not a screen-wide constant but a sum of individual attractive forces. The curved walking mechanics authentically simulate traversal on spherical bodies. For players curious about orbital mechanics or seeking platformer challenges beyond traditional jump/run physics, this title offers substantive intellectual engagement.