TrickShot
CONTROLS (Keyboard)
Up Down Left Right (Arrow Keys)
Spacebar
STEPS (Spacebar to get to the next step)
1. Use arrow keys to place the cursor on the ball where you want to apply the force
2. Use arrow keys to select the direction of the force
3. Press spacebar to choose the magnitude of the force
GOAL
Reach the red area or red object in each level
TIPS
Use a spinning shot to curve the trajectory, thank to the Magnus effect. This will help you avoid obstacles
This is a very serious simulator to do some very serious trick shots.
TRIVIA
Written in C using SDL3 (Simple DirectMedia Layer) for graphics and compiled with Emscripten.
Implemented physics equations for motion of objects, for the projectile 4 forces are applied once the projectile is launched (gravity, buoyancy, drag, Magnus force which is spin related). For the equations of motion, classic Runge-Kutta method with 4 points is used.
The game view is a small set of 3D space computations and some projective geometry stuff to know where and how objects on screen.
Every asset is drawn by the developer (which is me, I am the developer).
Did not finish in time but at least there is a somewhat playable loop. Have fun doing some shots!
| Updated | 1 day ago |
| Published | 2 days ago |
| Status | Prototype |
| Platforms | HTML5 |
| Author | QueenAlicorn |
| Genre | Simulation |
| Made with | SDL |
| Tags | No AI, Physics, veryseriousjuniperdevgamejam |
| Average session | A few minutes |
| Inputs | Keyboard |
| Content | No generative AI was used |

Leave a comment
Log in with itch.io to leave a comment.