Skip to content

Releases: arcadiogarcia/Clockwork.js

1.2.2

14 Jan 20:25
Compare
Choose a tag to compare

Just one bug fix:

  • Now addObjectLive creates the new sprite before adding the specified variables to the object, so if that variables mus be passed to the animation engine (they start with $), it can be done properly.

1.2.1

28 Nov 22:17
Compare
Choose a tag to compare

Some bug fixes:

  • Now #collide events can safely return #exit and load other level with the "cached" collision algorithm
  • instanceOf() now works correctly with objects that use single inheritance

1.2.0

27 Nov 17:31
Compare
Choose a tag to compare

This is the third release, and it is a minor one:

  • Collision queries have been added, allowing to know if a given shape will collide with any object on the level. (Useful for physics projections, collision calculations...)
  • A bug caused in the basicMouse preset by the lastest release has been fixed.

1.1.0

18 Nov 23:04
Compare
Choose a tag to compare

This is the second release, and includes many incremental improvements and fixes:

  • Multiple inheritance / composition: You can create preset that inherit their variables and colliders from multiple other presets, and will use composition to preserve the event handlers and functionality of the parent presets.
  • Full support for 3d collisions (including code for some colliders)
  • 'Cavalier' and 'Vanishing point' animation proxies that enable to create 3d games that are rendered in 2d
  • Collider tags for easy identification
  • The default collision algorithm performance has been greatly improved (recalculating only the necessary collisions)
  • The collision algorithm can be replaced by your own (in case you want to implement something fancy like octrees)
  • A custom loader (loading screen) can be set
  • Objects can now be deleted from a loaded level
  • Levels can now be loaded from an XML string, not only a file
  • Windows 10 Notifications and Camera preset
  • Bug fixes and performance improvements

1.0.0

13 May 20:57
Compare
Choose a tag to compare

This is the first release, and includes:

  • The core of the engine (Clockwork.js) that includes presets+levels loading functionality and event management
  • The ability to register collision shapes and detectors (currently only 'PointsAndBoxes' is written)
  • Compatibility with Spritesheet.js, a basic DOM animation library and the ability to use any animation library that implements the interface
  • Presets for mouse and keyboard input, and permanent storage
  • Server-side code (modified library version) + Preset + AnimationProxy to allow multiplayer games
  • Loading animation handler
  • Documentation of the engine + 5 examples that showcase almost all of the features