How do I make a turn battle system with words for learning

Get help using Construct 2

Post » Tue Sep 23, 2014 7:56 pm

Hey guys, im making a learning game and i need it to have a pokemon like game system
But instead of attacks, it must have words...for example

to hurt a monster you have to choose between 3 words
1) EGG
2) EEG
3) EHG

if you choose word 1, the player attacks, if you choose the wrong answer you take damage, also i need to know how to load a huge amount of words, like 30 correct words and 60 mistyped words.

also for the next turn the words should appear in different objects, EGG can't always be the first word, it should appear con the third place for example.

i'm thinking on using something like excel or XML but i'm an amateur.
B
7
S
2
Posts: 57
Reputation: 591

Post » Tue Sep 23, 2014 8:09 pm

Experiment with:

button objects

text objects

onbutton click events

and setting the value of the text object to something new.

Those things should get you well on your way. You'll have to do a good bit of learning.
Developing Surolace, the survival role playing space game.

surolace-survival-role-playing-space-game_t116953
B
13
S
4
Posts: 303
Reputation: 1,705

Post » Tue Sep 23, 2014 8:16 pm

Okey ill try to mess with that, but also,

What should i do to store a lot of words? if things get really complicated i will have to hardcode all the words :P
B
7
S
2
Posts: 57
Reputation: 591

Post » Tue Sep 23, 2014 9:07 pm

Well, you're going to have to "hardcode" them no matter what unless you develop some sort of importer. You'll have to explain more about what you're trying to accomplish, but first I really recommend the following:

Try it.

If it doesn't work, try to make it work. There is no "wrong way" to program in this context. If it works, it works! If it doesn't, or works poorly, that's when you debug.
Developing Surolace, the survival role playing space game.

surolace-survival-role-playing-space-game_t116953
B
13
S
4
Posts: 303
Reputation: 1,705

Post » Tue Sep 23, 2014 9:38 pm

i'll try to re explain,

So this is going to be a learning game,
When you encounter an enemy, you go to a layout called battle

you are going to learn some grammar, for example,
if you encounter a certain enemy, let's say, an orc...

when you encounter an orc, you will have 3 options to click,
FRIEND,FRYEND,FRIED
You have to click the right one... if you don't, you lose health.
B
7
S
2
Posts: 57
Reputation: 591


Return to How do I....?

Who is online

Users browsing this forum: Colludium, varr, Yahoo [Bot] and 3 guests