Has anyone built a turn based game?

Get help using Construct 2

Post » Wed Oct 17, 2012 5:05 pm

Hi, new to this, in fact i only just heard about construct 2 days ago. I was looking into building a turn based game, kind of like the yu-gi-oh type of thing but each person would also control the creatures. As an example one player may have 8 attaking monsters, maybe 12 at any given time and each would have different strengths, different types of attack and be better against some creatures than other.

Is this possible to do with construct and if so is there a tutorial for turn based stuff around or even someone who has done one that can offer advice?

Meant to say also i want this to be variable players, sometimes 2, other times up to 4. Rach player has a few things to do such as play the card in one phase, an attack phase, maybe a spell phase as well etc before the next persons turn. I can't even work out how to make the movements limited, if you use 8 way then you can keep on moving so its not even turn based. I also need to vary the distance each can travel if possible.

Any help much appreciated thanks
B
2
Posts: 5
Reputation: 260

Post » Wed Oct 17, 2012 7:22 pm

Sure it's possible! =) I'd start out small, working on each individual component of the game to begin though.

For example you can make these:
-turn system, such as two characters and only one of them moves at a time depending on what a global variable "Turn" is equal to

-card shuffling system, not graphical (you only need to shuffle the array values), but if you're looking to make it card-based still then you'll definitely need this to shake up the gameplay!

If you want to do it graphically, then make one card object and give it animation frames for each card you'll have in the game (set animation speed to 0). You can then set up a deck by storing the animation number for each card in the deck using an Array object

-graphical card selector, just a way to show which card is selected, and load its stats into memory (eg: store them as private variables for each card, then compare the details of the currently selected card)

And etc.. Think of everything you'd like to do and add them in one at a time, or copy and paste the events from separate testing cap files (the second method is good if you are working on a part of the game and get stuck, since you don't need to share the whole game file on the forums for help).

Hope that helps
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Wed Oct 17, 2012 8:38 pm

Thanks Jay Jay, very comprehensive reply and i have to say i haven't a clue what you just said lol. I think the first thing i should try to understand is how to make it turn based. Ive downloaded the images on the tutorial so if i set up the sprite and the monster on either side what do i need to do with behaviour to make it possible to move in the 8 directions but just 1 movement as in move 1 step then click left button to stop making it go to the monsters turn?

Thanks again for the reply, i'm just starting to learn Java and this construct could save me the trouble but only if i can learn this easier than Java.
B
2
Posts: 5
Reputation: 260

Post » Thu Oct 18, 2012 12:36 am

Actually, before even starting to build a game, do the beginner tutorial and other linked tutorials in that article as well.

Turn based is possible, but requires to be already comfortable with C2 and have already made some basic games first. It's not easy to explain to a complete beginner (hence you admitted yourself not having understood jayjay's answer).

Follow the tutorials, build a bit of experience and then you might come back to this topic and understand better what jayjay proposed.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Thu Oct 18, 2012 3:36 pm

Hi, i've done the basic tutorial, everything worked fine on that. I also had a look at the other tutorials but since neither used turn based i decided not to do them. I'm trying to learn Java as well so if needed i can do the game in that so all told i'm spending way too much time on the computer.

I just thought it would be easier to check if it's possible on here and if there was a tutorial for turn based. If it can't be done then i can concentrate all my time on learning Java. This Construct looks like it could make things easier for me if it can do what i need so i thought i'd do the common sense thing and just ask someone who might have already done a turn based game already.
B
2
Posts: 5
Reputation: 260

Post » Sat Oct 20, 2012 5:27 am

Anything that can be done in programming can pretty much be done in Construct 2, and in nearly the same way most times If you learn the coding then you'll definitely have an easier time porting it to C2 though.

I'd happily make an example when I have time, but unfortunately that won't be for another couple of weeks
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Sat Oct 20, 2012 2:40 pm

Thanks JayJay, much appreciated if you could, should take me a little longer than a few weeks to learn Java lol.
B
2
Posts: 5
Reputation: 260

Post » Tue Oct 23, 2012 6:47 pm

No problem @bas1492. I had a chance to throw a quick example together for you here: https://dl.dropbox.com/u/4714446/TurnSystem.capxJayjay2012-10-23 18:47:24
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Tue Oct 23, 2012 9:21 pm

Thanks Jay, taking a look at it now, looks good for what i need. The help is much appreciated
B
2
Posts: 5
Reputation: 260

Post » Wed Oct 24, 2012 12:13 am

No problem @bas1492, glad to help
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Next

Return to How do I....?

Who is online

Users browsing this forum: christina and 6 guests