Sprite

Sprite class for making 2D animations. Using png image to create a graphics object which can be positioned, rotated and scaled.
188 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 (2026). Sprite (https://www.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
Version Published Release Notes
1.0.1

Metadata change

1.0.0