Re:Show HN: HTML5 version of StarCraft
by gloomyson on Monday September 07, 2015 @05:56AM
(#10180786)
Very glad to hear that; for dojo, functions in dojo/_base/lang and require.js attract me; and can you share your github URL then i can also watch your project?
PS: Are you afraid if game company accuse you pirating their assets? Their words make me nervous
Re:Show HN: HTML5 version of StarCraft
by MasterScrat on Monday September 07, 2015 @06:11AM
(#10180828)
I have not yet published the code publicly but I plan on doing it soon.
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.
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.