When creating complex games with multiple variables that have to be stored and re-added constantly, it’s a great thing to keep track of what all your variables do so you don’t forget any of them if you take a short break.
Example:
[image: b8d05c9e-8c08-47fb-9814-57a0000e703c.jpeg]
These are all of the variables that I’ve created for the Undertale game I am currently making; this is only a small number of what will be planned. It’s a great idea to keep track of them in something similar to this.
在开发包含大量变量(且这些变量需要频繁存储与重新加载)的复杂游戏时,记录每个变量的用途是个好习惯;这样即便你暂时中断开发,也不会遗忘任何变量。
示例:
Example:
[image: b8d05c9e-8c08-47fb-9814-57a0000e703c.jpeg]
这些是我目前正在制作的《Undertale》风格游戏所创建的变量;这仅仅是计划中变量的一小部分。像这样对变量进行记录是非常有益的做法
(I decided it would probably be a good idea to add the Chinese version since the topic is in a Chinese name)