Litecanvas is a lightweight HTML5 canvas 2d engine suitable for small games and creative programming for people who enjoy coding.

Join the community: https://discord.com/invite/r2c3rGsvH3

Warning: This project is still in the "alpha" stage. Break changes may occur frequently. All feedback is welcome and appreciated.

Features

  • Web-based: You don't need to install anything.
  • Simple API: Just few functions to draw shapes and some utilities to other things to play sounds and math.
  • Predefined colors: Just use a number (from 0 to 11) to choose a color in our 12-color palette.
  • Retro sounds: Create and play sound effects with ZzFX.
  • Extensible: Use or create plugins to add functionalities or change the engine.
  • Playground: Our playground works even offline, very useful for testing ideas anywhere anytime (even on your mobile phone).

Useful links

Updated 11 days ago
StatusIn development
CategoryTool
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorLuiz Bills
Tags2D, coding, Game engine, html5, javascript, lightweight, minigames, Open Source, PICO-8, tiny
Code licenseMIT License
Average sessionDays or more
InputsMouse, Touchscreen
LinksHomepage, Discord, GitHub

Development log

View all posts

Comments

Log in with itch.io to leave a comment.

is mobile supported?

Yep, you can use it on mobile. Did you encounter any problems?

no problems. i see the touch works perfect. but i can't see any multitouch in the demo.

multitouch is not supported YET

(1 edit)

okey. i'll be waiting for multitouch function. love your game engine! 👍

parent.addEventListener('touchmove', function(event) {    
    
    // finger 1
    let x1 = event.touches[0].clientX;
    let y1 = event.touches[0].clientY;
    
    // second finger
    let x2 = event.touches[1].clientX;
    let y2 = event.touches[1].clientY;
});

added multitouch support in the latest version :)