⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 3D游戏模板
💻 TXT
字号:
Template CrystalSpace gameVersion 0.9.9.7a(C)2001 Mat Sutcliffe. See license.txt for details (GPL)If you don't know what CrystalSpace is, go to www.crystalspace.orgWe suggest you use this template by copying the whole thing into a newdirectory and editing that, thus keeping the original to make more copies formore games. Remember to replace the docs before releasing your game :-)You are invited to create your game in the subdirectory src/game/ and the menusystem in src/menu/You will probably also want to change a few things in MakefileIn the root src/ directory is a file called DependRules which lists the order ofallowed dependencies. A file in the list may depend on (ie. #include) a filelower down in the list but not one higher up. We suggest you use a similarsystem within the subdirectories.The directory src/ contains the template base code which you shouldn't need toalter (except maybe sys.cpp which lists the plugins used). The template willcall Game::init() when the game starts and Game:doframe() once for every frame.These functions should be put in src/game/main.cppThe array of structures Game::inputcmds[] contains pointers to variables whichwill be set to the current state of the keyboard keys and positions of mouse andjoystick. Their console names are set by the string 'str' and the pointers tovariables are x and y for mouse/joysick axes and d and toggle for the keys.See the csInputBinder documentation in CrystalSpace for more information.More information about how to use the classes (Sound and Network for instance)see the comments in the header files.Any game data files should be put into the made/ directory. This is where theexecutable will be put when built, and the whole directory is copied to the$CRYSTAL directory by `make install'.Your compiled game should be run from your CrystalSpace directory although themade/ directory should work aswell, and is quicker to do during development.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -