Lengkap

Opengl shooting game

I need C++ code in opengl where you need to shoot moving teapots using a canon.

Create and add a 3D cannon such that it aims forward from the viewer towards the far plane (Fig. 1). It is okay to show only the tip (firing end) of the cannon.

– The cannon can turn left and right, and up and down (yaw and pitch movements) like a real cannon. Theuser controls left-right rotation with right-left arrow keys, and up-down rotation with up-down arrowkeys. The rotation in either direction should be clamped to a certain range (say, 120 degrees) so thecannonball would stay within the view volume.

– The cannon should fire a cannonball (sphere) every time the user presses the space bar. The ball shouldfly in the direction of the current orientation of the cannon. Once the ball goes through any wall andthus no longer visible, delete it from the scene to avoid clogging the memory. Therefore, the system will store no more than a few (fired) balls at any given time.

– During the game, display text at the top of the screen that shows how many teapots are currently left(Fig. 1).

– When the cannonball hits one of the teapots (collision detection needed here), the hit teapot must immediatelydisappear from the scene (and so must this cannonball). The text must also be updated accordinglywith a new number (one less teapots left).

– When the last teapot is hit, the game is over and the text should be replaced with “Continue? (Y/N)”. If the user presses ‘y’, start the game over. If ‘n’, exit program.

– The background walls (all 5 of them) must be texture mapped, although Fig. 1 doesn’t show it. You can use any tileable texture image of your choice, but make sure the image file size is less then 1MB (with no bigger than 512  512 pixel resolution). Do not use multiple texture images.

– If the user presses ‘q’ at any time (even during the game), exit program.

– Every time the cannonball fires, rapidly push the cannon backwards a bit to simulate the action-reaction

effect. After this quick push back, the cannon should immediately come back to its original position

before it can fire a new ball (see [login to view URL]). Try to make this movement

as realistic as possible.

– Whenever a teapot is hit, the hit teapot must fly out of the scene in a random direction towards far plane(so the depth should increase) while randomly spinning. Once the teapot goes past the wall, remove itfrom the scene

Kemahiran: Pengaturcaraan C, Pengaturcaraan C++, OpenGL, Unity 3D

Lihat lagi: balloon shooting game in opengl, opengl source code for bow and arrow game, opengl shooting game source code, Design a logo with name G A I T A N O, Design a logo win name G A I T A N O, funny shooting game, starting opengl iphone game, cs3 script shooting game, opengl iphone game, creating shooting game delphi, opengl iphone game sample, opengl small game, delphi shooting game, java shooting game source, shooting game

Tentang Majikan:
( 2 ulasan ) St Louis, United States

ID Projek: #15753983

Dianugerahkan kepada:

vrcoder

Hi, I'm offering a well-structured C++ code for teapot shooting with detailed comments to explain OpenGL commands. Relevant Skills and Experience I've implemented many graphics-related coding projects on this site Lagi

$50 USD dalam 4 hari
(300 Ulasan)
7.4

9 pekerja bebas membida secara purata $144 untuk pekerjaan ini

$155 USD dalam 3 hari
(130 Ulasan)
7.5
freelancerLatino

Hello, I am expert with opengl since more than 20 years ago. I should be a good option for this project. Let me know the deadline. Best regards! Habilidades y experiencia relevante opengl Htos propuestos $200 USD - t Lagi

$200 USD dalam 7 hari
(126 Ulasan)
7.3
liveexperts123

please ignore the bid amount we will discuss the price later in the chat after we have discussed the project thoroughly Relevant Skills and Experience: . Proposed Milestones: 190 - . Hi suga44! Please drop a message to Lagi

$190 USD dalam 2 hari
(30 Ulasan)
5.7
$155 USD dalam 3 hari
(8 Ulasan)
5.8
nikolaypavlov93

I'm a professional C/C++ programmer with a good knoledge of modern OpenGL and I can help You with your assignment. I read the information You have provided and this shouldn't take more than 2 days. Relevant Skills and Lagi

$160 USD dalam 3 hari
(15 Ulasan)
3.6
soumenmurmu

i am an experienced opengl, c++ programmer and developed codes for windows , linux and mac os x platforms Relevant Skills and Experience please visit my profile to view my opengl related tasks Proposed Milestones $20 Lagi

$200 USD dalam 3 hari
(13 Ulasan)
4.3
lubluestar

Thank you for your invitation, I will do my best for your project , Looking forward your rapid reply. Best regards. Relevant Skills and Experience I am sure I can do your job perfectly. Because I have full experien Lagi

$155 USD dalam 3 hari
(0 Ulasan)
0.0
ComputerCoderR

Hello, I am a Certified C Programming, C++ Programming, OpenGL, Unity 3D Expert. I have read your project Description and I would like to write C++ code in OpenGL where you need to shoot moving teapots using a Lagi

$31 USD dalam 2 hari
(0 Ulasan)
0.0