Sprite

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

You are now following this Submission

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 .

Categories

Find more on Display Image in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Metadata change

1.0.0