This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for sprite sheet slicer

Return to sprite sheet slicer

A new version of this scenario was uploaded on Sun May 26 10:38:55 UTC 2013 changed the thumbnail
A new version of this scenario was uploaded on Sun May 26 11:30:22 UTC 2013 now also includes a method which checks if the colored part of and image is touching another class.
Game/maniacGame/maniac

2013/5/26

Any ideas of how I can improve this
JetLennitJetLennit

2013/5/26

Show how to make an animation with it
Game/maniacGame/maniac

2013/5/26

Ok
Game/maniacGame/maniac

2013/5/26

Done
A new version of this scenario was uploaded on Sun May 26 20:29:49 UTC 2013 animation
A new version of this scenario was uploaded on Sun May 26 20:46:08 UTC 2013 another animtio
Game/maniacGame/maniac

2013/5/26

Also if you switch the topLeftX and bottomRightX inputs around it flips the image
A new version of this scenario was uploaded on Mon May 27 15:29:13 UTC 2013 added a new method of using a sprite sheet
A new version of this scenario was uploaded on Mon May 27 15:54:28 UTC 2013 documented the SpriteSheet class so it is easier to undersatnd how to use it. added more methods
Entity1037Entity1037

2013/6/12

I wonder if it would be easier to use giff images...? You can make the image itself determine weather to loop or not, so it would be great for making animations of all kinds.
Game/maniacGame/maniac

2013/6/13

The point is that you could use multiple images from one image, this is used in games which have lots of images so it os easier to find them and access them
Entity1037Entity1037

2013/6/13

Ah, OK then that makes sense. Hey, do you know what the import for animated gif images is? Because I don't know it, and I can't find it anywhere on the internet.
I am pretty sure you can't use gif imges in Greenfoot.
Game/maniacGame/maniac

2013/8/5

they work in greenfoot but not on the site
Game/maniacGame/maniac

2013/8/5

though you need to import a class first
Game/maniacGame/maniac

2013/8/5

@entity you have to go to edit then import in the greenfoot application
Entity1037Entity1037

2013/10/1

You know, if you were to get the absolute value of bottomLeftX-topLeftX, it would give you exactly the correct width? The same goes for the Y values to! Don't you think that would of been easier for us? :P
Entity1037Entity1037

2013/10/1

LOL I mean bottomRightX-topLeftX. (whoops)
Game/maniacGame/maniac

2013/10/1

I didn't know about what the absolute function did when I made this. I may add that later on, I am working on another project at the moment.