Plans for turn-based inclusion?

0 favourites
  • 7 posts
From the Asset Store
Empire Game has everything you need to create immersive, historical-turn-based games!
  • Hi, I am a beginner to construct 2 so please excuse my lack of knowledge and is there any plan to include template and tutorial for making a turn-based strategy game using construct?

    If not, how hard is it to use the existing real-time strategy template and change the gameplay to turn-based in terms of AI behavior and events?

    If those exist already, I would be happy if you point it out to me, thanks. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • If you are unfamiliar with the terms Boolean, and or state machine you should take some time out and do some Googling for those.

    I know they sound some what heady, but they are actually very simple. In fact they can be implemented in C2 easily using global, and instance variables.

    tldr:

    Lots of:

    if a=b do foo

    at some point in foo change a

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I use globals.

    Player_One_Active = 0 or 1

    Player_Two_Active = 0 or 1

    Then based on the above yes player is active I make player_X active

    Active_Player = (1,2) numbers being player number

    This is a double check type system.

    Using a lot checks

    System - Active_Player = 1

    condition Player_One_Active = 1

    Do this and that and that and this

    Create function called end of turn or something and

    turn Player_X_Active = 0

    And swop Active_Player = 2 etc

    and run function at end of players turn whatever that may be

    System - Compare Variable is your friend in turn based lol

    Edit: There are 3 tutorials online somewhere

    already using turn based. Will try and dig up links

  • you should check this post and ask for tips from the author. he is currently making a TBS game like Advance Wars.

  • you should check this post and ask for tips from the author. he is currently making a TBS game like Advance Wars.

    construct.net/en

  • Thanks, everyone.

    Those links have what I need to know.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)