Releases: goplus/spx
Releases · goplus/spx
Release v0.9.2
new features:
- add onTurning event
changes:
- optimize: don't use gdi.NewSpriteFromScreen
Release v0.9.1
features:
- sprite.Touching EdgeLeft/Top/Right/Bottom
- onMoving support mi.StopMoving
- tutorial/11-Dinosaur
changes:
- typo: addStore => addScore
- gop v1.0.17
Release v0.9.0
new features:
- support costumeMPSet (multipart costumeSet)
- test/Dinosaur
- internal/gdi: add canvas backend --tags canvas
changes:
- tutorial/03-Clone: use
Calf
instead ofCat
- refactor tutorial/09-AircraftWar
- optimization: monitor drawRoundRect cached
Release v0.8.11
changes:
- font: support windows (TODO: linux)
- tutorial/09-AircraftWar: add you-win
- sprite.Turn bugfix
- revert oksvg for bugfix
- gop v1.0.13
Release v0.8.9
new features:
- fs/zip: support load zip for wasm
changes:
- github.com/qiniu/audio v0.2.1
- update github.com/srwiley/oksvg
Release v0.8.8
new features:
- Gopt_Game_Run: resource can be a string or fs.Dir object
- Gopt_Game_Run: support OnLoaded event
- MovingInfo.Dx/Dy
changes:
- gop v1.0.10: gmxMainFunc changed
- fs/local: use ebitenutil.OpenFile support wasm
- update: gop v1.0.12; hajimehoshi/ebiten/v2 v2.2.0; github.com/ajstarks/svgo
Release v0.8.5
new features:
- new event support: onMoving
- costumeConfig: support FaceLeft
- add sprite.SetDying, sprite.Die, sprite.Visible
- add sprite.ChangeXYpos
changes:
- bugfix: Turn(delta) means TurnLeft(delta)
- remove mutex from Game/Sprite (since we are using single thread model)
- loadSprite bugfix: init gamer pointer
- fix: sprite scale
Release v0.8.0
new features:
- sprite.Animate: support move steps, play sounds and die (i.e. destroy)
- sprite.Touching support animation
- audio: mp3 format enhancement (github.com/qiniu/audio v0.2.0)
- rename OnKey__0 => OnAnyKey (to forbid incorrect use), add OnKey__2
- support multi call: onClick/onCloned
- addStageSprites (allow declaring sprite array on stages)
- specification: can't destroy sprites declared on stages
- ThreadObj.Stopped: now sprite script is stoppable
- tutorials: 05-Animation
changes:
- github.com/hajimehoshi/ebiten/v2
- stop "all" => exit
- spriteDrawInfo.doDrawOn bugfix: allow image size be zero
Release v0.7.0
features:
- support HideVar/ShowVar
- support sprite.CostumeSet
- support sprite.Animate, SetAnimation and load animations from json
- support sprite.Move and Step
- test: MonkeyAndCrocodile
- tutorials: 04-Bullet, 09-AircraftWar
changes:
- fix #6
Release v0.6.0
new features:
- tutorial/03-Clone: clone and destory
changes:
- Round => Iround
- Clone/Destroy bugfix