jobel's Forum Posts

  • 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?

  • 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?

  • I say a circle because that's what I think is easier to draw. but really I wouldn't mind some sort of deformed shape.

    I started with averaging the x/ys of all points then taking the longest distance and make a circle from that. It worked sort of okay, but wasn't really right.

    I was pointed to this by another programmer

    en.wikipedia.org/wiki/Smallest-circle_problem

    nayuki.io/page/smallest-enclosing-circle (this one even give you the code)

    but I wonder if there's an easier way to do it in Construct.

    Here's what I have so far...

    dropbox.com/s/jveeb468a0x9m5m/DrawCircleAroundBoxes.c3p

    Tagged:

  • Headbang Games ah, I saw your quote that talked about C3. all good.

  • DiegoM I've always used latest chrome

  • yeah something broke, I never filed a bug report. That was almost a year ago. It has not changed, I just use the editor less. I can't imagine it doesn't bother people, but I guess not.

  • Headbang Games I have not had this issue with NWjs, is it for a particular build? win64 win32? I only use win64.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 9-patch is a good way to do it.. so you can dynamically create them...

    something like this...

  • to know when the analog sticks are no longer being touched:

    this will trigger once to tell you when the controls have been released

    this is left/right for the left stick. so you may need to add more depending on your control scheme

  • You do not have permission to view this post

  • I know of 2 Ratalaika and Matpow games.

    Are there other companies out there? Would like to know how they are as publishers as well as having the ability to port.