Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Two-Player Tetris Trouble

Discussion in 'Scripting' started by JacksonTheXtremeGamer, Jan 14, 2022.

  1. JacksonTheXtremeGamer

    JacksonTheXtremeGamer

    Joined:
    Jun 15, 2019
    Posts:
    108
    I need some help with something. I want to make a 3D Tetris clone with a 2-Player battle mode. But I want the grids to be separate, instead of having to type the code to where it looks like a blob of text in a single line. At the very least, the grid starts at 0,0 in 2D perspective, but that position is tied to the world. So how can I approach this without my code looking like a mess? If there are any tips and tricks, I'm all ears.
     
  2. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    783
    Not sure what you are looking for. Perhaps this tutorial contains some ideas? And then times 2 for some of the parts for the multiplayer functionality.



    There are other Unity Tetris Tutorials out there to, just a serach away.
     
  3. JacksonTheXtremeGamer

    JacksonTheXtremeGamer

    Joined:
    Jun 15, 2019
    Posts:
    108
    Thanks for the help. But I think I just found a way by using the same grid.