ippa / jaws

Jaws - HTML5 canvas javascript 2D Game Framework
https://jawsjs.ippa.se
GNU Lesser General Public License v3.0
363 stars 75 forks source link

Minor fixes to example 1 & 2 #23

Closed janhancic closed 12 years ago

janhancic commented 12 years ago

Change 'item.right' to 'item.x + item.width' and change 'item.bottom' to 'item.y + item.height', since 'Sprites' class does not seem to have those two properties.