Homebrew [Release] Falling Blocks Watch Out - a Tetris clone

Spaqin

Well-Known Member
OP
Member
Joined
Feb 17, 2015
Messages
123
Trophies
0
Age
29
XP
199
Country
Poland
Hello GBATemp!

Thanks to all of you who helped me with my issues and of course my hard work, I've been able to create a Tetris clone.
I always wanted to do that. I was especially inspired by Tetris DS.
So, I made this little thing in C. It's open source too, so if you have a better idea of a Tetris clone, you're free to use it, just please include me as the original author.

But what's so different about this one?
It's more configurable than most official games. You can tweak many settings if controls feel sloppy or too fast. But, these are only changeable in a text file - I haven't bothered to make a menu (yet). Also, different skins/themes can be installed too, so if you think the default theme is ugly (and it surely is). I'll refer you to the readme on my github page:
https://github.com/Spaqin/fbwo-3ds

Also, the download for you who don't want to be bothered with compiling is there too:
https://github.com/Spaqin/fbwo-3ds/releases

With the first release, you get:
- SRS (Super Rotation System, used in Tetris DS), not some wonky rotation system that doesn't work half the time, with this you can play on 20G,
- Bag-style random generator - the seven Tetrimin- I mean pieces are shuffled, so no chance of getting more than two pieces in a row,
- Hi-score support - but if you change the settings (not level or theme though), it will be reset, as it's easy to change important values that would definitely invalidate the previous score, and it saves automatically after game over and on proper exit,
- 3D support - okay, it's actually nauseating and I don't recommend playing with that, but I don't have an idea how to do this properly.

What you don't get, though:
- as mentioned earlier, any kind of menu
- music - that's kinda important, what kind of a Tetris clone would it be without the soundtrack
- T-spin recognition - these work, from what I noticed,
- some special effects and indicators would be nice, I guess.

Installation?
Unpack the archive on your SD card. fbwodata folder must be on the root, and of course .3dsx in /3ds/fbwo/

And CIA can be installed from anywhere.

I thought of including some showcasing video, but well, that's Tetris.
Also, I'd upload it earlier, but I was too busy playing it :^)

If you have any issues, please read the readme first, ask questions later.

v0.2:
- you can now swap L/R buttons
- added TGM rotation system along with ARE (which can be used in SRS too if someone likes)

Thanks?
smealum for ctrulib
xerpi for sf2dlib and sfillib
traktorex for the banner music (and maybe possibly game music in the future)
everyone who helped me with my problems here
my girlfriend for not existing and not taking up my time
Nintendo for making a good game ten years ago
Alexey Pajitnov, for inspiring everyone

Screenshots:
Default theme:
Esy5zEb.png


Gameboy theme by RozPierog:
ELjvPPd.png
 
Last edited by Spaqin,

mashers

Stubborn ape
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
Thank you, this is great! I especially appreciate the inclusion of a CIA in the release. One question, is it possible to disable the indicator which shows where the falling piece will end up?
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Wow, this looks really nice... As a fan of the TGM series, though, the block colors and rotation system (along with a few other things) look like they'll be disorienting... any possible chance I could pester you into including them... :D If not I totally understand but it'd be awesome to have options for these :)
 
  • Like
Reactions: Shadowfied

Spaqin

Well-Known Member
OP
Member
Joined
Feb 17, 2015
Messages
123
Trophies
0
Age
29
XP
199
Country
Poland
Thank you, this is great! I especially appreciate the inclusion of a CIA in the release. One question, is it possible to disable the indicator which shows where the falling piece will end up?
/fbwodata/config.cfg -> ghost_piece 0

Forgot to mention, PLEASE LET US HOLD WITH R AS WELL!
OK, going to add this in the next release - a config variable that will swap the shoulder buttons' functionality.

Wow, this looks really nice... As a fan of the TGM series, though, the block colors and rotation system (along with a few other things) look like they'll be disorienting... any possible chance I could pester you into including them... :D If not I totally understand but it'd be awesome to have options for these :)
You're free to modify the block colors, just by changing default theme files - they're all PNG! About TGM's rotation system - I thought of including that, but couldn't find a nice, programmer-oriented write-up, and SRS was the one I wanted the most.

You should make it so that anybody can add their own music, that would make it truly customizable!
That was my plan in the beginning, but for now I don't know how to play music at all.
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
You're free to modify the block colors, just by changing default theme files - they're all PNG! About TGM's rotation system - I thought of including that, but couldn't find a nice, programmer-oriented write-up, and SRS was the one I wanted the most.

Alright, will do with the pieces :) also, not sure if you saw this but this may help... it's pretty simple https://tetris.wiki/ARS
 
  • Like
Reactions: hobbledehoy899

Spaqin

Well-Known Member
OP
Member
Joined
Feb 17, 2015
Messages
123
Trophies
0
Age
29
XP
199
Country
Poland
Alright, will do with the pieces :) also, not sure if you saw this but this may help... it's pretty simple https://tetris.wiki/ARS
You might be interested in the new release then. I'm not very familiar with it, I just tried to emulate what was on that site, so if any bugs occur, please tell. Also, you need to change the config.cfg first probably, set your ARE value and ars to 1.

Download is in the same place, github.
 
  • Like
Reactions: dark_samus3

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
You might be interested in the new release then. I'm not very familiar with it, I just tried to emulate what was on that site, so if any bugs occur, please tell. Also, you need to change the config.cfg first probably, set your ARE value and ars to 1.

Download is in the same place, github.
Wow, thank you for bothering to add that for me :) haven't tested yet but I'll report back (and let others know about this so they can test and report back) when I've had a chance
 

Slashcash

Well-Known Member
Member
Joined
Oct 15, 2015
Messages
338
Trophies
0
XP
611
Country
Italy
Very well executed. Fun and playable (my ds is now stuck with this and the picross clone)

That bird picture in the background has a somewhat creepy unnatural and inanimated feeling to it. I don't know why you chose it as the default one XD
 

Spaqin

Well-Known Member
OP
Member
Joined
Feb 17, 2015
Messages
123
Trophies
0
Age
29
XP
199
Country
Poland
That bird picture in the background has a somewhat creepy unnatural and inanimated feeling to it. I don't know why you chose it as the default one XD

Had to find a bright picture (as scores are dark) and that was the first one in my photo collection that suited.

You can change it if you want, you know.

...I'm kinda waiting for a GameBoy theme :^)
 

Spaqin

Well-Known Member
OP
Member
Joined
Feb 17, 2015
Messages
123
Trophies
0
Age
29
XP
199
Country
Poland
Thank you! :) I can add sound and music support if you like.

Nah, I'd prefer to learn it myself. You know, I'm doing it to learn something and for now, and I think it's a good opportunity.

Also, my friend RozPierog made a gameboy-ish theme, available for download here:
https://mega.nz/#!6xhUWCDJ!jUM6sUQmS-xMWzrIvRGsiR5YL33H7nPIiUK-PfBOP_0

All you need to do is unpack the archive to /fbwodata folder and change "theme default" in config.cfg to "theme GameBoy!".

Sorry for no screenshots, I have no idea how to make them, and HANS doesn't work with it on emuNAND.
 
Last edited by Spaqin,

mashers

Stubborn ape
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
Nah, I'd prefer to learn it myself. You know, I'm doing it to learn something and for now, and I think it's a good opportunity.
I totally understand. That's the same reason why I resisted putting Gridlauncher on GitHub for so long ;) Feel free to poke around in the source code for Gridlauncher - I made some C audio structs and csnd wrapper functions which might be helpful for you.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol