This openGL project displays a simulation of the squash. It was a group project realized at my school
These instructions will make you run the project.
You need to be on a Windows environment and have Code::Blocks installed
Open the project by opening 'Projet_Support_CodeBlocks.cbp' in Code::Blocks, modify the value of variables SCREEN_WIDTH and SCREEN_HEIGHT to the dimensions of you computer screen and then run the project with the run button.
You can move the racket by mooving the mouse on the screen. Right-click to start the game.
- left/right arrow - rotate the camera from the center
- up/down arrow - move the camera forward backward
- maitining space + up/down arrow - rotate along the Y axis from the center
- maintain left click - charge the racket to apply a greater force to the ball on the next collision
- right click - cancel the charge
- 'd': apply a random impulse on the ball
- 'f' - (un)freeze time
- 'g'- slow down time
- 'h' - speed up time
- OpenGL
- SDL