Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@excaliburjs/plugin-aseprite
Advanced tools
Readme
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);
});
PRs welcome to address!
FAQs
Aseprite Resource Plugin for Excalibur
The npm package @excaliburjs/plugin-aseprite receives a total of 9 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 4 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.