jobel's Forum Posts

  • yeah this is a tricky one!

    I somehow have to figure a way to go to the center one if you tap WASD in the opposite direction of where we are in relation to the center. But then it has to work when you are in the center as well...

    dropbox.com/s/b2q9glrm5a7qjpv/position_selectDOP2000.c3p

  • dop2000 how did you come up with the +/- 20 number? EDIT: nm, I see the size of the sprite is 20x20

    a total gaff by me! I forgot to add in that the main sprite circle is slowly rotating, so that throws things off a bit as everything rotates. I still think your approach is best though since it relies on position.

    its that center one which really messes everything up! since its rotating you can't check the X.

  • AllanR oh I like how you use sub-events here, I never do it like that! this is great thanks..

    dop2000 awesome! this works great, yeah I was wondering if an invisible object is the way to go here. And how you use the X/Y with nearest is a completely different approach! I love it, thanks!

  • I need to be able to select points around a circle with either the keyboard or a gamepad (stick or dpad)

    My first attempt sort of works, but you can't select the middle circle.

    I was thinking of setting up a grid with numbers but that doesn't really work without a lot of conditions.

    Any better ideas or better approach I should take?

    dropbox.com/s/rj6q8cie4qleivi/position_select.c3p

  • did you ever figure a way to do this? I search for the term "xbox" in the ID string and include a remap program incase its not in the list.

    and its a pain because I also need to allow mouse controls if their controller buttons are not mapped correctly.

    So far I've had users test with PS4 and Xbox controllers and everything maps correctly. but someone had a Switch Pro Controller (3rd party) and the buttons worked but were all mapped incorrectly.

  • I only mentioned to give some allowance since the xbox controller's RT button works fine on the xbox itself. If it didn't work on the xbox, I wouldn't expect it to work in my game. But seeing how it worked on console I assumed the controller was fine and my game had the bug. luckily I also have a 360 controller which worked 100% and helped me troubleshoot the actual problem.

    maybe I'll make a 'tunable' threshold value and start at 0.20, if I start to get issues in testing I can always raise it.

    thanks Ashley oosyrag

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yeah I saw the manual, but I didn't understand how I was to use those functions.

    like this?

    would this be the same as a Button Press Trigger Event?

    If so, are devs replacing all Triggers with this to account for wonky controllers? I mean, if I happen to have a controller with a damaged button, seems like any players I am targeting might have the same issue.

    Follow up: if I do replace all my triggers with these System events should I allow any value above 0 to be a button press? I know analog controllers have drift. Could a damaged trigger button give off 'noise' in the low value ranges? so Gamepad.RawButton(0,7) > 0.20 ??

  • I have an xbox one controller that most likely has been dropped and damaged. when I go to this site

    gamepad-tester.com

    the right trigger won't go above 0.40 whereas the left trigger goes all the way to 1.00 - they are touch sensitive (which I had no idea).

    Construct won't detect button presses for this trigger button because I assume the value is not 1.00

    Is there a way to get raw button info? OnAnyButtonPressed won't trigger and Gamepad.LastButton(0) is blank when I tap the Right trigger button.

  • dop2000 no, I've been in the world of pixel art and I would have noticed this before. something is definitely bugged.

  • it does it consistently, its really not the fill-tool that's bugged. the program is not identifying colors correctly.

    so if you use paint brush 20 size or so, and click in a few random locations, if you use eye dropper and check the value it will slightly alter the color value in random places almost as if you put some noise on your brush - but its 100 hardness and 100 opacity.

    man what's with all these bugs!? its crazy how many issues I've had at since this stable update r234. this is like the 4th bug! I keep losing time researching these things!

  • dop2000 you have to zoom way in, its just leaving off little pixels of the previous color.

    I just retested it and its definitely happening...using solid colors so no need for tolerance.

    I mean I use construct everyday for almost 2 years straight now and all of a sudden its doing this, so its very noticeable.

    I know the Sprite editor in general is super buggy.. but this is different.

  • all of a sudden the Sprite Editor Fill button just broke, it fills arbitrarily.

    is this happening for anyone else?

    its happening specifically when I try to change a color using fill. using r234.4

  • what do you mean by a raycast game?

    Use the Line of Sight (LOS) behavior to cast rays and you can draw lines based on those rays. But I'm not familiar with a specific game design that revolves around casting rays.

  • NotionGames thanks for sharing this. That is a unique position that any number of us could someday be in! Whenever you rely on a 3rd party company, nothing is guaranteed.