Homebrew SpriteTools - A 3DS Development Library Aimed at Be

BtheDestroyer

Member
OP
Newcomer
Joined
Apr 1, 2016
Messages
16
Trophies
0
Age
26
XP
124
Country
United States
icon.128.png

What is SpriteTools?
In short, SpriteTools is a C header that works on top of sf2d to add some powerful tools for rendering sprites on screen.
As of 2.2, it adds:

  • Easier/more readable input detection
  • Spritesheets loaded from C files (sf2d) and image files (sfil)
  • Animations made from spritesheets
  • Entities that can be given animations and other properties
  • Cameras that can be used to modify how entities are rendered in various ways
  • A basic debugger that allows developers to view inputs, memory usage, and the values of up to 64 variables
  • Text color things
  • Time tracking so you can get how long it's been since your program started
  • A nice splash screen to show your support for the project


What's to come:
  • Rooms (levels) that store cameras and entities so you can store them together for easier switching
  • Collision between entities and background objects
  • Audio for sound effects and music
  • Save files for games (really just adding higher level options for file management)
  • Particle effects
  • Wii U exporting support

Where can I get it?

Here's a link to the Github page.


Here's a link to the releases page.

Here's a link to the tutorial I wrote. It's geared at beginners, so you should be good to go even if you haven't programmed much or at all in the past.
NOTE: The tutorial only gets updated for official releases, not Pre-releases (such as Betas). If you want to read all of the release notes for the pre-releases, go ahead and use them. If you just want to download and use the tutorial, stick to the official releases.

How can I stay up-to-date?

Here's the official Twitter account.

Here's the Trello Board with the future plans.
 
Last edited by BtheDestroyer,
  • Like
Reactions: proflayton123

Kaisogen

Member
Newcomer
Joined
Jul 5, 2016
Messages
18
Trophies
0
Age
22
Location
Probably at a PC
XP
51
Country
United States
Hmm.. I tried installing it using make install (bash shell), but it just gives this error:

"Error Message" said:
:~/Downloads/SpriteTools-2.2 $ make install
Installing libsfil dependency
Cloning libsfil from xerpi's github...
fatal: destination path 'dependencies/libsfil' already exists and is not an empty directory.
Makefile:169: recipe for target '/opt/devkitpro/libctru/lib/libsfil.a' failed
make: [/opt/devkitpro/libctru/lib/libsfil.a] Error 128 (ignored)
Making and installing...
sfil_jpeg.c
/home/pi/Downloads/SpriteTools-2.2/dependencies/libsfil/libsfil/source/sfil_jpeg.c:5:21: fatal error: jpeglib.h: No such file or directory
#include <jpeglib.h>
^
compilation terminated.
/opt/devkitpro/devkitARM/base_rules:84: recipe for target 'sfil_jpeg.o' failed
make[2]: *** [sfil_jpeg.o] Error 1
Makefile:95: recipe for target 'build' failed
make[1]: *** [build] Error 2
Makefile:169: recipe for target '/opt/devkitpro/libctru/lib/libsfil.a' failed
make: *** [/opt/devkitpro/libctru/lib/libsfil.a] Error 2

This is the latest release.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=fv6vlP2qSyo