grrd's Puzzle

grrd’s Puzzle is a HTML5 jigsaw puzzle game.

建立方法 JavaScript, HTML5, Canvas, Mobile, Files

  • 374 個檢視數
  • 2 條回應

作者所寫的更多關於此 Demo 的資訊

grrd’s Puzzle is a HTML5 jigsaw puzzle game for your smartphone, tablet or desktop. You can choose from various images or play with your own pictures at the level of difficulty of your choice. It uses the canvas-element with the kinetic.js framework and scales dynamically to run fullscreen on any device.
Settings are stored in the HTML5 localStorage. The exif-information of local images is used to rotate them if needed. On FirefoxOS-Devices, the pick-activity is used to load local images.

Now available on Firefox Maketplace:
https://marketplace.firefox.com/search?q=grrd
and Chrome Web Store:
https://chrome.google.com/webstore/search/grrd?hl=de

共有 2 條回應

Log in to add your own.

  1. Darbicus 說,

    Cool, but I wish you had used a randomized shape rather than all the shapes being exactly the same. You could use my code here https://developer.mozilla.org/en-US/demos/detail/jigsaw-puzzle also here http://jsfiddle.net/Darbicus/pT4Bu/21/ to generate random shapes that look like natural puzzle pieces(or maybe just more challenging pieces).
  2. grrd 說,

    Hi Darbicus
    Thanks for your comment! The shape of each piece is defined by 8 bezier curves. Shifting these point by some random pixels should not be too difficult. However, this is not the direction my project will develop in the near future. Currently I'm working on publishing this in Demo in different WebApp-Stores like Chrome, Amazon and the brandnew FirefoxOS. And when I'm done with this, I'll try to create native iPhone/Android apps with PhoneGap.

About this Demo

下載原始碼 18518.6 KB · ZIP 格式

Browse the Source

此 demo 係以 MPL/GPL/LGPL 條款進行授權。

grrd 的更多作品