by MasterScrat · 11y ago · 0 comments
I'm currently doing the same with Baldur's Gate engine. I am using Mootools, I want to study your code more to see if Dojo would be better (Mootools introduces overhead with constructors)
Basic demo here: http://lumakey.net/labs/battleground/demo1/
For multiplayer I'm making tests with Firebase...
Also I'm looking into WebGL for some animations (explosions etc) probably it could help performance in your case as well.
With Mootools I like the classical inheritance style. Something else that looks interesting is TypeScript, when you reach ~10k lines of codes pure javascript gets really tricky to debug/refactor.
Yes I am worried about company reaction, I wouldnt publish game assets on a public repo. What I am considering is publishing my game engine along with the scripts I use to process the game resources into suitable web formats.