cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 401 forks source link

API doco: Sprite init function missing scale attribute #169

Open benopotamus opened 9 years ago

benopotamus commented 9 years ago

As far as I can tell the doco should mention the scale attribute.

As per http://www.html5quintus.com/docs/sprite.html

var sprite1 = new Q.Sprite({ x: 500, y: 100, asset: 'enemy.png', 
                             angle: 0, collisionMask: 1, scale: 1});