General introduction to the series of courses of hot update framework design:
This series of courses consists of three sets of courses: Xlua Foundation of Hot Update Framework Design, Hot Change Process and Hot Patch Technology of Hot Update Framework Design, and Game Client Framework of Hot Update Framework Design. The three sets of courses are an inseparable organic whole. The author led everyone to go deeper and deeper, and on the basis of understanding the essence of the hot, he designed a "low coupling", "low intrusion", and "high reuse" game (VR/AR) client hot change framework through high-end architecture design.
Course introduction of Hot Update Framework Design - Client Hot Change Framework:
This work is the design and implementation of the client framework in the series of courses of the hot change framework. Understanding this work requires the accumulation of all previous knowledge points, on the basis of which, the trainees will be presented with the basic principles, the whole process of design, and the whole process of realizing framework products of the commercial level hot change framework in today's commercial hot change framework. Through this study, senior developers can be promoted to positions such as game architect, chief engineer, technical director, etc.
In order to serve the students better and faster, this course is divided into three parts: upper, middle and lower. The contents are as follows:
Upper:
The UI framework is integrated with the AB framework and restructured into a "hot update UI framework".
Middle:
"Hot update UI framework" and hot change process technology reconfiguration integration.
Pure Lua framework design concept and implementation.
Lower part:
Design and implementation of the composite heat changing frame.
The framework product is added with HotFix function module, and the function demonstration and test are complete.
Course introduction of Hot Update Framework Design - Client Hot Change Framework (Middle):
In the middle part of the hot change client, two parts are mainly explained:
Part I: Reconstruction and integration of "hot update UI framework" and hot change process technology
This part of the "hot update process implementation script" is developed through seamless reconstruction and integration with the previous UI framework and AB framework.
This involves the reconstruction and processing of many places:
1: Reconstruction of "Create Verification File", "Copy Resource File", etc. in the Unity Editor script.
2: Since the resources directory used by the stand-alone version framework has been completely canceled, all coding parts of the entire framework involving resources need to be further processed and modified, such as ConfigManagerByJson.cs, UIManager.cs, SysDefine, Log, LauguageMgr, etc.
Part II: Overall design and implementation of "pure lua framework":
This part is the core of the central curriculum, and also the core of the whole hot update framework!
We need to design a reusable, flexible, extensible and efficient lua framework system for business functions that are frequently changed in commercial projects. For this framework system, we consider to adopt a "hierarchical" structure similar to MVC for overall architecture design, and then use Xlua technology to achieve one-to-one mapping between C # scripts and lua scripts with the same name. This allows each 3D/2D preset object to automatically map (preset) a "lua control" script and a "lua display" script with the same name.
The "lua control" script here is responsible for loading AB (AssetBundle) package resources transmitted from the server, as well as parsing and displaying resource presets in the AB package. These parts are invisible to players, so they are defined in the lua script of the control layer.
For 3D/2D preset resources to be displayed, we use the "lua Display" script to control the display mode, content and behavior (including event registration). In this part, we have adopted the mapping technology of xlua, which also makes the "lua display" script have the common life cycle function of Unity, which further greatly simplifies the difficulty of writing business for lua, such as Awake(), Start(), Update(), OnDestroy(), etc. The specific architecture design of lua is shown in the following figure:
![1559526381447391.png Lua Framework Design Drawing Perfect Version.png](https://s1.51cto.com/images/20190603/1559526381447391.png)
Tips:
1: This course needs to have a certain ability to understand and control the framework. In order to better understand this work, it is strongly recommended that students first learn the necessary leading courses: "UI Client Framework Design", "AssetBundle Framework Design", "Lua Basic and Intermediate" And the first two parts of the hot update framework of this course (Xlua basics, hot change process and hot patches).
2: This course uses the Unity 2017 version to explain, but this course mainly explains the development ideas and specific implementation technologies, so it is not sensitive to the Unity version. Students' use of subsequent Unity2018/19/2020..... and other versions has little impact.
Personal books:
![1574560990493127.jpg Book Picture.jpg](https://s1.51cto.com/images/20191124/1574560990493127.jpg)
1: 51CTO School recommends open classes for micro positions:
2018 Micro Position Open Class_Unity R&D Engineer
https://edu.51cto.com/course/14960.html
2: Hot topic of game development (package)
A: Lua Hot Update Zero Foundation Turn Enterprise Level Senior Development Full Course
https://edu.51cto.com/topic/2617.html
B: Special Topic on Untiy Client Framework Design
https://edu.51cto.com/topic/1364.html
C: Unity Programming C # Programming Zero Foundation Turn Enterprise Series Video Course Package
https://edu.51cto.com/topic/859.html
D: MMOARPG Underground Guardian Monograph of Single Version Practice
https://edu.51cto.com/topic/1218.html
E: Unity Full Stack Development Zero Foundation Gorgeous Turn Enterprise Level Senior Development
https://edu.51cto.com/topic/3542.html
3: Hot renewal series (technical content: advanced):
4: Lua Hot Update Technology Video Course (Intermediate)
https://edu.51cto.com/course/13952.html
5: Xlua Basic Video Course of Hot Update Framework Design
https://edu.51cto.com/course/15552.html
6: Hot Update Framework Design Hot Change Process and Hot Patch Video Course
https://edu.51cto.com/course/16100.html
7: Hot Update Framework Design - Client Hot Change Framework (I) Video Course
https://edu.51cto.com/course/17799.html
8: Hot Update Framework Design - Client Hot Change Framework (Middle) Video Course
https://edu.51cto.com/course/18322.html
9: Hot Update Framework Design - Client Hot Change Framework (Part 2) Video Course
https://edu.51cto.com/course/18569.html
4: Frame design series (technical content: intermediate):
A: Game UI Interface Framework Design Series Video Course
https://edu.51cto.com/course/8411.html
B: PureMVC Video Course of Unity Client Framework Design (I)
https://edu.51cto.com/course/8642.html
C: PureMVC Video Course of Unity Client Framework Design (II)
https://edu.51cto.com/course/8961.html
D: AssetBundle Framework Design_Frame Video Course
https://edu.51cto.com/course/11538.html
5: Unity script introduction and advanced (technical content: primary)
A: Unity Programming: C # Programming "Introduction" (Part 1)
https://edu.51cto.com/course/3718.html
B: Unity Programming - C # Programming "Basic Part" (Part 2)
https://edu.51cto.com/course/3862.html
C: Unity Programming - C # Programming "Intermediate" (Part 3)
https://edu.51cto.com/course/6949.html
D: Unity Programming C # Programming "Advanced" Video Course (Part 4)
https://edu.51cto.com/course/7613.html
6: Virtual reality (VR) and augmented reality (AR): (technical content: primary)
A: Virtual Reality - Vehicle Simulation Project Development
https://edu.51cto.com/course/20119.html
B: AR Augmented Reality_AR Elf Video Course
https://edu.51cto.com/course/7523.html
C: VR Open Class - VR Industry with Red Sky
https://edu.51cto.com/course/6322.html
7: Unity basic course series (technical content: primary):
A: Unity Quick Start Series Video Course (Part 1) _ Billiards and FlippyBirds
https://edu.51cto.com/course/6979.html
B: Unity Quick Start Series Video Course (Part 2) - Space Shooting and Mobile Terminal Release Technology
https://edu.51cto.com/course/6980.html
C: Unity3D Three Kinds of Puzzles: "Happiness Eliminates Joy" (Product Level) Practical Video Course
https://edu.51cto.com/course/4133.html
D: Unity ECS (II) Tricks
https://edu.51cto.com/course/19016.html
8: Unity ARPG course (technical content: junior high school level):
A: MMOARPG Underground Protector - Single version Practical Video Course (upper part)
https://edu.51cto.com/course/4943.html
B: MMOARPG Underground Protector - Single version Practical Video Course (Central)
https://edu.51cto.com/course/5265.html
C: MMOARPG Underground Protector - Single version Practical Video Course (Lower Part)
https://edu.51cto.com/course/6119.html