Sprite

Sprite class for making 2D animations. Using png image to create a graphics object which can be positioned, rotated and scaled.
172 Downloads
Updated 4 Jan 2019

View License

Sprite class for making 2D animations. Using png image to create a graphics object which can be positioned, rotated and scaled. Based on the image and the hgtransform classes. Coordinate transformations from the sprite reference fram to the current axis frame and back makes it possible to perform collision checking.

Cite As

Urban Eriksson (2025). Sprite (https://se.mathworks.com/matlabcentral/fileexchange/69907-sprite), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Display Image in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Metadata change

1.0.0