Pseudo plug-in ideas


This talk is related to feature/ToDO : "Dynamic external JS script loading- load the script only if file exists (simple plug-in system)"

I am planning on making some JS files that add functionality. These would exist mostly on the template file commented and would be enabled manually.

For example:

touchcontrols.js

I used AI and it generated a working version of touch screen controls. The functionallity would be enabled by adding the code : 

<script src="touchcontrols.js"></script> 

in the exported game file. This adds a cross to the bottom right of the screen that can be used in a touch screen. 

This extra JS files are beyond the main scope of AGE. The plan is to make them indipendent of the main script. eg When loaded the script will create his own buttons/controls and code. The main file will only have a <script> tag and nothing else (except maybe a general placeholder). 

When I have ideas I will ask AI to generate the initial code. If it is close to what I want I will proceed with modifications/fine-tuning. If it is not it will be probably abandoned (except if someone want to create this and send it to me to add it to the project).

Get A.G.E. Ascii Game Engine

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.