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

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

  1. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    Alright guys. I know this is asking a lot, but if you manage to play with 3+ people, please have one of you turn debugging on by pressing L at the start screen before joining/hosting.

    If something goes wrong, please take a screenshot (or even better, video) of the bottom console screen when bad stuff happens.

    Last night when right before I recorded gameplay, I was seeing anomalies like teleporting snakes and apples. The apple seemed to be teleporting on its own, every frame. I can't seem to replicate this on my own using 4 devices, but it happened numerous times last night when we had 4 active players. My hunch is it has something to do with multiple people using the CPad.

    Please and thank you!
     
    Quantumcat likes this.
  2. Posghetti

    Posghetti Un-official ReVeluv Leader

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

    Our Patreon
    Mar 15, 2016
    United States
    Michigan
    I'll test this later on when I get home.
     
  3. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    Alright! Thank you very much! Also, be sure to update to the latest version (0.1.3). It should say so at the start screen, first line of text.

    One tip (please don't abuse this among your friends, or they will hate you):
    If you hold R and press X at title screen, you can drag-drop the apple anywhere you want by using the touch screen.
    You can use this to create edge cases like I did when I had 3+ snakes side by side, and placed an apple in front of all 3. This caused some race cases which I hopefully fixed.

    The CPad should also be tested by all players because we thought it was the culprit for netcode anomalies last night, but I think it may have simply been 4 players all vying for the apple at the same time, resulting in one of the race cases I just described.
     
  4. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    boop.

    did you get a chance to try it with more players?
     
  5. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    There are a lot of netcode bugs right now. I tried making a change to the netcode, and it sometimes drops a packet and doesn't trigger the resend.

    Will fix this soon!
     
  6. isoboy

    isoboy GBAtemp Advanced Fan

    Member
    7
    Dec 23, 2016
    United States
    A Triforce Heroes contender.
     
    Quantumcat likes this.
  7. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    [​IMG]
     
  8. Posghetti

    Posghetti Un-official ReVeluv Leader

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

    Our Patreon
    Mar 15, 2016
    United States
    Michigan
    Just updated and tried to replicate the issue. None of the snakes nor the apple is randomly teleporting. 5 is my limit, wish I could test more.
    I did have all 5 of them use the C-Pad and not D-Pad, but the game is just playing normally. (This is out of 5 actual try to win games)

    R+X is a nice thing to have tho :P BWAHAHAHA.
     
  9. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    awesome.
    thankfully my apartment has lots of noise and is great for testing. I get teleports often
     
    Posghetti likes this.
  10. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    I am currently working on a new bottom screen console using system font.
    after I get that working, I'll start working on settings and better netcode

    edit: I'm close to getting the new console working, just trying to align the ready markers on the round ended screen.
     
    Last edited by Desynched, Jan 10, 2017
    Posghetti likes this.
  11. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    release 0.1.4!
    new system font console and fixed netcode
     
    Quantumcat likes this.
  12. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    I am about to release game modes!
    you will be able to toggle any combination of (and more to come):
    • boundaries kill
    • tron mode
    • disable diagonals
    • disable A
    • disable B
    • disable Y
    • no apple
     
    Last edited by Desynched, Jan 11, 2017
  13. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    Alright, game modes have been added!

    Welcome to version 0.1.5!

    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.
    • No apple: Forget the apple, just kill everyone!
     
    Last edited by Desynched, Jan 11, 2017
    Quantumcat likes this.
  14. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    Added new game mode that must be enabled to take advantage of: "Enable R". This button, when pressed in game, will reverse your direction, making the head of your snake the tail, and the tail the head!

    If you're about to get trapped, going in reverse might solve the problem. Be sure to OK it with your friends before you change game modes before a new round starts. That information might be good to know :)

    edit: I am getting close to finishing this game's features. If you have anything you'd like added to the game, let me know. Pretty soon I will focus on cleaning up my code and making a beta release.
     
    Last edited by Desynched, Jan 11, 2017
  15. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    I have added some easter eggs for the "username suggestions".
    Try typing "flip" as a username and check the suggestions box for the software keyboard.

    Some more are:
    put table back
    glasses
    shrug
    happy
    kiss
    pig
     
    Quantumcat likes this.
  16. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    I have fixed 99% of the holes that appear when using R.
    However, using R before you are done growing at the start of a match might kill you.... Going to fix that next.
     
  17. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    here's a video demoing one of the new game modes in one player: Enable R



    you might want to mute the video, my fans were on. sorry if it's out of focus, i recorded it by laying my phone on a glass table and playing beneath it.
     
    Last edited by Desynched, Jan 12, 2017
    Quantumcat and Posghetti like this.
  18. Posghetti

    Posghetti Un-official ReVeluv Leader

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

    Our Patreon
    Mar 15, 2016
    United States
    Michigan
    Dope!
     
    Desynched likes this.
  19. Desynched
    OP

    Desynched GBAtemp Regular

    Member
    2
    Jan 4, 2017
    United States
    I want to make a save file for high scores, but I'm unsure how I want to do it.

    in multiplayer, it's harder to get points, so I might only save high scores for one player... or I might multiply the score by the number of players... or I might keep a high score for every possible number of players... not sure.

    let me know what you think on how it should keep track of past scores.

    I also want it to default use the last username chosen
     
  20. isoboy

    isoboy GBAtemp Advanced Fan

    Member
    7
    Dec 23, 2016
    United States
    As soon as you release a definitive 100% complete version I'll download it. I'm in no rush but I think this is cool and I'm lurking around like a frog in a swamp.
     
Quick Reply
Draft saved Draft deleted
Loading...