How can I load a new word after spelling the previous one?

Get help using Construct 2

Post » Sat Apr 29, 2017 11:54 am

Hi,
I'm preparing a spelling game..

According to code below, on the screen I see a random word and write it, so the word disappears,
but then
how to reload the new word to spell and not repeat the word done?

Can you show me an easy way, thanks.

Image
B
13
S
9
G
2
Posts: 23
Reputation: 2,373

Post » Sat Apr 29, 2017 1:00 pm

@tetuan

I would create a function to pick the next word, and remove the random action in event 3. (You don't really want to keeping picking a word every cycle of the loop). When the loop finishes loading the array, then call the function. The function can pick a random word and delete that line out of the array so the word does not get picked again. And the function can reset anything else that needs resetting.
B
94
S
33
G
20
Posts: 438
Reputation: 17,615

Post » Sat Apr 29, 2017 1:13 pm

Image
B
64
S
23
G
7
Posts: 1,481
Reputation: 10,823

Post » Sat Apr 29, 2017 4:38 pm

thanks alot...
B
13
S
9
G
2
Posts: 23
Reputation: 2,373

Post » Thu May 04, 2017 6:05 pm

Message: tetuan can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
korbaach wrote:https://app.box.com/s/1ggxpv61cysemvebdk125bo0kun0l7gg spelling .capx


hi.. Thanks again.. but ı have a question if you could please anser and show me the way...

is it possible to make to repeat the words only once and finish after the deck is completed?
B
13
S
9
G
2
Posts: 23
Reputation: 2,373


Return to How do I....?

Who is online

Users browsing this forum: FlyingRam, jkmalau, MadSpy, Manubis and 12 guests