Wormhole's Recent Forum Activity

  • Hi alextro,

    this one looks interesting

    -> Text: Set text to gAMEoBJECT.ObjectTypeName&"."&"IVnumber_"&GlobalVariable

    but still

    it still passing it as a string, like this one

    also tried like this (#2) 👉 "gAMEoBJECT.IVnumber_"&GlobalVariable

    but anyways thanks for your response :)

  • Just wondering how to accomplish

    I have several instance of the same gAMEoBJECT (sprite) and have instant variable like "IVnumber_1", "IVnumber_2", "IVnumber_3" etc.

    Can we pass global variable value into the instance variable by breaking the instance variable

    like (#1) 👉 gAMEoBJECT.IVnumber_&GlobalVariable 👈

    also tried like this (#2) 👉 "gAMEoBJECT.IVnumber_"&GlobalVariable 👈

    but neither of this working, pleas help.

    *Having said that the Global Variable which I talking about will pass the integer value to the instance variable.

  • How do I integrate my JSON table with google sheet? if I edit anything to my google sheet I want the JSON array to reflect the changes real-time or on the start of the layout. Please help.

    Tagged:

  • Have you found any solution?

    Why is this amazing feature not working with Phone? it works perfect on phones browser but not when I export it as an apk.

    Found this old thread where PixelImpact asked about the same but sadly nobody responded him :(

    Any alternative to having "Read it Loud" feature into my app using Construct 3?

  • Thanks Dop, Now I understand why you said its not a bug.

  • Got that.

    One lit doubt.

    The Array Sufule logic using AdavceRanodm you gave works great when

    but when I transpose it to like this

    It doesn't work. My question is what things I should have changed here in order to make that work even when the ARRAY JSON becomes transposed 👇

    (I tried to change

    -> AdvancedRandom: Create permutation with Array_PICTURE_NAME.Height values starting at 0

    and

    + Array_PICTURE_NAME: Value at (0, AdvancedRandom.Permutation(n)) = ""

    and this

    -> PICTURE_SET: Set animation to Array_PICTURE_NAME.At(AdvancedRandom.Permutation(0), (n)) (play from beginning)

  • Interesting. Only caveats would be to place every image off-screen. Got that.

    Another way I tried it (similar to what you have suggested using 1D array)

    Created a new row and copy and paste every element to it.

    Then changed this

    One question. What "+ System: LoopIndex < 100" does?

    Does it shuffle the cells 100 times? If my ARRAY s both X, Y-axis exceeds 100 cells in length and widht should I update that "100" accordingly?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for your reply. Actually, the logic you gave previously is what I wanted and it works fantastically well. While looking at the JSON table I got that idea, What if I have one level with the utmost difficulty, kind of a boss fight. (I don't know calling it boss fight make sense xD). So I asked this

    means all data from that one JSON ARRAY (consists Alphabet, Number, Color) will come randomly.

    Initially, I thought only altering "Y-axis value to AdvancedRandom.Permutation(n)" will work but no,

    If it not that long to crack I still request you to help me to crack this 😅 because the array needs to be updated quite often 1D array way would be quite tedious.

    but anyways I'm still grateful to you because of you I have come this far and exploring different ideas.

  • Empty cells in the array make the task more difficult. You should either copy non-empty cells into a temporary array, and shuffle it. Or use this method with Advanced Random:

    https://www.dropbox.com/s/elkhyxz8u75syzb/QuestionForDop2000%20%28With%20Layouts%29.c3p?dl=0

    Every previous quest has been solved, as usual, thanks dop2000

    The array shuffle logic you gave work fantastically, it amazingly skips the blank array cell.

    One question, I have one final round where the user will be faced every combination. means every ARRAY JSON cell from the X & Y-axis. means all data from JSON Alphabet, Number, Color, will come randomly. I thought it will be easy if I only edit Y-axis value to AdvancedRandom.Permutation(n) but it's not working. Please help.

  • 2. WOW, Awesome. Thank you.

    1. Please check the image below.

    when the user clicks any instance of "PICTURE_SET", "Preview_PICTURE_SET" will have exactly the same picture previewed on it. that the purpose of "Preview_PICTURE_SET".

    also, please the previous c3p

    dropbox.com/s/elkhyxz8u75syzb/QuestionForDop2000%20%28With%20Layouts%29.c3p

  • Hi Dop. Few questions.

    1. You can see I have two different sprites, one is "PICTURE_SET" & another one is "Preview_PICTURE_SET", my question is Can I ditch the Preview_PICTURE_SET entirely? and just use another instance of "PICTURE_SET" for the preview purpose?

    My failed attempt. So for that what I did, Created another instance of PICTURE_SET (Now I have a total of 7 instances on the screen) gave another Instance Variable called "XYZ" and set it to 1. And made all other 6 instances' "XYZ Instance Variable" to 0.

    In the event-sheet created a condition when "XYZ=1" set the animation PICTURE_SET to "" - Now I'm not sure what I have to give here. Please help.

    2. How to make FRAMES of each PICTURE_SET to random order. I have multiple frames for some animation. I want it to appear randomly every time when user restart.

    For eg. (Please refer to the picture below) Letter B have two frames, I want it to appear randomly.

    So for that what I did, (Please check the image below)

    Created 6 different Global Variable, On the start of the layout Set each GV to choose(0,1,2,3).

    (range is 0 to 4 because I do have some animation which has more than 2 frames) and then gave a condition and set the animation frame to that Global Variable. It sometimes works, I know I made it unnecessarily big. Please help.

Wormhole's avatar

Wormhole

Member since 19 Aug, 2020

Twitter
Wormhole has 1 followers

Trophy Case

  • 4-Year Club
  • Email Verified

Progress

5/44
How to earn trophies