rollyzz's Recent Forum Activity

  • well.. if you use a live preview, you can try the debug and check you array list.

    The width and height of the array was 2.. so your array was like this: var1, var2 (the var3 was not read).

  • All you have to do is to click on your Array object, and modify the properties : Width & Height to 3 .

  • [quote:1ogqy679]All I want is to create a "Hint" button...

    I want to create that button.. Is that possible?

  • Hello,

    I need some smart guy to help me with something. I have a game based on images and words.

    This is the .CAPX : 1Pic_1Word.capx

    All I want is to create a "Hint" button... When you press this button, a random letter will appear.

    I tried so many times, but I always fail.

    Is there anyone who can help me please?

    Thank you!

  • After some few hours i find out a fix.

    You can add variables into that string like this (i will use my own example):

    "{""c2array"":true,""size"":[1,2,1],""data"":[[["&MyVariable&"],[0]]]}"[/code:2u52jenv]
    MyVariable (Global Text) = ""CAT""     - with double quotes
    
    So the string will become:
    
    [code:2u52jenv]"{""c2array"":true,""size"":[1,2,1],""data"":[[[""CAT""],[0]]]}"[/code:2u52jenv]
  • korbaach Thank you sir!

    I understand how this program works, but I need, if possible, to add that variable there.

    Let me tell you in a detailed version why do I need this:

    I have created a game with levels that shows you different pictures. You need to write in a textbox what you see in that pictures (the answers).

    The answers are all variables like:

    answer1 = cat;

    answer2 = pool;

    answer3 = dogs;

    etc.

    If you don't know the answer, you can click on a button that leads to a layout similar to "1Pic 1Word".

    You see.. I need a way to add variables to that string.

    I don't want to add them manually, because I have many levels, and all of them are using that layout. The only way this should work, is to add that variable in string.

    So it will be like this:

    "{""c2array"":true,""size"":[1,2,1],""data"":[[["VariableHere"],[0]]]}"[/code:1k40ca9u]
    where VariableHere is a global variable from previous layout. VariableHere = cat; for level1 and pool for level2, and dogs for level3.
    
    Do you understand what am I trying to explain? Am I missing something? Let me know if I can explain you something else.
    
    Thank you @korbaach, @LittleStain
  • "&variable&"

    not working :(

    This is the source: 1Pic_1Word.capx

    All i want, is to change that "BEAR" into other variable, like in screanshoot.

    variable = TEST;

    so i should see just 4 black boxes. If i'll do like this : "&variable&", the code will go wrong, and will show me only 1 black box.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • "variable" in Array is just a simple string..

    Is there any way to add a variable in that string? I mean.. if i write ""variable"" the answer will be 'variable'.

    I want to set that variable before loading.

    Is that possible?

  • Hello guys,

    Wanted to add a variable into JSON data to load, and i get this:

    Can someone help me please?

  • Thank you sir!

  • Hello fellows!

    I searched all the forum, and external links, but no answer! :(

    I don't know the correct name for "this game" but i tried every way. The last hope is creating this topic.

    All i want is to create a game similar to this image:

    I do have the answers and images! All i need is to make some random letters appear, but there should be the correct letters too.

    I don't know how to create this. Maybe a kind friend will show me something?

    Thank you!

  • Thank you sir!

    You saved me :)

rollyzz's avatar

rollyzz

Member since 11 Jul, 2015

None one is following rollyzz yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies