We have Extensions and Behaviors… how about community made “Event Modules”?
Even tho Extensions and Behaviors impact your game Logic, what im talking about is something specific to Events in the Event Sheet.
For example, i can make an “Event Module”, which is just another word for “Event Group”, that has logic for enemy AI.
I made these events in a way that are very easy to adapt to other projects, and because id like to share them with people, i upload them to GDevelop “Event Modules”.
I add in the name of this “Module”, the description, some tags to be searched by and some instructions on how to use if needed.
Now if some body else needed logic to make enemy AI but they werent quite sure where to start, they would have this “Option” in the “Event Sheet”, that says something like “Event Modules”.
He can select it and get a search menu just like for Behaviors or Extensions.
He searches “Enemy AI” and finds my modules, clikes on it and selects “add to current Event Sheet”.
The “Event Group” is now pasted in at the top or at a previous selected place in the event sheet.
This would be awesome to quickly build a games logic, to share complex events, or to just have some sort of starting point.
You can even go a step further and add in the “Search and Replace a word” feature into it.
For example, i just did something like this for top down movement logic.
The way i prepared the project for other people to easily copy / paste it into their project, was to change the name of the main object to “Player”.
Now all people need to do before importing into their projects is to “search and replace” the word “Player” for their character name, for example “Hero”.
After “Player” is changed for “Hero”, they can just copy it in and everything works!
If you could add this feature in to the “Event Module”, that would make it even more awesome!
Like, when you hit the “add to current Event Sheet”, a new pop up happens and asks “Change these parameters?”, and “Main Object” would be one of them, or something like that.
I hope this all made sense… i know its kinda a big wall of text…