I ve been developing Web applications for a while now and have dipped my toe into GUI and Game application development.
In the web application (php for me), a request is made to the file, that file includes all the necessary files to process the info into memory, then the flow is from Top to Bottom for each request. (mainly)
我知道游戏的行动发生在游戏循环内,但所有不同的游戏元素如何被分层到单一的循环中(菜单系统、GUI、资产加载和3D世界),并且带有某些事物的不断加载和卸载。
对于GUI程序,我相信有某种“应用程序循环”。
大部分称为内存调用并访问的项目,是在需要时链接并加载到内存中的项目吗?
当我理解程序的流程时,帮助我更快地开发web应用程序,它不必非常详细,只需要一般的想法或伪代码。