Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@excaliburjs/plugin-aseprite
Advanced tools
This extension adds support for Aseprite SpriteSheets and Animations exported to json or the native .aseprite
file format.
> npm install @excaliburjs/plugin-aseprite
Use the native .aseprite
file format or using export json the aseprite cli or through the UI.
Load the Aseprite resource and voila ✨
AsepriteResource.getAnimation(name)
to retrieve animations by the name in asepriteAsepriteResource.getSpriteSheet()
to get the equivalent Excalibur SpriteSheetimport { AsepriteResource } from "@excaliburjs/plugin-aseprite";
const game = new Engine({
width: 600,
height: 400,
displayMode: DisplayMode.FitScreen
});
// Native
const asepriteSpriteSheet = new AsepriteResource('./beetle.aseprite');
// Or JSON export
// const asepriteSpriteSheet = new AsepriteResource('./beetle.json');
const loader = new Loader([asepriteSpriteSheet]);
game.start(loader).then(() => {
const anim = asepriteSpriteSheet.getAnimation('Loop');
const actor = new Actor({pos: vec(100, 100)});
actor.graphics.use(anim);
game.currentScene.add(actor);
});
To start development server:
npm start
To watch:
npm run watch
To compile only:
npm run build
To run tests:
npx playwright install
npm test
To update snapshots
Windows
npx playwright test --update-snapshots
Linux for CI
docker run --rm --network host -v C:\projects\excalibur-aseprite:/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.43.1-jammy /bin/bash
npm install
npx playwright test --update-snapshots
PRs welcome to address!
FAQs
Aseprite Resource Plugin for Excalibur
The npm package @excaliburjs/plugin-aseprite receives a total of 137 weekly downloads. As such, @excaliburjs/plugin-aseprite popularity was classified as not popular.
We found that @excaliburjs/plugin-aseprite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.