WackyToaster's Forum Posts

  • rgbEx just defines the three color channels Red, Green and Blue and the code you use just mixes in random amounts of color (in a weird way I may add)

    I´d go ahead and use fixed values like rgbEx(50,20,5) and find colors you like, then you can add code to add some variance like rgbEx(50+random(0,10), 20+random(-5,5), 5)

    100 means full color, 50 means 50% color, 0 means no color at all.

  • I´ve send you the fixed file in the email.

    This is likely the issue that caused it to get corrupted in the first place btw. So in the meantime, don´t delete subfolders with files in use until this is fixed!

    github.com/Scirra/Construct-3-bugs/issues/4580

  • EDIT: removed email just so crawlers don´t spam me :)

  • Weird, when typing Sprite(0).AnimationFrame the autocomplete fails. It doesn´t recognize Sprite(0) as a Sprite. The code works though.

  • It looks like the project file got corrupted somehow. Had something similar happen to me recently, you can directly edit the files and attempt to fix it. Or get me a download link and I can try it (as I said, the one you posted won´t let me download)

  • It won´t let me download. If you attempt to open the project, press F12 and check in the developer console what the error is.

  • There is a chance it was fixed in R236 based on this

    Preview: where possible avoid routing network requests through Service Worker

    But I haven´t tested it yet.

    EDIT: I briefly tested it a couple of times and had no failures so far.

    EDIT2: From working on my project I´m pretty sure it is fixed now. I use this feature heavily and I had quite regular issues with it, but now I didn´t encounter it for hours.

  • I´ve only tried google firebase and it seems pretty solid. It´s also basically free to try so give it a shot.

  • You are filtering any value that´s "0" out, of course the red square with frame & level "0" will not be created.

    wackytoaster.at/parachute/arrayThingy.c3p

  • It´s generally referred to as "Mode 7" and it seems to be possible with construct, but I only found quite a ton of outdated stuff you may or may not get to work.

    construct.net/en/forum/extending-construct-2/effects-31/effect-mode7-55368

  • I´m pretty sure your function does work for 0, however, it gets overwritten later down the line.

    I´ve marked all the cells containing 0 in your array, all those will be checked inside the "For each XY element" loop, then icons will be picked where "id = int(tokenat(Array.At(Array.CurX,Array.CurY),3,", "))" will resolve to "0", then the text will be set to "tokenat(ArrayAt........." which also resolves to 0 and then the icons animation frame will be set to "int(tokenat(.........." which again resolves to 0.

    I think the easiest fix would be to add a regex check before you pick icons to see if you are actually on cell that contains the relevant data, so something like

    If that isn´t the fix I can only help you if I get my hands on the events.

  • I don´t think that´s possible. You gotta put everything on one layout (but you can use layers of course)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It´s hard to tell exactly what is happening just from the screenshot, but my guess is that it´s because you use "array for each XY" as the following sub-event where you pick "icons" will also work for every cell in the array that just contains 0. I think using "array for each X" and some adjustments should solve this.

  • Unixtime is in milliseconds. You have to use floor(unixtime/86400000)

    It´s also mentioned in the thread you linked, just a bit further down.

  • Start Construct with internet available once and wait for it to say something like "construct is now ready to work offline" in a little blue box. From then on it will work offline for 1 week.