Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Turn Based Like Worms

Discussion in 'Scripting' started by VaunMakuza, Apr 22, 2013.

  1. VaunMakuza

    VaunMakuza

    Joined:
    Sep 20, 2012
    Posts:
    40
    I am making a tank game, and I'm trying to make it turned based like in the Worms games. I'm having trouble wrapping my head around getting it turned based like that, where one has control and no others have control and where you start off your turn by seeing the map then zooming in on your character. Anyone know of a tutorial to help me out? That would be awesome s:

    And or some advice from people here.

    Thanks a lot!
     
  2. TheRaider

    TheRaider

    Joined:
    Dec 5, 2010
    Posts:
    2,249
    really you just need a true/false variable to check which side has the turn. Then change it when the number of actions is over.