Behind-the-Scenes Overhaul: A Smoother Future for Elements!


Finally, the big refactor is (mostly) done! 🎉 Decoupling dragging and other interactions from elements themselves was a long process, but it’s finally in a good place. This makes everything cleaner, more modular, and way easier to maintain. Now, I can actually focus on fixing bugs and adding new features instead of constantly restructuring things. 

While you won’t notice any immediate changes, the backend is where the magic has happened. This refactor sets the stage for future improvements, and you’ll start seeing the benefits as we roll out more updates! Excited to move forward from here!

Refactors & Optimizations

  • Moved ElementLayer outside of the windows directory. (ElementLayer now handles dragging and selecting of elements)
  • Converted ElementWindow functionality into behaviors for better composition. 
  • Removed Window_Draggable, refining how elements interact with state.
  • Cleaned up redundant code, imports, and comments.

Enhancements

  • Added minor optimizations and safety checks for ElementsManager.
  • Improved MV compatibility after removing ElementWindow.
  • Enhanced dragging and selection interactions, ensuring smoother UI behavior.

As is the nature of early access, this large refactor will likely introduce new bugs, so be sure to join our Discord server and report any problems you may have.

Big steps toward a cleaner, more efficient system! 
Happy game making 

Files

LTN_Elements_Beta.js 170 kB
Version 202503141708 14 days ago
LTN_Elements_MV_Beta.js 175 kB
Version 202503141708 14 days ago

Get Elements for RPG Maker

Buy Now$29.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.