Releases: Cazka/diepAPI
Releases · Cazka/diepAPI
v4.0.0-alpha.1
What's Changed
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
v3.3.0
bug fixes
Full Changelog: v.3.2.0...v3.3.0
v3.2.0
v3.1.0
v3.0.0
Completely rewriten the api.
You should definitely try this command out:
diepAPI.extensions.debugTool.load()
diepAPI.extensions.debugTool.drawAll(true)
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
v.2.1.1
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 toarenaScaling.toCanvasPos()arenaScaling.toScreenUnits()got renamed toarenaScaling.toCanvasUnits()
v2.1.0
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)
