Tomycase's Recent Forum Activity

  • 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

  • From what I see in the video you sent, no information about the saved datas are displayed on the load save screen, in that case only one array is necessary, but it would take too long to explain again, so I'll prepare an example capx when I'm home, I'll also make an example with a load screen that displays the saved datas in case of (this one needs more than one array)

  • I'm not sure of why you want to use multiple arrays, is that to display the datas of each saves on a menu screen? Like health, level, weapons, etc

  • Hi, you don't need NWjs to make multiple local storage saveslots, unless you want to create files that the player can manipulate afterward;

    Once you put everything you need in your array, use Local storage plugin to set an item with array.asJson as its content, and its slot name, that way you can save item "save1", item "save2" etc, a method is to use a variable to choose with slot is selected;

    To load it, you need to do the local storage correct action order : Get item "(insert slot name)", on item get, set array from Json with localstorage.ItemValue ~

  • No problem! Good luck with your game

  • Personaly I wouldn't recommant overlay method for little stuff like this, that means you have your sprite + overlay sprite and need to set the blend and avoid other element blending in the overlay sprite when you can achieve the same result with a single tiled background

Tomycase's avatar

Tomycase

Member since 3 Apr, 2016

Twitter
Tomycase has 6 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies