Releases: NewKrok/three-game
Releases · NewKrok/three-game
4.2.0
4.1.1
4.1.0
Features
- Unoptimised nearest target selector module was added for the action 2d modules
- Units module can handle submodules
- Unit can teleport
- Unit has owner by default
- Possible to setup player controller module runtime
- Possible to get the skybox reference from the world
Improvements
- AI module preparations
- Missing properties were added to third person camera module's d.ts file
- getUseTargetRotation
- setUseTargetRotation
- Partly done d.ts files were added for the world and for the player controller module
- Deprecated Threejs code was updated
4.0.0
Breaking Changes
- Unit model is wrapped into a container by default, recommended to use
unit.container
instead ofunit.model
Features
- Distance keeper module was added to be able to keep distances even in a huge area
- Action 2d module was added - currently it can handle only unit movements
Improvements
- AStar module can gives info related to the "island-matching"
- RTS animation config can handle properly the idle and the walk states
- Possible to modify manually the foliage position with a modifier
- Heightmap module can generate canvas image from the heightmap
3.1.0
3.0.0
Breaking Changes
- Unit and unit modules were moved under the world / units module.
createUnit
function has noonComplete
callback anymore, it returns immedietly with the unit object.- Octree behavior is not part of the unit by default anymore, from now it's a separated unit module -
UnitModuleId.OCTREE_BEHAVIOR
.
Features
- Water world module was added.
- Heightmap world module was added.
- Foliage world module was added.
- OctreeModule can handle capsules.
Improvements
- Asset loader is not verbose by default anymore.
- Skybox is not affected by the fog by default.
- Cancel the requestAnimationFrame during the dispose process.
- In the animationConfig the
createCache
function is not mandatory anymore. - Module handler can handle custom ids to avoid reducer id matching.
Bugfixes
ProjectileModule
's dispose related error was fixed.
2.0.0
Features
- Third person camera can jump immediately to the target without any easing with the new
jumpToTarget
call - Possible to set a custom quaternion offset of the third person camera in case of
useTargetRotation
with the newtargetQuaternionOffset
property - Possible to enable / disable any abilities
- Player enum was added
Breaking Changes
- Projectile module is not handling the collision detection itself anymore, it requires external collision detectors
Improvements
- Some Type declarations were added: module handler, abilities module, third person camera module
- Unused destroyable file was removed
Bugfixes
- Octree sphere mass is calculated properly
1.1.0
1.0.0
Features
- Possible to set calls / seconds for every modules.
- Modules are running in 30 calls / seconds by default to reduce the performance costs.
- Third person camera and controller modules are moved to this repo from the deprecated three-tps package.
Breaking Changes
- Units are separated into the units module and they are not part of the world anymore.
- Aiming module is require a tpsCamera in the world's userdata.
Improvements
- From now collectibles module can handle everything which has collider and you has to register every collectors manually.
- Car boilerplate was modified based on the latest octree-car changes.
- Cleaning in unit.js.
Bugfixes
- Fix for time based issues.
0.7.0
Features
- New world module: Verlet integration - With this it's possible to link easily 2 objects without any physic library.
- New world module: Octree car - Simple car physics based on spheres.
Breaking Changes
- Unit controller was renamed to Player controller. It was needed since from now it can control anything.
- world.onUpdate now is available as world.on.update.
- Unit config is not an initial param of the world anymore, from now it's part of the world config.
Improvements
- Octree car related boilerplates were added.
- Octree module can handle spheres by default.
- Possible to listen on world.on.dispose.
- Possible to create units without animations.
- Missing dispose methods were added into: region module, collectibles module.
- Dependency updates.
Bugfixes
- Time related fixes.