Inspite of having many projects listed here, many students were asking about bouncing ball project . With regards to that presenting you t...
Inspite of having many projects listed here, many students were asking about bouncing ball project. With regards to that presenting you the CG Mini Project on Flying Ball. This project is some what different from the bouncing ball because it the ball is not bouncing up down rather it stays in air due to fan. This project can help people in coding the bouncing ball on the same platform.
Mouse Interaction :
Right Click and Choose from the menu -
1. Flying ball - Take to the page with ball flying in air
2. Quit - Exit from the project
Learn How to add Front Page to your Project for better interaction.
Improvement in the Project - Well I like to say you can turn this as a game play. Add a timer which will start the game, so on clock tick to 0 player start accelerating the fan in air. For Every minute 10 key press to accelerate allowed to player. As ball fall down player finished the game. Calculate the score with the time the ball remain in air.
Video for the Project -
Download the full source code.
Features of the Flying Ball Project
- There are 3 components involved in this project - Ball, 4 bladed fan and the big net covering them.
- The big net is like funnel and is beautifully rise from the bottom to top covering both the ball and the fan.
- The fan is in the middle which mean to give air so ball can fly at the top.There is option to stop running the fan. As the fan stops the ball also stop spinning in the air.
- As describe in the previous Ceiling Fan CG Mini Projects, we have added the 4 different background for the front screen and more can added easily.
Keyboard Interactions:
Key | Action |
---|---|
1 | Default Front Screen |
2 | Front Screen - White |
3 | Front Screen - Brown |
4 | Front Screen - Green |
b | Flying Ball |
B | Stop Flying Ball |
q/Q | Exit Project |
Right Click and Choose from the menu -
1. Flying ball - Take to the page with ball flying in air
2. Quit - Exit from the project
Learn How to add Front Page to your Project for better interaction.
Improvement in the Project - Well I like to say you can turn this as a game play. Add a timer which will start the game, so on clock tick to 0 player start accelerating the fan in air. For Every minute 10 key press to accelerate allowed to player. As ball fall down player finished the game. Calculate the score with the time the ball remain in air.
Video for the Project -
Download the full source code.