issues
search
ecj2
/
momo
[NOT MAINTAINED / ABANDONED] A simple 2D game-making library written in JavaScript.
MIT License
1
stars
0
forks
source link
Refactor codebase before version 1.1 release
#24
Closed
ecj2
closed
6 years ago
ecj2
commented
6 years ago
These areas could use some work:
Use a fixed length for iterating over mouse button arrays
Add documentation where necessary
Remove superfluous documentation where necessary
Define mouse and keyboard arrays in the constructor
Remove useless properties from object literals
Default bitmap dimensions to undefined
Replace
on*
with event listeners
Replace
window.*
with
*
Remove event listeners when no longer needed
These areas could use some work:
on*
with event listenerswindow.*
with*