Sprite
Version 1.0.1 (8.92 KB) by
Urban Eriksson
Sprite class for making 2D animations. Using png image to create a graphics object which can be positioned, rotated and scaled.
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 LinuxCategories
- MATLAB > Graphics > Images > Display Image >
Find more on Display Image in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
