Tomycase's Forum Posts

  • Ah you're making a web project, I was assuming you were using Nwjs, in that case the process is almost the same however I'll have to make some research on my own before explaining anything

  • Hi, what the File Chooser does is that once the user selected the wanted file, the plugin will retrieve the path of the file, under the expression ChosenPath, next you can use it with the expression ReadFile and set the content into a variable or an object, for example :

    Object > Set from Json > ReadFile(ChosenPath)

  • I think they meant that they use the Wait action, with a random number value, but anyway I also recommend Timer for events like this, user has a lot more control on it than the Wait action

  • > Hi, the idea is that the asteroids come from the right of the screen at random Y position right?

    Yes but initially I was trying to do that but i could not figure out how to change the direction of the asteroid. I added the behavior "bullet"

    and added the set direction but i don't know what happened.

    Do you have a video or something that looks like what you're trying to achieve? That might help to understand what you want

  • You do not have permission to view this post

  • Hi, the idea is that the asteroids come from the right of the screen at random Y position right?

  • Gotcha, I'll give it a shot as soon as I can

  • A friend just tested on their computer, W10, it worked correctly, so I assume the problem comes from the other computers, best way to avoid the problem is to let windows resizable for the moment I guess, thanks for your time TheRealDannyyy ~

  • I'm currently on W7, size is wrong after minimizing/maximizing if resize is disabled (export or runtime);

    Also tested on W10 (on 2 computers with different sizes) with scale at 100%, same problem, windows is smaller by a few pixels on launch, and so letterbox scale integer scales down, and it happen with both resize enable/disabled

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There, capx plus export folder :

    drive.google.com/file/d/1UaqTDAd5Lz9p_mu5At69LUixS6-faje7/view

    EDIT : Seems to trigger only if resize is disabled on export;

  • I come back after the problem I had with black borders, V0.48 didn't fix it on my end, I'll work with enable resizing for the time being, and another bug has appeared, now if I minimize the windows it reduces its size by a few pixels when maximazing

    Before and after :

  • Hi, you can use the expression "tokenat", it uses 3 parameters : the text source, the index and the separator, it can be anything, for example if you put ";" behind each line and specify it as a separator, "text 1" will be index 0, and will be returned if 0 is used as index parameter

  • I made an example Capx, that should help better :

    drive.google.com/file/d/1KQfElBCUDGbQ403Cn-Xkxd9UCr-zGaTY/view

  • Hi, you can do that by comparing your object sine value with object.sine.value, if the value is negative, set your sprite mirrored

    Edit : My bad I think you meant when the movement is toward left, in that case compare expression object.sine.CyclePosition

  • Alright, I made two example capx :

    First one is basic, it saves and load the array and update the global variables :

    drive.google.com/file/d/1xq6FTed8jhtOrgkKI8yHFUKpXeScQ_u9/view

    Second is more complex as it also displays the content of each saves on screen :

    drive.google.com/file/d/1QbhycuMy43jMu5Pcse-WAi4WaYEzoNsC/view

    Don't hesitate to ask if you need more help