[go: up one dir, main page]

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

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.
  • Predefined sounds: Packed with 4 sounds created in 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

Development log

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 :)