TobyeRyan's Forum Posts

  • Awesome, thanks mate it is exactly what I was looking for :)

  • Hello, I am just wondering if someone can give me an example of how to write a JSON file in C3 that I can turn into a probability table?

    I found the image attached in the documentation, but not sure if it should be written out as an array file or a JSON file, and how exactly to write it in either case. Thanks for your help!

  • You do not have permission to view this post

  • Have you tried running Construct in an incognito window?

    I just tried it following your suggestion, no luck :(

  • Saving to a folder is currently only supported in Chrome and Edge. If you're using Firefox or Safari, it's not supported there, because those browsers don't support accessing local folders.

    Thanks for your advice, unfortunately I am using Chrome and as I've found out it will save new/small projects as folders fine, I am only finding the issue with my main, rather large project.

    If you have any other ideas please let me know!

  • Thanks for the reply, I tried allowing it through the firewalls but it still fails to save. I then tried saving new projects and it works fine, I'm guessing there is something wrong with my main project (it is rather large).

  • Hey all, a little while ago I had trouble saving my game as a single file with it creating memory errors and was advised to save it as a project folder. While this worked with some workarounds (turn the old save into a zip, extract, load that folder, then save with the floppy disk button in the editor only), I thought it was time to upgrade my computer anyway.

    But now after buying a new PC I have the opposite problem: I can only save as a single file, not as a project folder. Even if I convert a save into a project folder and load it, the floppy disk save button will fail to save.

    Does anyone have any advice on this? I tried many different locations, with all permissions granted and C3 run as administrator and it always fails.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, but none of them are really fitting the bill. I'm after an invisible object that will make the overlapping portion of another object visible.

    The effect of revealing the hidden object works in your first reply, but I can't find a way to make the 'spotlight' object invisible and still have the desired effect.

    Thanks for your help but I'll just try a different approach, I spent quite a bit too much time on it already and I can get similar enough results going a different way ^^

  • Thanks mate! I works like I want except the 'spotlight' object is still visible. I tried changing the opacity and whatnot but can't solve it. Is there a way to do it or is it just not possible with blends?

  • Sorry for the newbie question but I spent a lot of time on it today and for some reason I just can't get it to work.

    I want it so that when a 'spotlight' is overlapping a 'hidden' object, the portion of the 'hidden' object that is overlapping the 'spotlight' will be revealed. I want the 'spotlight' object to be invisible too, it will only be used to reveal 'hidden' objects (which are also invisible until the spotlight is on them).

    Additionally I also wanted to do the opposite - so 'hidden' objects are visible but become invisible when overlapping the 'spotlight'.

    Thanks in advance for anyone who can help my confused brain!

  • Dude it's a work of art! Apparently you've done better work than Riot could manage XD Thank you very much for your effort on this :)

  • I think it's to do with the fact that numbers are not always exact. For example another work-around I managed was this:

    It seemed to work fine. So the issue is that cards were not always at exactly the correct values, which I remember reading about somewhere in the manual, so they would briefly meet your condition and flick between layouts. When checking whether positions/values match, you should usually leave a little leeway, then if it falls within the acceptable margin, force set the values to exactly what they should be.

  • Sorry mate, I hadn't actually fixed the bug yet when I replied, I'm a bit all over the place. But I did find you were looking in the wrong spot:

    The problem was actually that several of the card bases were switching back and forth between the layers at the part in the image (event 17). So I added a "isSelected" variable when clicked to indicate they are the only one to switch layers and it fixed the issue. Very crude fix as it still gets some glitchy overlap when you spam select cards overlapping each other, but that can easily be overcome.

    Here's the version with the variable added

  • WackyToaster - Ah good eyes! I didn't notice how they did it.

    von Perkele - That's amazing! It works just like I wanted! It'll take me some time to configure it into my game but really thanks a lot :) I'll be sure to update you when things have progressed a little more (I just started online playtesting with my old IRL card gaming friends this week which is very exciting!)

  • Yes, exactly like that! That method is slightly more workable than what I was doing, but it's still a bit clunky to make work well with many cards moving around and changing sizes next to each other. But I'll try it out a bit and see if I can get it going smoothly :)