Note that there are some explanatory texts on larger screens.

plurals
  1. USn a
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COI'm sold on the Entity System mainly for organizational purposes rather than potential performance gains. Still, for Data Oriented Design and typed arrays, I'm now curious on what happens when I load an integer from a typed array into a variable, like var x = int32View[0], and then do math on it, like x += 5. Does it get cast to a double so I can do math on it? If so, would there be any performance benefit in using typed arrays over numbers?
      singulars
    2. COAs for EaselJS, thanks for the suggestion but I actually started with that before I gave up and began building my own from scratch. :P I needed more than what EaselJS provided and modifying EaselJS to do what I needed was harder than just building my own. That and EaselJS doesn't seem to be garbage collector friendly. I was reading through the Ticker code which controls the game loop and every tick they use slice and unshift on Arrays for their listeners. That means every frame there are 3 additional Arrays that need to be garbage collected.
      singulars
    3. COI've been looking at CSS animations since you mentioned them. They seem to be animated based on time, which I would need to convert to frames. I'd just have to keep interrupting CSS animations every render loop as the X/Y positions could have changed after a collision, which could cause choppiness as well. I'm also a bit unsure as to how fast rapidly creating and removing DOM objects are (like a player shooting a large number of fireballs). It's doable, but definitely more difficult than canvas. At the very least, I'll try a small example first and see from there.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload