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

Report as inappropriate.

MrCohen
MrCohen presents ...

2019/5/10

Spritefoot (3.5.4 compatible)

As a teacher, I've noticed that students often want to take sprite sheets (single image files containing many smaller, individual images) and cut them into smaller sprites for use in their Greenfoot project. While there are a few different online solutions, I wasn't really happy with any of them, and Greenfoot has no built in support for Spritesheets. So, I've created this little tool. It's written in Greenfoot, so the code itself is an exploration activity for astute students who are interested. It works, mostly, and I'm always making small changes and improvements. Your feedback (bug reports, etc) are welcome. Remember, though, be kind - it's a work in progress.

Note - it won't even work on the gallery due to the fact that it opens files, which is obviously not supported here. However, the code works fine when you download it and open it in Greenfoot. This version should work with any version of Greenfoot 3.0 or higher, but has only been tested with 3.5.4

260 views / 2 in the last 7 days

Tags: mouse with-source image sprite manipulation bufferedimage awt

open in greenfoot
Your browser is ignoring the <APPLET> tag.
HTML5 version not available | Scenario not running?
A new version of this scenario was uploaded on 2019-05-14 18:23:49 UTC Now more compatible with smaller spritesheets. Fixed some minor bugs. Still plenty more to find, though! Your bug reports are welcome.
A new version of this scenario was uploaded on 2019-05-14 18:46:59 UTC Now has a background color! And less troubleshooting messages...
A new version of this scenario was uploaded on 2019-05-14 18:50:01 UTC

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.