Hi guys! I have a big problem! I want to create and edit some events,how can i do that? There is any chance about insert HTML code instead JS code? because some tags (example img src,div id) don’t work and I don’t know how can I insert any JS library for expand the program (for example even a Phaser library)… I want (and must) use real code in my game and demonstrate myself and the commission of my exam which I can customize my game with all I want using this program. And also I note a forget thing: with mouse I can’t only tap,but only hold for make true the condition,so for example I want to create a block which allows me to only tap (ex. a sprite) for make true the condition. How can I do? thanks for your time,
(Just moved the topic to Help for games creation section)
Hi,
To add HTML code to the index.html of your game, you can edit the index.html located in JsPlatform/Runtime (/!\ It will change every game using the web platform) or the index.html of your final game (but be careful when you rebuild your game as the previous index.html might be erased).
for example if I want to make a create an event for create arrays or matrix (On “Variables”) how can I do that? and If I want to make extensions how can I do? or simply modify existing events?
You have to download the sources and compile it, following the instructions: http://4ian.github.io/GD-Documentation/GDCore%20Documentation/setup_dev_env.html
The compilation process may take some time (several minutes) the first time, after that, modifying it and recompile is faster. Assuming you know some programming, maybe you can speed up the compile time to just some seconds, working a bit with the CMake options
I need to modify create extensions.
I downloaded the GD Master and CMake.
Why I must use CMake? How can he do?
Which CMakelists.txt I must modify for sign my extension?
CMake helps you to build large projects without have to write what to compile, where to compile, how to compile, everytime you want to recompile the project (GD here)
After downloading/compiled required dependencies (install TDM-GCC in Windows, download some libraries on Linux, etc.) launch CMake, again, following the instructions. After compiling GD, you can start reading “Write a new extension”, a tutorial around the docs page