-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Labels
EmscriptenWebAssembly/JavaScript port for web browsersWebAssembly/JavaScript port for web browsersFeature Request
Description
Name of the game:
Any game
Player platform:
Initially Web Player
I started working on a javascript game that interact with twitch chat.

Now I'm about to start working on visuals for the game and I thought that would be nice to use EasyRPG's
Web Player as the visual output.
For that, would be amazing to have a way to inject code inside the Game's iframe through JS.
I Imagine an API that has functions like:
easyAPI.getSwitchList( ); //returns {"doorIsOpen":"on", "chest01":"on", "chest02","off"}
easyAPI.setSwitch("chest01","toogle"); //returns "chest01":"off"
easyAPI.getHeroesList( ); //returns {0:{name:"Alex", class:"warrior", hp:"200"}, 1:{name:"Blaze", class:"mage", hp:"110"}}
easyAPI.hero[0].setAttr(Name,"Chrono"); //returns {0:{name:"Chrono", class:"warrior", hp:"200"}Thanks in advance, EasyRPG is a great tool and I love it!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EmscriptenWebAssembly/JavaScript port for web browsersWebAssembly/JavaScript port for web browsersFeature Request