Maintaining pieces' turn order in chess-like game

Just started using Construct 2? Post your questions here

Post » Sat Sep 06, 2014 9:00 pm

Well, first of all hello, I'm fairly new to this engine and forum and I'm having trouble with a chess-like turn based multiplayer (local) game. I read all the tutorials and a lot of threads, but most games are just 1 against 1; In my game, each player controls 4 "pieces" that move one at a time, i.e, I move the first piece "A1", click on "end turn" and the game switches to "B1". When you are B1 and click on "end turn" it goes to "A2" and so on.
Thus far the turns work great, but the problem is, how do I keep the turns in order when one piece dissappears? Is there a better/easier way to make the turn system?

I will upload a .capx file to show how my turn system works, but in the meantime I can tell you that it's fool proof, and I'm not even using arrays because I learnt how to use them after I made this turn system, sorry for being newb xD
B
5
Posts: 6
Reputation: 239

Post » Tue Sep 09, 2014 11:10 pm

where is the capx?
B
15
S
7
G
7
Posts: 201
Reputation: 5,277

Post » Wed Sep 10, 2014 4:53 pm

Oh, nevermind, I switched to the "click on the piece to move" system, it's less of a pain to code. Can close the thread now, bye bye!
B
5
Posts: 6
Reputation: 239


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests