Questions tagged [canvasengine]

A Framework to create video games in HTML5 Canvas

CanvasEngine gives you all the means to easily create a game in HTML5 Canvas. A simple API with a structure thought the games.

Features

Scene Structure

Multiplayer model

Preloading

Animations

Timeline

Keyboard and Gamepad

Sound

Scrolling

Level Design

Save & Load

Spritesheet Management

Mouse Control

Elements Manipulation

Licence

MIT. Free for commercial use.

Links

Website

Github

Documentation

5 questions
2
votes
1 answer

using canvas engine and tiled map editor get "Uncaught TypeError: Cannot read property 'firstgid' of undefined"

I'm programming game with javascript and HTML5 canvas and i have one error when drawing map. I use the Tiled class provide by canvasEngine framework and I get this error : Uncaught TypeError: Cannot read property 'firstgid' of undefined in…
1
vote
0 answers

Canvas-engine and Fancybox

So the problem is easy. I want canvas-engine in the fancybox. So when I click on some fancybox item it loads some file in it. I that file I have added canvas-engine and script file where I write my scenes and the game. But I cant get it working it…
Jānis Veiss
  • 147
  • 1
  • 1
  • 9
1
vote
0 answers

canvasengine limiting elements display inside an element

I am trying to display some element wrapped up inside another element, and just display a certain part of them (limited in a rect) I tried to use .clip() on the parent element, but then i got a lot of strange results : like if I change the parent x…
reonz
  • 11
  • 2
0
votes
1 answer

Canvas engine reverse sprite sheet

I am using sprites for my game in Canvas-Engine and is there possible way to play animation backwards. If I put frames from 10 to 0 it does not work. animations:{ frames: [10, 0] } Or is there way to mirror the image at each loop? But in some…
Jānis Veiss
  • 147
  • 1
  • 1
  • 9
0
votes
1 answer

canvasengine Tiled_server Error: ENOENT, open './map.json'

This is my problem: I try start Canvasengine example server and I get this error. root@vps185158:/# node /var/www/canvas/canvasengine/examples/tiled_server/server/server.js info - socket.io started debug - client authorized info -…