[READ-ONLY] Mirror of https://github.com/excaliburjs/Excalibur. 🎮 Your friendly TypeScript 2D game engine for the web 🗡️ excaliburjs.com
excalibur excaliburjs game-development game-engine game-framework gamedev games html5-canvas typescript

fix: Spritesheet Spacing Options, allowing Vectors (#3350) master

### SpriteSheet.ts - modified SpriteSheetSpacingDimensions originOffset and margin to accept optional Vectors - modified fromImageSource to test for instance of Vector and handle it properly, while maintaining backward compatibility ### SpriteSheetSpec.ts - added test: `can be created from with spacing using vectors` ### Updated docs entry on Spritesheets to note that Vectors are now allowed Ran locally and verified functionality using both vec() and new Vector --------- Co-authored-by: Erik Onarheim <erik.onarheim@gmail.com>


+58 -6
4 changed files