- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
游戏开发 ——物品管理系统(Game development - item management system)
游戏开发 ——物品管理系统(Game development - item management system)
Game development - item management system.Txt, I wonder how many people split up or still love?. His laugh to cry yourself to watch their own trouble. You use stealth to avoid me, I use stealth to help you! Until one day, in the hands of power, kill all the world, bear my dog. Game development - item management system
--------------------------------------------------------------------------------
Akinggw GameRes 2006-08-07
Object management system
Source: 91 game production alliance Author: Yang Bing (source code light) date: 2005-5-24 11:40:57
introduce
Many games allow players to pick, carry, use, buy, sell, throw away, drink, and wear all sorts of things. This is definitely a huge system, and there are so many things that need to be related. In this article, a basic object management system will be presented to you.
System Architecture
The first problem is how to face the items of information corresponding to the respective body such as blood has its name, appearance and properties; some items have specific properties, such as quantity, magic attribute, character name, wear and so on, and these properties may be added at a later.
Well, we use class cItem to represent an item. This class contains an indication that the object type can be represented. If we need to get the properties of an item, we can get it by cItemDatabase, which is an item database that contains information about everything.
Because the items will appear in different places, for example, on the ground, in the transaction, or game players backpack, we want to show these items, we need a set of unified performance set is the type of cItemPack item, I translate it into bags, you can traverse the items in the package add or remove them.
Goods
The first step is to implement the object class, which is where we use the most effort. First consider the property of the article, and he should have the following attributes:
Can be set to another ite
您可能关注的文档
- 植物大战僵尸吧重要名词解释(Plant vs. Zombies, important terms to explain).doc
- 植物学名(scientific name).doc
- 核辐射防护原则(Principles of nuclear radiation protection).doc
- 概念的辨析技术性贸易措施技术性贸易壁垒及绿色壁垒(Concept discrimination, technical trade measures, technical barriers to trade and green barriers).doc
- 椎间盘突出症的定位诊断(Location diagnosis of lumbar disc herniation).doc
- 检验项目表2(Inspection item table 2).doc
- 槐角(Huaijiao).doc
- 欢乐谷路线(Happy Valley route).doc
- 欢度中秋节(Celebrate Mid-Autumn Festival).doc
- 欣赏物理学之美(Appreciate the beauty of Physics).doc
- 游戏推广模式和联运分析(Game promotion model and multimodal transportation analysis).doc
- 游戏开发新手入门指导(Q&A)(Game development novice guide (Q&A)).doc
- 游戏教学—小学低年级巩固字词的有效途径(Game teaching an effective way to consolidate words in lower grades of primary school).doc
- 游戏案例老鹰捉小鸡(Game case hawks catch chicks).doc
- 温泉海岸(Hot spring coast).doc
- 游戏王GX精灵的召唤攻略(Game king GX wizard summon Raiders).doc
- 游戏用到的模式(Patterns used in games).doc
- 游戏支付平台(Game payment platform).doc
- 游侠(Ranger).doc
- 游戏秘诀(Game tips).doc
最近下载
- 德国邦飞利变频器故障代码.pdf VIP
- 电子钱包 APP-钱Bag.PDF VIP
- iPhone使用手册中文.pdf VIP
- 《矿产资源_三率_指标要求 第 5 部分:金、银、铌、钽、锂、锆、 锶、稀土、锗》.pdf VIP
- 龙光集团丨纪凯婷人物介绍.pdf VIP
- 1访谈记录不忘初心方得始终.pdf VIP
- D-Z-T 0462.4-2023 矿产资源“三率”指标要求 第4部分:铜等12种有色金属矿产(正式版).docx VIP
- 无人机组装调试与检修-第五章-无人机系统调试.pptx VIP
- 无人机组装调试与检修-第四章-固定翼无人机系统组装.pptx VIP
- 无人机组装调试与检修-第二章-无人机装调工具与工艺.pptx VIP
原创力文档


文档评论(0)