Labyrinth

Discussion in 'NDS - Emulation and Homebrew' started by Schmendrick, Jul 24, 2011.

  1. Schmendrick
    OP

    Schmendrick Advanced Member

    Newcomer
    55
    3
    Sep 12, 2009
    Netherlands
    This homebrew is an adaptation of the boardgame Labyrinth. Seeing as the official Labyrinth DS game ruins the game for me by messing with the board setup (and adding an unnecessary storyline), I created a version that's more true to the original.

    Gameplay in a nutshell:
    Reach the treasure you're aiming for by moving horizontal or vertical strips of the labyrinth, creating new paths. Be the first to find all your treasures and return to your starting point to win.
    Details are explained in the interactive 'How to play' menu.

    Screenies:
    [​IMG]

    Download:
    Labyrinth.nds

    To change a player to AI and back, tap the player's icon in the main menu.

    Updates v 110817:
    - updated libnds
    - sped up pathfinder demo
    - added simple player AI

    Updates v 110726:
    - Flickering has been fixed

    Known bugs:
    - Rotated sprites don't look as good as non-rotated sprites
    - While the AI is 'thinking', screen may flicker

    Todo:
    - wireless multiplayer!
    - improve AI
    - implement additional game rules
    - Custom board layouts (currently only uses original static board layout)
    - Fancy 3D graphics

    Questions/comments/suggestions welcome!

    PS: As a 'fun' bonus, it includes a simple pathfinder demo. Press select at the title screen to access it. I included this for testing purposes, and haven't bothered to take it out.
    PPS: It is possible to run into the 'debug menu' by pressing certain buttons. Don't mess with the values in the 'MAIN' section ('GAME' section is fine), since it will likely mess up your game.
     
  2. Boriar

    Boriar GBAtemp Fan

    Member
    313
    35
    Sep 22, 2008
    Spain
    Really interesting. I like the maze so i will try it. [​IMG]
     
  3. 2-bias

    2-bias GBAtemp Regular

    Member
    142
    3
    Jul 30, 2009
    Gambia, The
    Germany
    Thats great! I really love this. Hope you'll fix the flickering screen and add the AI-Players.
     
  4. RoyalCardMan

    RoyalCardMan DS App Studio™ Developer

    Member
    628
    1
    Aug 11, 2010
    United States
    In the middle of gun fire.
    Not bad, not bad at all. The flickering screen is getting quite annoying though. Other than that, it seems quite well made so far. Good luck completing the game.
     
  5. glysegui

    glysegui Advanced Member

    Newcomer
    82
    0
    Jun 16, 2011
    Netherlands
    FUCKING EPIC BRO.

    lol, this was my favorite childhood game. You should totally like, if possible of course, add multiplayer functionality. I'd love to dig this shit out with my friends.
     
  6. Ruri

    Ruri GBAtemp Advanced Fan

    Member
    573
    1
    Jul 20, 2007
    United States
    ...wait, wasn't there a commercial adaption of this game? I don't think I ever tried it, but...
     
  7. RoyalCardMan

    RoyalCardMan DS App Studio™ Developer

    Member
    628
    1
    Aug 11, 2010
    United States
    In the middle of gun fire.
    Well what's wrong with making another adaption(if there is another commercial one).
     
  8. smealum

    smealum growing up sucks.

    Member
    630
    1,981
    May 1, 2006
    United States
    SF
    Anyway, looks nice Schmendrick, good luck for what's to come. [​IMG]
     
  9. Schmendrick
    OP

    Schmendrick Advanced Member

    Newcomer
    55
    3
    Sep 12, 2009
    Netherlands
    Thanks for the positive replies, everyone.
    In addition to the list in the first post, I may add an option to change the game rules (such as finishing your turn when you get a treasure, undoing a previous player's board alteration, etc, anything people on here can think of).

    As you can see, they are completely different. Even the online versions featured on the Ravensburger site are completely different from the original in several ways. Add a ridiculous and unnecessary storyline, needless graphic swaps and ugly characters, and I pretty much lost all interest.
     
  10. RoyalCardMan

    RoyalCardMan DS App Studio™ Developer

    Member
    628
    1
    Aug 11, 2010
    United States
    In the middle of gun fire.
    @smealum
    I wasn't insulting his work. I was saying that there is nothing wrong with his version.
     
  11. GammaGeorgeX

    GammaGeorgeX GBAtemp Regular

    Member
    111
    11
    Apr 19, 2011
    Belarus
    This doesn't use link for multiplayer does it?
     
  12. relminator

    relminator #AnyaBasic

    Member
    343
    19
    May 28, 2010
    Hey, looks good buddy.

    I thought "we fixed the flickering" already? Didn't you implement it?
     
  13. Schaapje82

    Schaapje82 GBAtemp Regular

    Member
    115
    14
    Jun 9, 2007
    Netherlands
    Nice, I'm gonna try this one. I haven't tried the official game, but from what's in your posts I understand that it's different than the boardgame. Thanks for creating this "De betoverde doolhof" game!
     
  14. Schmendrick
    OP

    Schmendrick Advanced Member

    Newcomer
    55
    3
    Sep 12, 2009
    Netherlands
    Hey rel, thanks again for the help. I had looked into your example and didn't notice any differences, mainly because they weren't there. After going through the initialization and drawing code a thousand times, I realized that the problem was that I used the same frame counter to calculate fps (well, updates per second, anyway), and set it to 0 every second. This means that more often than not, it would go from 60 to 0, doubling up the 'top' frames once a second, which of course causes a flicker. This has now been fixed, and the download link has been updated. See first post! Next update will include either AI players or local wireless multiplayer (or both, depending).
     
  15. Schmendrick
    OP

    Schmendrick Advanced Member

    Newcomer
    55
    3
    Sep 12, 2009
    Netherlands
    New update! See first post for download link.

    Updates v 110817:
    - updated libnds
    - fixed flickering
    - sped up pathfinder demo
    - added simple player AI

    Todo:
    - wireless multiplayer!
    - improve AI
    - implement additional game rules

    Known bugs:
    - While the AI is 'thinking', screen may flicker

    To change a player to AI and back, tap the player's icon in the main menu.

    Concerning the AI flickering:
    Apparently it's too much to ask to perform even a single pathfinder request in combination with a bunch of memory copying and modifying.. As of now, the only fix I can think of is to choose between a series of fast flickering frames, or a single flicker caused by a few frame drops. I'll be looking into more optimizations. For now, enjoy!
     
  16. GH0ST

    GH0ST Your Hero is a Ghost

    Member
    924
    1
    Dec 17, 2006
    France
    I was here... before...
    Thanks ... Amazing... it remembers me some good times :-)

    Don't miss the "secret" screen ;-)
     
  17. 2-bias

    2-bias GBAtemp Regular

    Member
    142
    3
    Jul 30, 2009
    Gambia, The
    Germany
    Thanks for the update. I'm gonna give it a try.