[Beta Release] Snakes - Local play 1-8 players

Discussion in '3DS - Homebrew Development and Emulators' started by Desynched, Jan 6, 2017.

Jan 6, 2017
  1. Desynched
    OP

    Newcomer Desynched Advanced Member

    Joined:
    Jan 4, 2017
    Messages:
    71
    Country:
    United States
    Current Version: 0.2.3

    Gameplay from 0.2.2, thanks to pickPickles:

    Introducing a local play game supporting 1-8 players!
    This is a great party game!



    [​IMG]
    UPDATES

    CURRENT KNOWN BUGS:
    • Happens more often with many players (5+). Apple won't stop teleporting until next round begins. If you can replicate this bug consistently, please tell me how you did it.
    To Start A Game:
    You do NOT need a wifi connection to play with others that already have this game installed, but you do need WiFi enabled on your 3ds so local play can work.

    Read the instructions on the bottom screen.


    Press X to display the QRCode to the latest .cia release of Snakes! Use this so friends can easily install the latest version and play with you. For installing this way, you need a wifi connection and a QRCode .cia installer: https://gbatemp.net/threads/release-qr-web-installer-cia-installer.416243/

    Press A to start a one player game. HOLD A to wait for a 2nd player to connect.

    Hold B to scan for a room. If more than one room is found, you will be able to choose them from a list. The selected room will be highlighted in yellow. If you see a list, press A to select that room to join it.


    When joining a room, you will begin as dead. This is to be fair to the people already playing!
    If you join a room, in the round you join in on you will NOT load their previous paths. This is not a glitch, I just decided not to send the entire game history across local play for those watching this round as spectators. The next round will be perfectly fine!

    Press Y at the start screen to change your username. This will only be displayed IN the game, not when selecting a host to join.


    Press SELECT at the start screen to set game mode! This will only work if you HOST. You can change these settings at the end of round screen (if you are host).
    Here are the game modes you can toggle any combination of:
    • Boundaries kill: Classic snake! You can't touch the boundaries, or they will kill you.
    • Tron mode: For a game of tron, enable this and "No apple" to experience a true tron cycle bike game! Snakes will always grow, and never have a true tail.
    • Disable diagonals: For those of you that think the CPad's automatic diagonals is too OP, this is for you.
    • Disable A: Don't like being able to go fast? Disable it here.
    • Disable B: Don't like being able to go slow? Disable it here.
    • Disable Y: Hate it when people teleport the apple? This is for you.
    • Enable R: Be able to go in reverse by pushing the R button.
    • No apple: Forget the apple, just kill everyone!
    • Apples double length: for easier advantage over other players. you get twice as long for every apple you get
    • Disappear on death: What it sounds like. Use this, no apple, and Tron mode for a tron cycle bike game mode.
    • Occasional holes: This makes all snakes occasionally have holes in them at random. On average, it happens 1/80 "dots". To put this in perspective, non-Tron games start with a length of 40 dots. Requested by Kingdra.

    How to Play:
    This version of snake is a little different from the average!

    Your snake is always moving, whether you want it to or not!


    To change direction, Use the CPad (left thumbstick) for easy curves, or the D-Pad for precise directional changes.

    Your snake is a unique color line that grows the more you eat apples. Don't run into yourself or other snakes! If you die, on the bottom screen it will say in parenthesis who you ran into.

    Apples are white dots. Run over one and you will gain a point and get much longer than in the average snake game.

    Hold A to go twice as fast!
    Hold B to go twice as slow!

    Press Y to move the apple once! You can only do this once until someone scores a point. You can still do this when you are dead! Annoy the last one standing by moving it around right before they get it!

    Once everyone is dead, or the last one alive gets the highest score, the round will end. To continue, press A! You may not be able to press A right after the round ends, it will be ignored for one second. Once everyone presses A, the next round will begin! You can tell if someone is ready by noting a green R under their score.

    Some META:

    If the apple is stuck in the center of a square/circle of your long tail, you can teleport it by pressing Y, or you can move in layers (back and forth) to use up the least amount of space possible. Eventually the end of your tail will stop wrapping around the apple as it catches up to you.

    Having trouble getting the apple? Hold B when getting close to it for fine maneuvers!

    In multiplayer, you basically have one of two goals:
    • Get apples until you are big enough to kill everyone else​
    • Kill everyone first by moving quickly, then grab the remaining apples needed to get the highest score.​
    • The Cage Strategy: If you are longer than the last person alive, you can wrap around them and bite your own tail to prevent their escape. You obviously have gotten more apples than them, so they will be forced to suicide and lose. Suggested by elementalcode
    Screen Score:
    The Screen Score is the balancing between all game modes to give an accurate "score" for the end of the round. This score is calculated by all devices adding up all client-side snake lengths, and sharing this number. All devices agree to use the largest number shared, and this becomes the "Screen Score". If this screen score is higher than the winner's current High Score, it will display a message on all devices saying they have obtained a new High Score, and it will automatically save to the winner's save file on the root of the their SD card.

    Credits:
    • Wolfvak - for graphics help like finding color from frame buffer. thanks a lot!
    • smealum - for ctrulib and other contributions to homebrew dev
    • fincs
    • zetaPRIME - for answering my questions
    • zaksabeast - for helping me with this release
    • pickPickles - testing and recording gameplay with 8 players
     
    Last edited by Desynched, Jan 19, 2017 at 6:29 PM
    Asdolo, Naked_Snake, jsa and 40 others like this.


  2. zoogie

    Member zoogie 3DStemp Psycho!

    Joined:
    Nov 30, 2014
    Messages:
    5,262
    Country:
    United States
    Very cool, Desynched!. I don't think I've seen any homebrews using local play before.

    except maybe smilebasic if you count that as homebrew
     
    jsa, Quantumcat and Desynched like this.
  3. FazSapphire

    Newcomer FazSapphire Newbie

    Joined:
    Sep 19, 2015
    Messages:
    6
    Country:
    Netherlands
    Awesome !
     
    Desynched likes this.
  4. Ricken

    Member Ricken Light a blue fire and watch until shape is gone

    Joined:
    Jan 19, 2016
    Messages:
    1,906
    Location:
    Shibuya
    Country:
    United States
    Snake! Love snake. Thanks!
    Pretty sure DrawAttack uses it sometimes
     
    Desynched likes this.
  5. Desynched
    OP

    Newcomer Desynched Advanced Member

    Joined:
    Jan 4, 2017
    Messages:
    71
    Country:
    United States
    Trying my best to upload ghetto screenshots using my phone.

    I'm at a mcdonalds using their terrible wi-fi so bare with me.

    Tomorrow I promise to upload a video that shows 4 people playing.
     
  6. StarGazerTom

    Member StarGazerTom GBAtemp Fan

    Joined:
    Feb 2, 2015
    Messages:
    464
    Country:
    Ireland
    trying to load it, but getting an error and booted to the homemenu.
    o3ds, latest firm, Arm9, latest Luma.

    "udsInit failed: 0x9411002."


    Edit: immedietely figured it out. your wifi MUST be on.
     
    Desynched likes this.
  7. TheVinAnator

    Member TheVinAnator GBATemp's Greatest Vin

    Joined:
    Jan 10, 2016
    Messages:
    2,908
    Location:
    NO COFFEI!
    Country:
    Canada
    Wow this is really cool! xD Will defo play!
     
    Desynched likes this.
  8. Desynched
    OP

    Newcomer Desynched Advanced Member

    Joined:
    Jan 4, 2017
    Messages:
    71
    Country:
    United States
    Thanks for the feedback.
    That's kind of strange as I've been able to play it in places where no wifi was available.
    Rip.
     
  9. Giodude

    Member Giodude I really like shrimp, like alot

    Joined:
    May 17, 2015
    Messages:
    2,140
    Location:
    New York
    Country:
    United States
    Yo cant wait to try this! Never saw local play in a homebrew app before...
     
    Desynched likes this.
  10. TheVinAnator

    Member TheVinAnator GBATemp's Greatest Vin

    Joined:
    Jan 10, 2016
    Messages:
    2,908
    Location:
    NO COFFEI!
    Country:
    Canada
    I think he just means the WiFi switch.
     
  11. Desynched
    OP

    Newcomer Desynched Advanced Member

    Joined:
    Jan 4, 2017
    Messages:
    71
    Country:
    United States
    Ah. I'm used to my N3DS XL.
     
    TheVinAnator likes this.
  12. Petraplexity

    Member Petraplexity Mister Gay Man Watch

    Joined:
    Sep 5, 2015
    Messages:
    267
    Location:
    between two lovely titties(tm)
    Country:
    United States
    This looks amazing!
     
    Desynched likes this.
  13. StarGazerTom

    Member StarGazerTom GBAtemp Fan

    Joined:
    Feb 2, 2015
    Messages:
    464
    Country:
    Ireland
    Bingo, the switch needed to be on. If the wifi isn't on, it doesn't run apparently.
     
    TheVinAnator likes this.
  14. xtheman166

    Member xtheman166 *Insert custom title here*

    Joined:
    Jan 28, 2016
    Messages:
    4,745
    Location:
    somewhere in the middle of nowhere
    Country:
    United States
    @TheKingy34 You have like 7 consoles don't you?
    How about you check this
     
    Desynched likes this.
  15. Desynched
    OP

    Newcomer Desynched Advanced Member

    Joined:
    Jan 4, 2017
    Messages:
    71
    Country:
    United States
    I will update the error code when I get home to inform the user to turn the wifi switch on. Thanks guys!
    Do note that I get different results from playing with 3 afk players and playing with 3 other ACTIVE players. With active players the local play gets much more bogged down, causing different anomolies. So if you can, find LOTS of active players and test it out please!

    I did notice a bug that I haven't been able to replicate yet: if you go diagonal using the CPad, and then change direction, it doesn't update that change on the other devices. Let me know if anyone can replicate this. It seems to work most of the time.
     
  16. Desynched
    OP

    Newcomer Desynched Advanced Member

    Joined:
    Jan 4, 2017
    Messages:
    71
    Country:
    United States
    I made the apples white because I have a color blind friend who said red on black was too hard to see.
     
    Quantumcat likes this.
  17. SimplyFedorable

    Member SimplyFedorable I'm not a furry, I just like pandas...

    Joined:
    Apr 7, 2016
    Messages:
    523
    Location:
    that GitPages site
    Country:
    United States
    Oh shit, this is awesome! May try to get my friend to got this so we can test it
     
    Desynched likes this.
  18. Desynched
    OP

    Newcomer Desynched Advanced Member

    Joined:
    Jan 4, 2017
    Messages:
    71
    Country:
    United States
    I have updated it so it has a splash screen, and lets you play with the wifi switch off. I mainly did the latter so I could take a better screenshot using citra3d.

    *edit: citra3d doesn't run this game properly. you die randomly for no reason, probably something to do with grabbing the frame buffer for detecting collisions. Oh well.
     
    Last edited by Desynched, Jan 7, 2017
  19. McWhiters9511

    Member McWhiters9511 GBAtemp Advanced Fan

    Joined:
    Mar 28, 2016
    Messages:
    766
    Location:
    Space
    Country:
    United States
    impressive how you added local connection, great job!
     
  20. Desynched
    OP

    Newcomer Desynched Advanced Member

    Joined:
    Jan 4, 2017
    Messages:
    71
    Country:
    United States
    Thank you!
    If you try out the game with another player, let me know what you think!
     

Share This Page