Skip to content

Releases: NewKrok/three-game

4.2.0

16 Nov 23:05
Compare
Choose a tag to compare

Features

  • Effect composer option was added

Improvements

  • Minor TS update
  • Dependency update

4.1.1

09 Aug 21:59
Compare
Choose a tag to compare

Improvements

  • Minor TS updates
  • Three dependency update to 0.155.0

Bugfixes

  • Fix for const issues

4.1.0

30 Jul 20:37
Compare
Choose a tag to compare

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

13 Feb 23:10
Compare
Choose a tag to compare

Breaking Changes

  • Unit model is wrapped into a container by default, recommended to use unit.container instead of unit.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

15 Jan 22:12
Compare
Choose a tag to compare

Features

  • Astar world module was added.

3.0.0

04 Jan 14:12
Compare
Choose a tag to compare

Breaking Changes

  • Unit and unit modules were moved under the world / units module.
  • createUnit function has no onComplete 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

18 Oct 20:57
Compare
Choose a tag to compare

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 new targetQuaternionOffset 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

02 Sep 22:36
Compare
Choose a tag to compare

Features

  • New modules were added: Nape and Nape Car.

Improvements

  • Nape Car boilerplates was added - Useful for 2d physics based car games.
  • The collectible module is able to handle a custom collision algorithm.
  • Dependency updates.

1.0.0

17 Jun 20:21
Compare
Choose a tag to compare

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

30 May 21:37
Compare
Choose a tag to compare

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.