实例介绍
用OGRE1.7.4+nxOgre+myGUI实现的台球游戏。做的比较粗糙,但基本的碰撞都有了。加上了一些新的台球规则。
【实例截图】
【核心代码】
1dd83111-b127-4ba6-914c-17f4b9865059
├── Billiards
│ ├── Billiards.exe
│ ├── cg.dll
│ ├── cudart32_30_9.dll
│ ├── media
│ │ ├── BallGame
│ │ │ ├── 7.jpg
│ │ │ ├── bar.material
│ │ │ ├── bar.mesh
│ │ │ ├── bar.nxs
│ │ │ ├── HelpImage.png
│ │ │ ├── newcue.material
│ │ │ ├── newcue.mesh
│ │ │ ├── ogrehead.mesh
│ │ │ ├── sphere_t.material
│ │ │ ├── sphere_t.mesh
│ │ │ ├── testdesk_holelb.mesh
│ │ │ ├── testdesk_holelb.nxs
│ │ │ ├── testdesk_holelm.material
│ │ │ ├── testdesk_holelm.mesh
│ │ │ ├── testdesk_holelm.nxs
│ │ │ ├── testdesk_holelt.mesh
│ │ │ ├── testdesk_holelt.nxs
│ │ │ ├── testdesk_holemiddle.material
│ │ │ ├── testdesk_holemiddle.mesh
│ │ │ ├── testdesk_holemiddle.nxs
│ │ │ ├── testdesk_holerb.mesh
│ │ │ ├── testdesk_holerb.nxs
│ │ │ ├── testdesk_holerm.mesh
│ │ │ ├── testdesk_holerm.nxs
│ │ │ ├── testdesk_holert.mesh
│ │ │ ├── testdesk_holert.nxs
│ │ │ ├── testdesk.material
│ │ │ ├── testdesk.mesh
│ │ │ ├── testdesk.nxs
│ │ │ ├── testdesk_size.material
│ │ │ ├── testdesk_size.mesh
│ │ │ └── testdesk_size.nxs
│ │ ├── fonts
│ │ │ ├── bluebold.ttf
│ │ │ ├── bluecond.ttf
│ │ │ ├── bluehigh.ttf
│ │ │ ├── bluehighway-10.font
│ │ │ ├── bluehighway-12.font
│ │ │ ├── bluehighway-8.font
│ │ │ ├── read_me.html
│ │ │ ├── sample.fontdef
│ │ │ └── solo5.ttf
│ │ ├── materials
│ │ │ └── scripts
│ │ │ └── Examples.material
│ │ ├── MyGUI_Media
│ │ │ ├── black.png
│ │ │ ├── blank.png
│ │ │ ├── blue.png
│ │ │ ├── brown.png
│ │ │ ├── DejaVuSans.ttf
│ │ │ ├── go.png
│ │ │ ├── green.png
│ │ │ ├── MyGUI_BlueWhiteImages.xml
│ │ │ ├── MyGUI_BlueWhiteSkins.png
│ │ │ ├── MyGUI_BlueWhiteSkins.xml
│ │ │ ├── MyGUI_BlueWhiteTemplates.xml
│ │ │ ├── MyGUI_BlueWhiteTheme.xml
│ │ │ ├── MyGUI_CommonSkins.xml
│ │ │ ├── MyGUI_Core.xml
│ │ │ ├── MyGUI_Fonts.xml
│ │ │ ├── MyGUI_Images.xml
│ │ │ ├── MyGUI_Layers.xml
│ │ │ ├── MyGUI_Pointers.png
│ │ │ ├── MyGUI_Pointers.xml
│ │ │ ├── MyGUI_Settings.xml
│ │ │ ├── playerUI.png
│ │ │ ├── playui.layout
│ │ │ ├── powerbar.png
│ │ │ ├── powerFrame.png
│ │ │ ├── red.png
│ │ │ ├── stop.png
│ │ │ ├── test.layout
│ │ │ ├── Themes
│ │ │ │ ├── MyGUI_BlackBlueImages.xml
│ │ │ │ ├── MyGUI_BlackBlueSkins.png
│ │ │ │ ├── MyGUI_BlackBlueSkins.xml
│ │ │ │ ├── MyGUI_BlackBlueTemplates.xml
│ │ │ │ ├── MyGUI_BlackBlueTheme.xml
│ │ │ │ ├── MyGUI_BlackOrangeImages.xml
│ │ │ │ ├── MyGUI_BlackOrangeSkins.png
│ │ │ │ ├── MyGUI_BlackOrangeSkins.xml
│ │ │ │ ├── MyGUI_BlackOrangeTemplates.xml
│ │ │ │ └── MyGUI_BlackOrangeTheme.xml
│ │ │ ├── transparent.png
│ │ │ └── win.png
│ │ ├── packs
│ │ │ ├── nxogre.zip
│ │ │ ├── SdkTrays.zip
│ │ │ └── skybox.zip
│ │ └── particle
│ │ ├── emitted_emitter.particle
│ │ ├── Examples.particle
│ │ ├── Examples-Water.particle
│ │ ├── flare.png
│ │ └── smoke.particle
│ ├── msvcp100.dll
│ ├── msvcr100.dll
│ ├── MyGUIEngine.dll
│ ├── MyGUI.log
│ ├── NxCharacter.dll
│ ├── NxOgre.dll
│ ├── ogre.cfg
│ ├── OgreLogfile.log
│ ├── OgreMain.dll
│ ├── OgrePaging.dll
│ ├── OgreProperty.dll
│ ├── OgreRTShaderSystem.dll
│ ├── OgreTerrain.dll
│ ├── OIS.dll
│ ├── PhysXCooking.dll
│ ├── PhysXCore.dll
│ ├── PhysXDevice.dll
│ ├── PhysXLoader.dll
│ ├── Plugin_BSPSceneManager.dll
│ ├── Plugin_CgProgramManager.dll
│ ├── Plugin_OctreeSceneManager.dll
│ ├── Plugin_OctreeZone.dll
│ ├── Plugin_ParticleFX.dll
│ ├── Plugin_PCZSceneManager.dll
│ ├── plugins_d.cfg
│ ├── RenderSystem_Direct3D9.dll
│ ├── RenderSystem_GL.dll
│ └── resources.cfg
├── Code
│ ├── Ball.cpp
│ ├── Ball.h
│ ├── Billiards.rc
│ ├── Billiards.vcxproj
│ ├── Billiards.vcxproj.filters
│ ├── Billiards.vcxproj.user
│ ├── Cue.cpp
│ ├── Cue.h
│ ├── DemoApp.cpp
│ ├── DemoApp.h
│ ├── Desk.cpp
│ ├── Desk.h
│ ├── GameState.h
│ ├── GameStateManager.cpp
│ ├── GameStateManager.h
│ ├── Globals.h
│ ├── Item.cpp
│ ├── ItemDoubleScore.cpp
│ ├── ItemDoubleScore.h
│ ├── Item.h
│ ├── ItemHoldTurn.cpp
│ ├── ItemHoldTurn.h
│ ├── ItemManager.cpp
│ ├── ItemManager.h
│ ├── ItemShowMsg.cpp
│ ├── ItemShowMsg.h
│ ├── ItemStopTime.cpp
│ ├── ItemStopTime.h
│ ├── ItemTolerantInWhite.cpp
│ ├── ItemTolerantInWhite.h
│ ├── Main.cpp
│ ├── MenuState.cpp
│ ├── MenuState.h
│ ├── OgreFramework.cpp
│ ├── OgreFramework.h
│ ├── Player.cpp
│ ├── Player.h
│ ├── PlayerUI.cpp
│ ├── PlayerUI.h
│ ├── res
│ │ └── ballIcon.ico
│ ├── resource.h
│ ├── RunState.cpp
│ ├── RunState.h
│ └── SinbadCharacterController.h
└── Screenshot
├── help.png
├── run.png
└── start.png
13 directories, 167 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论