What a busy month! I was applying for a bunch of PhDs and I am exhausted.
Anyway, here comes the update
New Expressions
I am working on some new expressions for her. I am using Krita for this process.
And this is how this expression looks in AMLT.
Implementing this also let found and fixed a bunch of bugs related to rendering like ZIndex and visibility.
Before this update, AMLT ignores your visibility settings and shows everything regardless your visibility settings!
Integrated Script Editor
The AMLT ISE is a plugin for AMLT that adds a basic but useful JavaScript editor. It supports syntax highlighting and line display.
It allows you to execute any JavaScript inside the currently running AMLT JavaScript virtual machine by pressing F5.
Item Inventory
I migrated coin and exp, which previously stored as plain text, into the newly added SQLite based item inventory.
Each item contains basic attributes like name, description, and quantity. In addition, they also includes 5 freely usable data slots. Flag A to D are numeric slots while the special Flag S stores a string.
Here’s how you can add your own items in inventory.js file
There are different id range allocations, make sure to follow the allocation convention. (or not and risk things break)
Store
AMLT now supports an in-game store UI with stock counter.
It supports using ANY inventory item as currency, which can be used for some advanced game play designs.
//clear previous shop
shopClearItem();
//add shop items
shopAddItem("100051",3,20);
shopAddItem("100052",3,20);
shopAddItem("100053",3,20);
//calls the store while also specifying the currency
shopShowUI("202");
Code language: JavaScript (javascript)
When these code executed from AMLT, you get this:
Leave a Reply