silveira / openpixels

Open and free pixel arts works for games like tile sets and characters
http://silveiraneto.net/tag/pixelart
Creative Commons Attribution Share Alike 4.0 International
83 stars 15 forks source link

the lost html. still alpha, but working. #2

Closed sombriks closed 12 years ago

sombriks commented 12 years ago

Instead upload a folder called layer, just change the refrence for this folder inside index.js:

var op = new OpWorld({ viewport : { w : 800, h : 600 }, root : "../../../layers", ctx : ctx });

the next commit must cover groundmap, but in order to draw the ground, first we need to reproduce double-buffering. There are some options to do it, a hidden canvas included.