ADM-201 dump PMP dumps pdf SSCP exam materials CBAP exam sample questions

【用代数讲计算机科学】大型游戏里的变量 – 译学馆
未登录,请登录后再发表信息
最新评论 (0)
播放视频

【用代数讲计算机科学】大型游戏里的变量

CS in Algebra: Big Game Variables

现在你将要开始你的开发你自己的电视游戏
Now you’re going to start creating your own video game.
就像开发大多数游戏一样 你不必从最底层开始
As with most video games, you won’t have to start from scratch.
可以从现有的代码(引擎)中创建你的游戏
You’ll be building your game on top of some existing code called an engine which will
这样可以让省去你很多工作
take care of a lot of the heavy lifting for you.
现在大多数电视游戏通过引擎开发 这可以让程序员们
Most modern video games are also built on engines which allow the programmers to build
更快的创建游戏
better games faster.
你可以通过程序来控制游戏中所有角色的模样
You’ll be writing the logic that controls how all the characters in your game look,
以及移动 与其他物体交互游戏引擎将会承担起
move and interact with each other and the game engine will take care of displaying your
在屏幕上显示 让角色动起来 以及记录分数这些功能
creation on screen, animating your characters and keeping track of your score.
第一步 为角色添加属于自己的标题
In the first stage, you’re going to modify the variables in your game by adding your
背景和图片 这就要修改一些变量
own title, background and images for your sprites.
点击edit去编辑变量 再保存和关闭你改好的
Just click edit to edit the variable, then save and close to save your modification and
最后 点击run来看看你的新游戏运行的怎么样
finally hit run to see your new game in action.
如果有些东西不像你期待的那样 尝试调试你的游戏
If something doesn’t look like what you expected, try troubleshooting your game.
调试 又叫debugging 就是一个程序员系统的检查
Troubleshooting, also known as debugging, is when a programmer systematically examines
代码来查找出现意外的根源
the code to determine the source of the unexpected results.
打开不符合你预期的变量函数
You can troubleshoot your game by opening the function of the variable that didn’t do
来调试程序
what you wanted it to do.
检查点:你改变这个变量的方法是正确的吗?
Check: did you modify the variable correctly?
通过改变游戏中的变量来寻找乐趣吧
Have fun changing the variables of your big game.

发表评论

译制信息
视频概述
听录译者

收集自网络

翻译译者

【B】Cod

审核员

知易行难

视频来源

https://www.youtube.com/watch?v=gfzRVChNDcI

相关推荐