abral
-
Posts
11 -
Joined
-
Last visited
Posts posted by abral
-
-
The new Mozilla's JS engine, IonMonkey, brought a lot of performance improvements, and it only landed in Firefox 18. So most probably v22 would be a lot faster than v17.
But, if you could use v24 it would be even better, as the performance is improving from release to release, and v24 contains also OdinMonkey (asm.js) that you could use in some cases (for example for the AI, instead of moving code to C++, you could use asm.js so that the code would be a lot faster and there wouldn't be any performance penalty caused by JS-C++ calls).
- 2
-
Do you happen to know anything about its memory footprint?
It should be pretty light. Firefox has made huge progresses in memory footprint lately.
-
I guess XUL isn't quite HTML/CSS (not that HTML/CSS has to be an ultimate requirement), but it does seem like an improvement over hacking together our own format.
I wonder if it can play nice with SDL, though.
XULRunner can render also HTML/CSS, somewhere in one of the Mozilla pages there's an example of a small browser written using XULRunner.
-
I think XULRunner would be a good solution, it's certainly simple to use SpiderMonkey with it.
-
There's also XULRunner (https://developer.mozilla.org/en-US/docs/XULRunner) that could be used.
-
What about a web app that would work on desktops and mobile devices? Philip has done some demonstrations in the past that show map and game data can be displayed on a web page using HTML5. With WebGL you might even be able to get a full 3D environment for editing maps.
With Emscripten it's possible to port the entire game to HTML5. For example, look at https://github.com/kripken/BananaBread/
-
The work to do the Android port could be also useful to port the game to JavaScript.
Emscripten (https://github.com/kripken/emscripten) can translate C++ code to JavaScript using the LLVM compiler, and it can translate OpenGL ES (at least a subset) to WebGL.
For example, there's a project about porting Sauerbraten (http://sauerbraten.org/): https://github.com/kripken/BananaBread/
-
Ilia, also known as Rea Silvia, the mother of Romolo and Remo, the founders of Rome.
The story of Ilia is in "Ab Urbe Condita libri CXLII" written by Titus Livius, really important for our knowledge of the Roman history and for the Italian culture in general.
-
Thanks for the reply, this'll help also me!
However I've seen also another way to solve this (i think i saw it in Warcraft III): where there is the height variation, they show under the building a sort of pedestal.
-
Article about scripting in 0 A.D.
in Game Development & Technical Discussion
Posted · Edited by abral
Have you considered writing some of the AI modules in C++ and translating them in asm.js using emscripten? This should give you a good speedup without creating another API.