MiniDayZ RE EN
MiniDayZ RE EN
Mod Creation
Introdução
The entire study on the internal functioning was done based on version 1.2 of MDZ+, any previous versions
may contain different internal content, so it may not work when exporting mods made based on this
edition.
This document will be the starting point before we delve deeper into the things that interest us.
1
It has implementations of Plugins and Behaviors, objects that will give actions and functions to items in the
game.
Some plugins found in the engine [Image 0.2] Some object behaviors [Image 0.3]
Construct 2, as an engine, also manages resources such
as collisions, rendering, audio, physics and peripheral interactions.
2
Some Advantages:
• Multiplataform. With HTML5 export, people will be able to play on different platforms such as
Computers (on the WEB or systems that simulate this) or mobile devices through one
implementation Web View.
• No Download: Web games do not require a client-side installation.
• Easy to implement additional features.
Some Disadvantages:
• Reverse Engineering Can Be Easy. That's why I made this simple documentation XD.
• May not be optimized. The implementation of web-based games still has challenges such as
performance, because the game may not take advantage of a native system, as it is running on a
virtualized system and each implementation has to make “expensive” queries to perform a specific
task. Fortunately, engineers develop increasingly optimized techniques, such as the WASM (Web
Assembly) system that runs code compiled in C/C++ through an API that accesses native resources.
APIs receive a request and send the response to the runtime. The runtime will be responsible for handling
the response. [Image 0.4]
This image is simplified as much as possible, to show in a simple way how a game exported by Construct
works.
You can see Apis in “operation” and some additional layers have been removed, such as the Operating
System.
Attention: WEB APIs may not access hardware directly, for security reasons.
3
It is through these APIs that the runtime can render, handle user interactions, save data and pull
information via http.
Resumo
• We saw why game engines are so widely used in the production of thousands of games around the
world and how they facilitate work that would be very difficult to do without them..
• We also know the engine in which MDZ was created (Construct 2). This is quite important.
• Then we also saw the APIs, fundamental elements that together with the applied logic, give life to
the game.
Knowing the Game Engine on which the game was made is a rule for creating Mods! It's the first step
and one of the most important things to do before reverse engineering..
That's why I wanted to pass on this very important information.
• Links
o Construct Site (Construct 2 has been discontinued, but binary versions are still available for
download): https://www.construct.net/en.
o The JavaScript Construct 2 SDK Manual: (Very important to know, as some analyzes will be
done based on this documentation): https://www.construct.net/en/construct-
2/manuals/construct-2-javascript-sdk
o Web Apis: https://developer.mozilla.org/en-US/docs/Web/API
o The MDZ Mods Site: https://minidayzmods.com/