v0.4.0 and a New Tutorial!


Hey there! Here comes another update to ct.js. It also contains a new tutorial on how to create a simple platformer! It is different from the Greed demo, though, so check it out!


A notable change is the internal debugger. It also has handy QR codes so you can test your games on mobile devices that are in your local network.


Another improvement comes to tiles. They got faster, layers can now be hidden or moved to a new depth, and a new method ct.place.tile comes, that allows you to test collisions between copies and tiles! An updated Greed demo already uses it. Level design got much more easier!

The whole room editor got a bit better. You can now move around by holding the middle mouse button and spawn multiple copies or tiles at once by holding the Shift key.


Some more good news is that ct.js is now capable of turning ES6 to ES5, so your games are now more widely supported.

Happy coding for you all!
Below goes a list of all the changes.

โšก General Improvements

  • Add a room's name to its properties in the exported project
  • Add a Shift modifier to place multiple copies or tiles at a room at once
  • Add conversion to ES5
  • Add QR codes and local addresses to the preview window
  • Add tile culling
  • Disable scaling and set proper width on mobile devices. Combine it with ct.fittoscreen to make your games mobile-ready (graphically)
  • More consistent and intuitive tile and copy placement on grids in room editor
  • More consistent behavior of ct.fittoscreen
  • Move room templates to a JS object ct.rooms.templates
  • Reorder room creation process to allow modifying room's view by copies' On Create code
  • Set ct as a JavaScript object, move the canvas tag and all its properties to ct.HTMLCanvas

โœจ New features

  • Add ct.touch module
  • Handling of copy-tile collisions with ct.place.tile
  • Integrated debugger
  • Show/hide certain tile layers

๐Ÿฑ Demos

  • Add a Platformer tutorial example project and its assets
  • Update Catformer demo
  • Update Catsteroids demo

๐Ÿ› Bugs Fixed

  • Clean up logical assets after deleting a type or a graphical asset
  • Fix checkboxes on the Settings tab not showing their saved state
  • Fix HTML / CSS minification not working
  • Fix preloader and random startup errors
  • Room editor: Fix Shift and Ctrl modifiers working after a context menu was called.

๐Ÿ’„ UI Improvements

  • A bit better buttons
  • Fix copy palette being visible on room's events screen
  • Prevent clipping of sprite sheet settings at graphics editor on smaller screens. Move collision shape show/hide control to the left column.
  • Tile editor improvements

๐Ÿ“ Docs

  • Add a Platformer tutorial
  • Add info about ct.js engine to docs' homepage
  • Document ct.place.tile

Other

  • ๐Ÿ“„ License: Remove edit prohibition for 3rd party libraries
  • ๐Ÿ’ฌ Rename 'Graphic' to 'Graphics'
  • ๐Ÿ”– Bump ct.fittoscreen version
  • ๐Ÿšš ๐Ÿฑ Move SpaceShooter demo to a better location
  • ๐Ÿฑ Add a simple .desktop file for linux

Files

ct-linux32.zip (stable) 127 MB
Version 0.4.0 97 days ago
ct-linux64.zip (stable) 124 MB
Version 0.4.0 97 days ago
ct-osx64.zip (stable) 129 MB
Version 0.4.0 97 days ago
ct-win32.zip (stable) 122 MB
Version 0.4.0 97 days ago
ct-win64.zip (stable) 125 MB
Version 0.4.0 97 days ago

Get ct.js

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

kool man.

Good job :D