How do I set array(x) equal to an selected image

Just started using Construct 2? Post your questions here

Post » Wed Jul 29, 2015 11:04 am

something like this example.capx ?
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

Post » Wed Jul 29, 2015 12:32 pm

WOOOOOW
Last edited by FriskaAS on Wed Jul 29, 2015 12:35 pm, edited 1 time in total.
B
6
S
1
Posts: 39
Reputation: 495

Post » Wed Jul 29, 2015 12:34 pm

hey @korbaach you're my HERO, thank you
If I have question again can I ask you ?
please
B
6
S
1
Posts: 39
Reputation: 495

Post » Sat Aug 01, 2015 2:41 pm

@korbaach
hey, I have already make my project just like you do, but when I add a new question and answer. The new QA doesn't want to appear. It's just show 3 QA.
What should I do ?
B
6
S
1
Posts: 39
Reputation: 495

Post » Sat Aug 01, 2015 3:40 pm

replace

Image

Image

also check simpleQuizGame.capx
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

Post » Sat Aug 01, 2015 4:10 pm

@korbaach
hey thank you
B
6
S
1
Posts: 39
Reputation: 495

Post » Sat Aug 01, 2015 4:14 pm

@korbaach
OMG. woooooooooooooooow that's what I need it.
I love you !!!!!!!!!
B
6
S
1
Posts: 39
Reputation: 495

Post » Sat Aug 01, 2015 4:43 pm

@korbaach
what this code means ?
"{""c2array"":true,""size"":[3,1,1],""data"":[[[0]],[[1]],[[2]]}"
B
6
S
1
Posts: 39
Reputation: 495

Post » Sat Aug 01, 2015 6:34 pm

@korbaach
hey if I want this game ( simpleQuizGame.capx ) to keep playing what the function I should add ?
B
6
S
1
Posts: 39
Reputation: 495

Post » Sun Aug 02, 2015 1:49 pm

FriskaAS wrote:what this code means ?
"{""c2array"":true,""size"":[3,1,1],""data"":[[[0]],[[1]],[[2]]}"


it's part of code to randomize correct answer position on screen (function "setQuestion" in simpleQuizGame.capx)

RandomizePosition.capx


FriskaAS wrote: hey if I want this game ( simpleQuizGame.capx ) to keep playing what the function I should add ?


you just need to replace Json for "ArrayQuiz" and frames in "SpriteAnswer"

........to create your own Json file for Array you can use Array contents editor


Image
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

PreviousNext

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests