Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 1.96 KB

CHANGELOG.md

File metadata and controls

44 lines (39 loc) · 1.96 KB

GameBase changelog

2.0

  • General:

    • The official gameBase version is now the former "advanced" branch version. The previous, more minimalistic version, is still available in the legacy branch.
    • Debug Drone: press CTRL-SHIFT-D to spawn a debug Drone. Use arrows to fly around and quickly explore your current level. You can also type /drone in console.
    • Full Controller rework, to provide much better Gamepad support, bindings, combos, etc.
    • Full LDtk integration (https://ldtk.io), with hot-reloading support.
    • Added many comments everywhere.
    • Moved all source code to various src/ subfolders
    • Moved all assets related classes to the assets.* package
    • Added various debug commands to console. Open it up by typing /. Enter /help to list all available commands.
    • Added /fps command to console to display FPS chart over time.
    • Added /ctrl command to visualize and debug controller (keyboard or gamepad).
    • Fixed various FPS values issues
    • Better "active" level management, through startLevel() method
    • Cleaned up Main class
    • Renamed Main class to App
    • Renamed Data class to CastleDb
    • Replaced pixel perfect filters with a more optimized one (now using Nothing filter)
    • Added many comments and docs everywhere
    • Added XML doc generation for future proper doc
    • Removed SWF target (see you space cowboy)
    • Added this CHANGELOG ;)
  • Entity:

    • All entities now have a proper width/height and a pivotX/Y factor
    • Separated bump X/Y frictions
    • Fixed X/Y squash frictions (forgot to use tmod)
    • Added a sightCheck methods using Bresenham algorithm
    • Added isAlive() (ie. quick check to both destroyed flag and life>0 check)
    • Added .exists() to Game and Main
  • Camera:

    • Cleanup & rework
    • Added zoom support
    • Camera slows down when reaching levels bounds
    • Camera no longer clamps to level bounds by default
    • Added isOnScreen(x,y)
  • UI:

    • Added basic notifications to HUD
    • Added debug text field to HUD