Difference between revisions of "HPL3/Scripting/Scripting Guide/What is scripting in HPL3?"
< HPL3
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
In our case, it can almost be viewed as regular programming, but not necessarily as complicated. | In our case, it can almost be viewed as regular programming, but not necessarily as complicated. | ||
− | {{NavBar|HPL3/Scripting/The Basics - Introduction|The Basics - Introduction|HPL3/Scripting/HPL3 Scripting Guide|HPL3 Scripting Guide|HPL3/Scripting/Scripting_Guide/Setting up CodeLite|Setting up CodeLite}} | + | {{NavBar|HPL3/Scripting/Scripting_Guide/The Basics - Introduction|The Basics - Introduction|HPL3/Scripting/HPL3 Scripting Guide|HPL3 Scripting Guide|HPL3/Scripting/Scripting_Guide/Setting up CodeLite|Setting up CodeLite}} |
[[Category:HPL3 Scripting]] | [[Category:HPL3 Scripting]] | ||
[[Category:English]] | [[Category:English]] |
Revision as of 13:18, 13 August 2020
What is scripting in HPL3?
Scripting in the context of HPL3 means defining the behavior and the events of your map in the form of code, and ultimately, making your map come to life. Without scripting, your map will be static without any gameplay.
The script is written inside the map’s script file. You code how objects in the map are supposed to behave as well as the events that will happen in the map.
For example, if you want to make a monster appear when the player enters a room or to make a cool looking explosion, this is where you usually do that. In our case, it can almost be viewed as regular programming, but not necessarily as complicated.