- Game object prototypes are accessible through the API now: You can use these prototypes to extend game objects behaviour globally.
- All constants are exposed in global scope, without the need to use
Gamescope. - All Room.find constants have been renamed using
FIND_prefix:FIND_CREEPSFIND_MY_CREEPSFIND_HOSTILE_CREEPSFIND_SOURCES_ACTIVEFIND_SOURCESFIND_DROPPED_ENERGYFIND_STRUCTURESFIND_MY_STRUCTURESFIND_HOSTILE_STRUCTURESFIND_FLAGSFIND_CONSTRUCTION_SITESFIND_MY_SPAWNSFIND_HOSTILE_SPAWNSFIND_EXIT_TOPFIND_EXIT_RIGHTFIND_EXIT_BOTTOMFIND_EXIT_LEFT
|
|