jobel's Recent Forum Activity

  • something like this?

  • Just wondering if I am doing this right.

    I have 10 maps (each map is a whole game). Once you complete a map, I want to set it as completed. I then bring the player back to the map selection area and I want to update the visuals showing them having completed a map.

    Do I create Local Storage key for each map? 0 is not yet complete, 1 is complete?

    I was going to load an array[10] and have the 0/1 value for each one. Then base on the 0/1 with a graphic whether the map is complete or not.

    Since I have to check if each key exists first, should I just create all the keys on the first ever play? then load the key data from there? Should I load the keys on the mainmenu rather than level select, just so the data is ready?

    also can I save a whole array to the local storage in one move or do I have to make "map1", "map2" etc.. keys?

  • dop2000 I know there is a way to disable the F12 key for NWjs (Steam deafult key for screenshots) with args, so maybe I can do the same for the tab key without having to turn worker off.

  • Ashley do you know if there is another non-scripting way to prevent that first delay in the TAB key? (see original post's dropbox link for example). Ideally I would like to use worker, although does any of this apply to NWjs?

    I'm using the tab key similar to other games where it pops up a map or weapon change options. And its just that initial press makes it feel slightly broken, but always and only the first time you do it during a play through, it doesn't happen again until you restart the application.

  • Ashley I had Worker on 'Yes' but had a JS to prevent capturing tab key strokes and it wasn't working. When I set worker to 'Auto' the script worked. Does it mean worker is not running? And/or does worker prevent that kind of script?

  • Figured it out. In my game I had Worker set to 'Yes' and in that test example project the worker was set to 'Auto'. That was the difference.

    I'm not sure what that means? Is worker not being used when I set it to Auto?

  • I also realized that your script makes it so you can use the TAB without fullscreen. but in my game, that does NOT prevent that... its just like the script is not running. I tried adding it to all the startoflayouts...so I have no idea what is going on.

    my game project file is a few years old, is there some option I need to turn on in the editor maybe?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dop2000 that script worked for that little test, but it does not work in my game. any ideas of why it might not work? I'm using keycodes. although just tried it with TAB key directly and still doesn't work.

    I also have player controls in an #include but that shouldn't matter as long as that script gets run in OnStartOfLayout. Is that right?

  • I'm not sure what is happening, but I want to fix it.

    When you hold or press the TAB key the VERY first time it does not immediately trigger. If you continue to hold it, it triggers after about 1 second.

    However, every time after that first tab, it then always triggers immediately as expected.

    is this a bug or is Construct doing with an invisible address bar or something? I would expect either to not work at all or always work.

    see example here. You have to run it FULLSCREEN or it freaks out on the address bar.

    dropbox.com/s/783newtnjvhxiqj/TABdelayTest.c3p

  • I also released a new paid template - Multi Language Support for C3 Games,

    What about Asian languages like Korean or Japanese, how does one even approach that since left-to-right is also an issue?

  • okay, this is some crazy recursion. The function calls itself twice all while being called everytick! (but it obviously works!)

  • thanks all this is super helpful! its pretty confusing to apply, but I think I'm getting it.

    alextro what do you mean by "toward furthest point from there" and "outside of 2 most furthest"?

    do you mean you get the center of the circle by figuring out the distance between 2 furthers points, getting the center of that line, and then do what?

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies