Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Previous: Example games

Release notes

The CodinGame SDK is regularly updated and improved. This document lets you know what changed in the latest releases.

3.5.1

🐞 Bug fix

  • Fixed the skewX and skewY properties for all Entities.

3.5.0

🎁 New features

  • Added methods to change an entity's skew in the GraphicEntityModule
  • Added methods to change the player timeout of the first round of a game.

🐞 Bug fix

  • Updated the test page's player to match the codingame IDE

⚠️ Known issues

  • skew property is not functional, to use it please move to 3.5.1 or higher

3.4.10

🎁 New features

  • Added an optional export to config.js called stepByStepAnimateSpeed which lets you set whether to animate the view when stepping from one frame to the next

🐞 Bug fix

  • Fixed Tooltip not showing all texts of stacked sprites below the cursor
  • Fixed viewer not updating on mouse wheel event

3.4.9

🐞 Bug fix

  • Invalid negative values for colours no longer crash the game
  • Fixed missing line breaks in the Game Summary console
  • Frames now start at 0 in local test page
  • Better error reporting on player agent crash
  • Multiple commands can now be launched with CommandLinePlayerAgent
  • Games now require less RAM in the CodinGame IDE

3.4.8

🐞 Bug fix

  • The turn argument of the Referee's gameTurn() now starts at 1 instead of 0
  • A Text can now have semicolons in it
  • Improved error handling

3.4.7

🐞 Bug fix

  • Fixed ToggleModule and improved its API.

3.4.6

🐞 Bug fix

  • The intro replay file demo.js is now smaller when generated from scratch.
  • Improve game load performance.

⚠️ Known issues

  • ToggleModule only works in local IDE

3.4.5

🐞 Bug fix

  • EndScreenModule now compatible with PIXI v4.8.5

⚠️ Known issues

  • ToggleModule only works in local IDE

3.4.4

🐞 Bug fix

  • Improved error handling.

⚠️ Known issues

  • ToggleModule only works in local IDE

3.4.3

🐞 Bug fix

  • The EndScreenModule now properly handles more than two players.

⚠️ Known issues

  • ToggleModule only works in local IDE

3.4.2

🐞 Bug fixes

  • Circle entities now displayed again
  • Included missing setLeagueLevel method in the GameRunner

⚠️ Known issues

  • ToggleModule only works in local IDE

3.4.1

🎁 New features

  • Added RoundedRectangle Shape
  • Added Polygon Shape

🐞 Bug fix

  • Better display of game errors

📒 Notes

  • PIXI updated from v4.4.3 to v4.8.5

⚠️ Known issues

  • Circle entities no longer displayed
  • ToggleModule only works in local IDE

3.4.0

⛔ Broken version

3.3.2

🐞 Bug fixes

  • Included missing addAgent polymorphism – custom nickname with default avatar.
  • Improved display of player output in local test page.
  • Better handling of errors from initializing modules.
  • Unused title property no longer mandatory in config.ini.
  • setFrameDuration() now throws an exception on non-positive values.
  • We no longer wait the full player timeout time when creating a frame when no players have been executed.

⚠️ Known issues

  • ToggleModule only works in local IDE

3.3.1

🐞 Bug fix

  • setFrameDuration() regression from 3.0.0 fixed.

⚠️ Known issues

  • Frames created when no players have been executed will still wait the full player timeout time.
  • ToggleModule only works in local IDE

3.3.0

🎁 New feature

  • The EndScreenModule allows you to display a custom text instead of the score.

⚠️ Known issues

  • Frames created when no players have been executed will still wait the full player timeout time.
  • ToggleModule only works in local IDE

3.2.0

🎁 New features

🐞 Bug fix

  • Fixed absence of game summaries from the local test page of SOLO games.

⚠️ Known issues

  • Frames created when no players have been executed will still wait the full player timeout time.
  • Maven modules not available as dependencies
  • setFrameDuration() does not work in the init().
  • ToggleModule only works in local IDE

3.1.0

🎁 New feature

  • A frame is created even if no players have been executed at the end of each gameTurn.

🐞 Bug fix

  • Fixed an issue with sprites.

⚠️ Known issues

  • Frames created when no players have been executed will still wait the full player timeout time.
  • setFrameDuration() does not work in the init().

3.0.0

January 11, 2019

🎁 New features

  • BitmapText has been added.
  • Text can be bold.
  • Shapes now have a blendmode property.

🐞 Bug fixes

  • 💥 Breaking change Renamed SpriteSheetLoader to SpriteSheetSplitter.
  • Subfolders of the assets folder work on Windows now.
  • Frame zero now has a duration of zero.
  • The SpriteSheetSplitter doesn't reload the sprite sheet if it's already in the TextureCache.
  • The local player now uses the parameters stored in the LocalStorage.
  • Removed the max turn warning, since it's replaced by a limit of alloted time.
  • Better process cleanup.
  • Fixed security issue (ZipSlip bug).
  • Fixed the minimum max time alloted to players (now it really is 50ms).

⚠️ Known issues

  • setFrameDuration() does not work in the init().

2.15

November 29, 2018

🐞 Bug fixes

  • Frame zero is not animated anymore.
  • Less spammy warnings.

2.14

October 30, 2018

🎁 New features

  • Limited the max total alloted time to the players to 25s.
  • SpriteAnimation now a has reworked API and a pause function.

🐞 Bug fixes

  • Better error handling.
  • Reworked the commit system, fixing some big issues and reducing data usage.

2.11

September 14, 2018

🐞 Bug fixes

  • Fixed BufferedGroup performance issues.
  • Better handling of modules errors.

2.9

August 21, 2018

🎁 New feature

  • Local test page design now matches the website one.

2.8

August 9, 2018

🐞 Bug fixes

  • Reworked the Test case API.
  • Fixed some WEBGL memory leaks.

2.7

August 1, 2018

🐞 Bug fixes

  • Handling of the absence of a logo in the demo.
  • Limiting the size of the game summary.

2.5

July 6, 2018

🎁 New feature

  • Game Params are now displayed in the local test page.

2.4

June 25, 2018

🎁 New feature

🐞 Bug fixes

  • Test cases can now handle several lines as input.
  • The configuration verification does not check the presence of welcome_en.html in the first league anymore. It also concerns games with no league system.

2.3

June 8, 2018

🐞 Bug fixes

  • The BindException thrown when running a new instance of the game when the server is already on use has been caught. It now logs a warning.
  • A bug would prevent you from exporting a game that was too heavy. It is now fixed.

2.2

June 4, 2018

🐞 Bug fixes

  • Solo games agents not having colors would produce an error once uploaded on CodinGame. A default color has been added.
  • A regression would prevent the configuration form from being displayed. This feature is back.

2.1

June 1, 2018

Bug fix

  • The Graphic Entity Module would stop displaying the last frame of a replay. This is now fixed.

2.0

June 1, 2018

🎁 New features

  • Solo and Optimization games have been added.
    • Implementation of Multiplayer and Solo classes extending from formerly used AbstractPlayer, GameManager and GameRunner. These features are not backward compatible.
    • Test cases have been added.
    • The configuration verification has been updated to match the new constraints.
    • The form to set up basic configurations when exporting the game has been updated. It now handles the different type of games and specific settings for each of them.

1.37 and older versions

These versions are not handled anymore and your game will not work if you upload it on CodinGame. If you are still using this version, it is strongly recommended to update your project to the latest release.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content