Developer Update: Moddio Game Engine 2.1.1 – 2.1.3 Release
We’ve made several minor engine releases back to back so we decided to combine the announcements into one big blog post. In order to keep record of what happened in each release, we have them split up below, but you can always try the newest release, Moddio Engine 2.1.3 to get all the newest improvements. You’ll see several big improvements to the engine and some new features, like visibility mask, that we recommend you try out!
What’s New in 2.1.1:
- [Engine] Visibility Mask added to unit to create the effect of shadows/visibility polygons on client
- [Script] New action “trigger purchase of <item/unit> from <shop> for <player>” : This opens a purchase modal for the player, allowing them to directly purchase a premium item.
- [Bug fix] Wall entities now destroyed properly when placing new walls
What’s New in 2.1.2:
- [Engine] Added mobile detection and
isPlayerOnMobile
function – Kyle69 - [Engine] Added triggers unitStartsMoving, unitStopsMoving – bruh9000
- [Engine] Added chat filter for player names, unit names, and floating text – bruh9000
- [Script] Added repeatWithDelay script action – bruh9000
- [UI] Raid alerts were removed for creator when within the editor
- [Bug fix] Some players were getting incorrectly banned when joining games
- [Bug fix] Editor was being crashed by undefined obj.variable
- [Bug fix] Editor would crash when using inline-editing in item script
- [Bug fix] Issue where editor would crash when the obj is undefined
- [Bug fix] Fixed deadzone with a value of 0
What’s New in 2.1.3:
- [Engine] Made several improvements to Visibility Mask:
- Visibility mask updates dynamically
- Static units are now considered for the mask polygon
- Added proper event emission structure to handle visibility mask updates
- [UI] Added shop and item customization
- [UI] Added two new roles permissions: “Manage skins” and “Manage settings”
- [UI] Raid alerts are disabled for all players
- [UI] Added loading indicator for saving Settings
- [Script] New trigger added
when player gets new highscore
– @bruh-9000 - [Bug fix] Fading text now correctly follows unit
- [Bug fix] Logical check for
visibilityMask
property was on the wrong level of the stats object - [Bug fix] Raycast won’t crash the game when using box2dwasm
- [Bug fix] If client-only actions fails it is now skipped. This fixes issues where the server destroys the entity but the client errors out and doesn’t destroy it.
- [Bug fix] Made improvements to fix memory leak issue in Box2dwasm
- [Bug fix] Fixed
getBodiesInRegion
which crashed game when using box2dwasm
Getting Started with 2.1.3:
Make sure to try the latest version of the engine in your own games! Go to www.modd.io and select the game you’d like to change engine versions. Click on Editor > Game Settings >Engine tab. You will see a field labeled “Engine Version” and you can change this to “2.1.3” to try out all of the new features listed above.
Your Feedback Matters:
As always, we appreciate your feedback so that we can continue to improve the engine and make the experience better. Go try out the new engine version and share your thoughts on our Forums. Please report any bugs and include the engine version you’re using.
Thanks for all your support!