Discord
Login
Community
DARK THEME

Way to choose a single frame

I need a way to choose a single frame of a sprite (in microscript 1) instead of the sprite just playing. If not, is there a way to select an area of pixels from a big sprite also in microscript 1?

For custom animation, it's easiest to use a spritesheet combined with screen.drawSpritePart.

https://microstudio.dev/i/gilles/spriteanimation/

You can also refer to individual frames - for example, to change them or generate them again.

  spr = sprites["animated sprite name" ]
  print( spr ) 
  print( spr.frames )
  spr.frames[0] = image

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community