[Release] Biniax2 for 3ds

Discussion in '3DS - Homebrew Development and Emulators' started by nop90, Jun 29, 2016.

  1. nop90
    OP

    nop90 GBAtemp Maniac

    Member
    1,430
    2,136
    Jan 11, 2014
    Italy
    Rome
    logo.png


    Biniax is open-source puzzle game by Jordan Tuzsuzov. The game play is extremely simple – move around your block and clean your way ahead.
    The gaming field is 5 × 7 pairs of elements. Every pair consists of two elements out of four possible types (colors). Player is a single element, who can move on empty fields or can take a pair, if the player's element is present in the pair. If a pair is taken, the player's element is swapped to the other element of the pair. The field is scrolling down on time event or after certain moves are spend (depending on the game mode). Game over is when there is no move for the player.

    --------​

    Some weeks ago I was searching for an open source puzzle game to be ported on 3DS and I discovered Biniax2, an addicting game already ported to a lot of systems.

    Today having some free time, I ported it on 3ds in few hours (this is quick and very dirty port).

    The first release is an alpha version and at the moment is only in 3dsx format, the CIA format will be added later.

    The single player modes are complete.

    In the two players mode you can control only the 1p. For the 2p I impemented a very basic AI to play vs CPU (almost random moves at the moment). I would like to implement a wireless connection too for the two players mode and I'm studing on 3dbrew how to do it.

    The homepage of the author is http://biniax.com/.

    The source code of my port is on my github (https://github.com/nop90/Biniax2-3DS).
    The compiled game is released on github (https://github.com/nop90/Biniax2-3DS/releases).

    Enjoy this game ad let me know the bugs you find.

    Credits:
    The original game is made by Jordan Tuzsuzov (http://biniax.com/)
    This game uses the sf2d sftd and sfil libraries created by @xerpi

    Changelog

    Ver. 0.4 alpha (4 July 2016)
    - Used a bigger font
    - Fixed a bug typing on ther virtual keyboard in the Hall of Fame for tactica mode
    - Added a very simple AI to play vs CPU in multiplayer mode
    - Added CIA version

    Ver. 0.3 alpha (1 July 2016)
    - fixed a crash at 2000 points

    Ver. 0.2 alpha (30 June 2016)
    - forced a custom type from char to signed char (was the cause of some small bugs)
    - changed key mappings
    - disabled moving the tile using the touchscreen
    - updated the help text

    Ver. 0.1 alpha (29 June 2016)
    - First alpha release.

    Installation

    In the zip there is a folder with the 3dsx and the smdh files inside, to be used with a homebrew launcher. All the resources are included in the executable using romfs.

    The game creates a Biniax2 subfolder inside the 3ds folder if doesn't exist. Here will be saved your scores.

    Commands

    Game
    - Move tile: arrows keys
    - Clear your column (if the broom count is > 0) : B
    - Pause the game and exit to menu (autosaving the game that can be continued later): X

    Menu
    - Move: Up-Down keys
    - Select menu options: A
    - Exit from submenu: A

    Hall of Fame
    - Insert your nickname using the virtual keyboard with the touchpad
    - Save your nickname with A or touching the Enter simbol on the virtual keyboard

    Known Bugs

    -CIA version crashes exiting the game

    To Do List

    - Add a wireless link to play 2 players mode with two 3DS
    - Implement a better AI

    Screenshots

    Biniax01.png Biniax02.png
     
    Last edited by nop90, Jul 4, 2016
    Cid2mizard, Konno Ryo, cearp and 8 others like this.
  2. Khangaroo

    Khangaroo $ORIGINALTITLE

    Member
    431
    190
    Feb 27, 2016
    United States
    192.168.1.3 (don't ddos me!)
    I thought it was a hax entrypoint for a second.
     
  3. DinohScene

    DinohScene Capture the Dino

    Member
    GBAtemp Patron
    DinohScene is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    16,264
    12,860
    Oct 11, 2011
    Antarctica
    В небо
    This looks like a lot of fun!
     
  4. Nintendo Fanboy

    Nintendo Fanboy GBAtemp Maniac

    Member
    1,030
    397
    Mar 6, 2015
    United States
    In Los Santos, GTA: San Andreas.
    Looks nice!! I'll definitely try it!!
     
    nop90 likes this.
  5. nop90
    OP

    nop90 GBAtemp Maniac

    Member
    1,430
    2,136
    Jan 11, 2014
    Italy
    Rome
    Wait some hours for v0.2.

    I already fixed the bugs. I only need to test it on a real 3ds.
     
    Last edited by nop90, Jun 30, 2016
  6. nop90
    OP

    nop90 GBAtemp Maniac

    Member
    1,430
    2,136
    Jan 11, 2014
    Italy
    Rome
    Uploaded on github release v0.2alpha that fixes all the bugs of the single player mode.

    I changed the key mappings to make the controls more confortable. Now you can pause (and save the state) of a game with X and clear a column with B.

    I also updated to the latest ctulib version that adds support for UDC connecrion (3DS to 3DS wireless connection). I'm studying the udc example code to implement the 2 players mode with two connected 3ds.
     
    cearp and memomo like this.
  7. nop90
    OP

    nop90 GBAtemp Maniac

    Member
    1,430
    2,136
    Jan 11, 2014
    Italy
    Rome
    I just discovered two things:

    1) my 8 yrs daughter is much better than me at this game
    2) if you reach 2000 points the game crashes

    I already found in which part of the code the bug is located, tonight I'll debug it to fix the problem.

    Meanwhile play it only on citra (on the emulator every 2000 points the screen flickers a little but the game continues).
     
    Erikku likes this.
  8. duffmmann

    duffmmann GBAtemp Psycho!

    Member
    3,813
    1,579
    Mar 11, 2009
    United States
    Cool! I'll give this a try when I get home. I wish more people (who know what they're doing like you, sadly i do not) would port more home-brew games to the 3DS, there are a lot of great titles out there that I'm sure could easily be playable on the 3DS, but just haven't been ported.
     
  9. nop90
    OP

    nop90 GBAtemp Maniac

    Member
    1,430
    2,136
    Jan 11, 2014
    Italy
    Rome
    I'm happy that someone likes homebrews and not only pirated games.

    This one is a very simple game but very addictive, the kind of game that thousands people play on an android device.

    And I'm also working on other interesting projects...
     
    duffmmann likes this.
  10. Erikku

    Erikku GBATemp's Official Cancer Treatment

    Member
    251
    220
    Jan 21, 2016
    United States
    The channel description
    git gud m8

    just kidding, great job porting this, might look at it when I have free time
     
  11. Ricken

    Ricken And you must keep your soul

    Member
    2,244
    2,484
    Jan 19, 2016
    United States
    Shibuya, The small one from Vegas
    I just got scared sick. I thought the title said "[Request] Binhax for 3ds"

    Looks kinda like Dr. Mario, so I'll give it a go
     
  12. Temarile

    Temarile (ノ◕ヮ◕)ノ*:・゚✧ A9LH ✧゚・: *ヽ(◕ヮ◕ヽ)

    Member
    1,132
    422
    Jan 7, 2016
    Netherlands
    It's so cool what you can do with homebrew. I might want to check this out :D
     
  13. nop90
    OP

    nop90 GBAtemp Maniac

    Member
    1,430
    2,136
    Jan 11, 2014
    Italy
    Rome
    I fixed the bug, now I'm doing some deeper testing.

    And I'm getting better at playing it. :D

    If I find a good wav sound file for the banner I could release a cia version too tonight.
     
  14. Jayro

    Jayro MediCat USB and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,124
    2,799
    Jul 23, 2012
    United States
    Octo Canyon
    Looks very cool, looking forward to playing some of your later versions.
     
  15. nop90
    OP

    nop90 GBAtemp Maniac

    Member
    1,430
    2,136
    Jan 11, 2014
    Italy
    Rome
    V0.3alpha released.

    Now the game seems to be stable.
     
    Tebra likes this.
  16. SLiV3R

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,211
    1,044
    Jan 9, 2006
    Cool release man! :)
     
  17. nop90
    OP

    nop90 GBAtemp Maniac

    Member
    1,430
    2,136
    Jan 11, 2014
    Italy
    Rome
    I'm almost ready for releasing a new version in both 3dsx and CIA formats.

    I corrected a bug with the virtual keybord for the Tactic Game, used a bigger and sharper font to increase readibility and, not liking that multiplayer mode without an opponent, implemented a basic AI to play against the CPU.

    The CPU algorithm is very basic, but I can work on it.

    I have also a fork where I'm implementing a multiplater mode with two 3ds, but this needs some more time.

    Tomorrow after testing everything again, I'll release v0.4.
     
  18. cearp

    cearp the ticket master

    Member
    7,550
    4,813
    May 26, 2008
    Tuvalu
    very good luck for the wireless stuff!
     
  19. nop90
    OP

    nop90 GBAtemp Maniac

    Member
    1,430
    2,136
    Jan 11, 2014
    Italy
    Rome
    Released v0.4 in 3dsx and CIA formats

    The only important change is the use of a bigger font. I also fixed small bugs and introduced a basic AI to play the Multiplayer mode. Don't expect too mauch from the CPU at the moment.

    In the CIA format there are two problems, the banner sound is broken and the game crashes on exit, but CIA versions always have problems on first release.

    I'm sad because it seems that very few people tried this release. Please play it and give me some feedbacks.