Homebrew [Release] Sliding-Puzzle

Should I make a .CIA of this?

  • Yeah!

    Votes: 13 100.0%
  • Nah.

    Votes: 0 0.0%

  • Total voters
    13
  • Poll closed .

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,362
Country
United States
UoiGQ5J.png


Good morning/afternoon/evening tempers! Today I've finished and decided to release a little project
that I've been (sparingly) working on since May this year. This homebrew game was made in Lua for
the actual game, and with java for the .jar executables for setting up custom puzzles. This game
was made using the incredible framework LövePotion, which I'll go on to say that it's compatibility
with Citra made development a breeze, and it's error handling system made debugging a cinch!

This game is all about solving slide-puzzles! You start with 8, 15, or 24 pieces and must arrange them into their original order based on a picture on each piece. Once all pieces are in their correct place, the timer will stop and the last piece will be revealed!

Now onto some screenshots and features. ;)

Screenshots:
Main Menu
i65wApj.png


Main Menu With Debug Puzzle Enabled
KGJYSCS.png


3x3 Puzzle (Unsolved)
Fq4cBUX.png


3x3 Puzzle (Solved)
uZIitaE.png


3x3 Custom Puzzle (Unsolved)
L3UYe7j.png


3x3 Custom Puzzle (Solved)
AZSNJRC.png


3x3 Custom Puzzle (Unsolved/CIA)
Ao1Efe7.png


3x3 Custom Puzzle (Solved/CIA)
qDndkku.png


4x4 Puzzle (Unsolved)
4yZbTfs.png


4x4 Puzzle (Solved)
2Z5Vb48.png


4x4 Custom Puzzle (Unsolved)
v4Tsryy.png


4x4 Custom Puzzle (Solved)
jZlcUwk.png


4x4 Custom Puzzle (Unsolved/CIA)
LVApTFO.png


4x4 Custom Puzzle (Solved/CIA)
uCftfYA.png


5x5 Puzzle (Unsolved)
KFJ5SOQ.png


5x5 Puzzle (Solved)
6CcXTzF.png


5x5 Custom Puzzle (Unsolved)
N7AFO67.png


5x5 Custom Puzzle (Solved)
KC0xmii.png


5x5 Custom Puzzle (Unsolved/CIA)
3JIKBSH.png


5x5 Custom Puzzle (Solved/CIA)
KZ0exk3.png


Debug Puzzle (Unsolved)
RhnrO9V.png


Debug Puzzle (Unsolved + Randomized)
8tUBrvr.png


Debug Puzzle (Solved)
NHGL78X.png

Features:
  • 3x3 Slide-Puzzle (Skull Kid Theme)
  • Custom 3x3 Slide-Puzzle (Default Theme/Kirby Theme if CIA)
  • 4x4 Slide-Puzzle (Samus Theme)
  • Custom 4x4 Slide-Puzzle (Default Theme/Pikmin Theme if CIA)
  • 5x5 Slide-Puzzle (Mario and Luigi Theme)
  • Custom 5x5 Slide-Puzzle (Default Theme/Animal Crossing Theme if CIA)
  • Debug 3x3 Slide-Puzzle (Can be enabled from main menu with L+R+B)
  • All puzzle layouts randomized (Every time)
  • Timer to keep track of time (On every puzzle)
  • Jar executable and instructions in each of the custom puzzle folders to set up a custom theme (Folders Custom3x3, Custom4x4, and Custom5x5)
Controls:
  • 'D-Pad' controls cursor movement on the main menu, when paused, and in every puzzle
  • 'Start' pauses the current puzzle, and switches to the pause menu on the main menu
  • 'A' selects an option when in a menu, and moves a puzzle piece (If it can be moved)
Issues:
  • Sometimes crashes when selecting a puzzle from the main menu (Both 3DSX and CIA)
How To Set up Custom Puzzles:
NOTE: CUSTOM PUZZLES CAN ONLY (EASILY) BE DONE ON THE 3DSX VERSION!!!

Within the game folder, there are three sub-folders named "Custom3x3", "Custom4x4", and "Custom5x5", within each of these folders are a README.txt detailing how to set up a custom image for the puzzle, as well as a .jar executable named "Setup 3x3.jar", "Setup 4x4.jar", and "Setup 5x5.jar" for the respective folders.
For those that won't look at the README.txt in those folders, here is a word for word description on how to set up the custom puzzles. (It is copied from the "Custom3x3" folder's README.txt, just do this same thing with the other folders to set up custom puzzles for 4x4 and 5x5)

To set up a custom puzzle, do the following:

1) Copy a 240x240 png image into this folder (It must be named "3x3.png")
2) Launch the 'Setup 3x3.jar' file
3) Wait for 'Setup 3x3.jar' to finish the images 1-9
4) Enjoy your custom puzzle!

Side Note:
You can technically use the 'Setup 3x3.jar' in
the regular '3x3' folder for another custom puzzle.

And that's pretty much it! I hope you all enjoy this little game and don't crash too often. ;)

Download + Source:

Download: https://github.com/16BitWonder/Sliding-Puzzle/releases
 
Last edited by 8BitWonder,

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,362
Country
United States
Small update after looking over the functions:

Changes:
  • Small tweaks were made to two functions to keep the variables local, rather than global
  • Source code of the .jar files were added to github
Known Issue:
  • Sometimes crashes when selecting a puzzle from the main menu
Also as a side note, I plan to work on a .CIA this week, and will post again once it's done. (If I can get it working)
In the meantime have fun! ;)
 
Last edited by 8BitWonder,
  • Like
Reactions: Quantumcat

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,362
Country
United States
You may want to use the LovePotion fork: https://github.com/TurtleP/LovePotion
It doesn't use sf2d crap.
I tried that one and couldn't wrap my head around the new way fonts are loaded. So I switched back to the old build where it was working. If I can get the font loading on that version then I'll definitely make the switch.
 

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,362
Country
United States
You may want to use the LovePotion fork: https://github.com/TurtleP/LovePotion
It doesn't use sf2d crap.
I tried that one and couldn't wrap my head around the new way fonts are loaded. So I switched back to the old build where it was working. If I can get the font loading on that version then I'll definitely make the switch.
And yet within twenty minutes of having another go at it, I've got it working.
So thanks for saying that, now I can switch it to the new build. :yay:
 

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,362
Country
United States
Alrighty, new release is up!

Changes:
  • Switched to the newest release of LövePotion (Thanks @Joel16)
Known Issues:
  • Will sometimes crash when selecting a puzzle from the main menu
I'll take a look at building it as a .CIA sometime this week. Hopefully I can get it working.
 
Last edited by 8BitWonder,

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,362
Country
United States
New (and somewhat late) release is here!

Changes:
  • Added a CIA build in the releases
  • Set up themes for the Custom #x# puzzles (In the CIA build)
    • Custom 3x3 has a Kirby theme
    • Custom 4x4 has a Pikmin theme
    • Custom 5x5 has an Animal Crossing theme
Known Issues:
  • Will sometimes crash when selecting a puzzle from the main menu (Both 3DSX and CIA)
As a side note, the default themes for the custom puzzles in the 3DSX build will not change from the default. Since those are intended for the end-user to do themselves.
Also I went ahead and added screenshots of the custom puzzles in the CIA build to the original post.
I might also add that the TID for the CIA build is 0004000000C64900, that shouldn't conflict with anything, but you can check to be certain. (If it does, please tell me!)

As always, have fun people! :yay:
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Jaws is on a diet