160 likes | 256 Views
前進 總統 府. 2012/1/6. Student: Jui -Wen Huang ID:600415123. Outline. Introduction Method Operation Demo References. 1. Introduction. It is a shooting game Platform CPU: Intel(R) Core(TM)2 Quad CPU Q2800 @ 2.33GHz Memory:4.00GB OS:Windows 7
E N D
前進總統府 2012/1/6 Student:Jui-Wen Huang ID:600415123
Outline Introduction Method Operation Demo References
1. Introduction • It is a shooting game • Platform • CPU:Intel(R) Core(TM)2 Quad CPU Q2800 @2.33GHz • Memory:4.00GB • OS:Windows 7 • Software:Visual C++ 2008 Professional Edition • Other:OpenGL
1.Introduction(2) The back ground is in front of the presidential palace with moving ground and sky. Players must shoot the target until the end of the game.
Outline Introduction Method Operation Demo References
2.Method • Use texture creates the scene. • Use variable “roll” to move ground and sky.
2.Method(2) • Use TGA format image replaces BMP format image, because TGA image has alpha channel. It makes the target more realizable. • Use Adobe Photoshop to create TGA format image.
2.Method(3) • Use mouse to control muzzle. • When the target is hit, explosion occur at the same time. • It is difficult to know object’s position and mouse position. If player click bottom in the right way and explosion happened at the same time. We should link all the things to finish this project.
2.Method(4) • Object structure can control object direction, texture ID, object position, object spin. • Massive use random function. • Massive use call back function.
Outline Introduction Method Operation Demo References
3.Operation 1.choose “是”for full screen,choose “否”for window size=640x480 2.F1:full screen 3.Use mouse to shoot the targets 4.Has a sound when click mouse 5.Can know score and morale at bottom right 6.When morale=0, click space key to restart game. 7.Esc to quit the window.
Outline Introduction Method Operation Demo References
4.Demo 1.Demo
Outline Introduction Method Operation Demo References
5.References • 1.MSDN • http://msdn.microsoft.com/zh-tw/ • http://msdn.microsoft.com/zh-tw/library/bb384843.aspx • 2.NeHe Productions • http://nehe.gamedev.net/ • 2.OpenGL Programming Guide • http://www.glprogramming.com/red/ • 3.OpenGL 入門學習 • http://www.cppblog.com/doing5552/archive/2009/01/08/71532.html • 4.Programmer Club • http://www.programmer-club.com.tw/