《3D Game Engine Programming》读书笔记(1)

博客围绕游戏引擎展开,指出引擎应独立于项目、代码可复用,不能包含游戏相关代码。还提到开发者职责,要在当前硬件上提供最佳体验并确保游戏性。需为项目建立文档记录目标达成时间和工时。同时阐述了引擎的命名、自主性等要求,以及接口和基类的概念。

1. An engine should be independent of the project and capable of working with other video game projects and non-game multimedia software projects without the need to modify the engine's dode. In other words: The engine's code must not include any game-related code, and it has to be reusable.

2. The God's responsibilities:
a. Offer the player the best you can achieve on current hardware.
b. Try your best to ensure that the game is always seen as just that: a game.

3. You need to set up a document along with your project in which you write down the dates when you achieve what you think is at lease a medium-sized goal of your project. Also write down how many working hours you spent from the last major point to get ot the current one. Tracking your hobby project will increase your knowledge of what you can do in a given amount of time.

4. Requirements for the engine:
a. Naming the engine;
b. Is the game code autonomous;
c. Render primitives efficiently, query input form the keyboard, the mouse, and the joystick, play sound effects, provide network connections.

5. An interface is, after all, nothing more than a template for an object with a list of  functions a real object must implement. (p34)

6. You would also call a base class an inter face or an adapter if it implements its functions only by delegating them to another class's instance, which it holds as a member variable.  (p34)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值