Releases: CodinGame/codingame-game-engine
Releases Β· CodinGame/codingame-game-engine
v3.15.4
π Bug fix
- Added a missing chunk of CSS from the statement preview page.
v3.15.3
π Bug fix
- The statement preview page now presents HTML as it would show in the CodinGame IDE.
- The statement preview page now looks for both
.html
and.html.tpl
files. - Fixed
ToggleModule
taking up a lot of characters in the game result from the allowed quota.
v3.15.1
π Bug fix
- Lines were incorrectly drawn if only one of their two points were changed
v3.15.0
π Features
- Updated the stub generator library to version 2.23.1 (adds support of bool type)
π Bug fix
- Fix player outputs size lower than expected number of lines when last lines are empty strings
v3.13.1
π Bug fix
- Fixed CSS issues in statement editor preview
- Texts no longer parse nickname tokens for player ids that are out of range
v3.13.0
π Features
Entity
now exposes thegetParent
method to acces the container an entity has been added into
π Bug fix
- An exception is now thrown when one tries to add the same entity to two different groups
Group::remove
now functions correctly- Fixed display errors when dragging the player cursor to the first frame of a game.
v3.12.0
π Features
- It is now possible to set the maximum width of a Text or BitmapText. If the string is too long, it will be shortened until it fits the given width and will include an ellipsis. This is useful when the text length is unknown during runtime, such as using the player's username token.
π Bug fix
- Fixed an issue where games with a
stepByStepAnimateSpeed
would sometimes try to animate frame 0, causing a black screen. - The
GraphicEntityModule
methodcreateText
no longer requires a text parameter
v3.11.1
π Bug fix
- Fixed choppy animation when launching games with a
stepByStepAnimateSpeed
- Fixed situations in which stepping through a game with a
stepByStepAnimateSpeed
would not be animated. - Remove faulty code that was supposed to ensure all lines were at least 1 pixel thick. User now has greater control over line thickness.
v3.11.0
π Features
- Added text-align property to TextBasedEntity
- SpriteSheetSplitter splits using full width and/or height of spritesheet when width and/or height not set.
π Bug fix
- Changed CSS of statement preview to match the codingame IDE
- Fixed bug where newline in Text entities would crash the game
- Fixed missing display of the agent's standard error stream on crash
v3.10.1
π Bug fix
- Removed accidental console.log from app.js
- Fixed
SpriteAnimation
that would sometimes not animate