Skip to content

Releases: Cazka/diepAPI

v4.0.0-alpha.1

v4.0.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@Cazka Cazka released this 10 Jan 22:45

What's Changed

  • feat: add hexagon entity type and hook by @wakka810 in #73

New Contributors

v4.0.0 will introduce a lot of breaking changes. will release more info when the real release comes.

Full Changelog: v3.3.1...v4.0.0-alpha.1

v3.3.1

Choose a tag to compare

@Cazka Cazka released this 05 Dec 13:44

Full Changelog: v3.3.0...v3.3.1

v3.3.0

Choose a tag to compare

@Cazka Cazka released this 25 Oct 16:07

bug fixes

Full Changelog: v.3.2.0...v3.3.0

v3.2.0

Choose a tag to compare

@Cazka Cazka released this 17 Dec 23:33
5b68c69

What's Changed

Full Changelog: v.3.1.0...v.3.2.0

v3.1.0

Choose a tag to compare

@Cazka Cazka released this 15 Nov 22:17
5d2d3a3

What's Changed

  • fix regex to detect tank and level by @Cazka in #44
  • change reference to _window by @Cazka in #45
  • Feature/round vectors after scaling by @Cazka in #47
  • Feature/fix entity manager by @Cazka in #51
  • add game states to game.ts. by @Cazka in #52

Full Changelog: v.3.0.0...v.3.1.0

v3.0.0

Choose a tag to compare

@Cazka Cazka released this 02 Oct 19:28
723556b

Completely rewriten the api.

You should definitely try this command out:

diepAPI.extensions.debugTool.load()
diepAPI.extensions.debugTool.drawAll(true)

image

What's Changed

  • add support for solid background command by @Cazka in #28
  • added method that get player entity by @Cazka in #24
  • Making the entityManager an opt in option by @Cazka in #29
  • Feature/add children parent entities by @Cazka in #30
  • Feature/improve bullet linking by @Cazka in #33
  • version 3 by @Cazka in #40
  • Many more beautiful things 🌺

Full Changelog: v.2.1.1...v.3.0.0

v3.0.0-alpha.1

v3.0.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@Cazka Cazka released this 13 Mar 15:41
76369b7

Added:

  • entityManager.initialize() needs to be called to start recording entities (#12)
  • entityManager.getPlayer() returns the own player entity (#24)

Bugfix:

  • Added support for ren_solid_background command (#28)

v.2.1.1

Choose a tag to compare

@Cazka Cazka released this 26 Feb 22:34
de16213

Added:

  • Support for retina displays or any displays with a window.devicePixelRatio != 1.
  • new method arenaScaling.screenToCanvasUnits() scale screen pixels to canvas pixels
  • new method arenaScaling.canvasToScreenUnits() unscale canvas pixels to screen pixels
  • new method arenaScaling.screenToCanvas() scale screen coordinates to canvas coordinates
  • new method arenaScaling.canvasToScreen() unscale canvas coordinates to screen coordinates

Breaking Changes:

  • arenaScaling.toScreenPos() got renamed to arenaScaling.toCanvasPos()
  • arenaScaling.toScreenUnits() got renamed to arenaScaling.toCanvasUnits()

v2.1.0

Choose a tag to compare

@Cazka Cazka released this 30 Jan 22:34
d0c6af7

Added:

  • player.level: returns the current player level.
  • player.tank: returns the current player tank.
  • player event: 'level': emitted when player level changes.
  • player event: 'tank': emitted when a player tank changes.

Breaking change:
Movement.predictPos now takes the time in ms as input,

Before:
Movement.predictPos(performance.now() + 1000)

Now:
Movement.predictPos(1000)

v2.0.4

Choose a tag to compare

@Cazka Cazka released this 24 Jan 11:53
5b2b063

Bugfix:

  • Fixed loading issue