jobel's Recent Forum Activity

  • since updating to r240 beta I've notice considerable lag when going to a layout I have not been on for some time. I have a decently large project file.

    10-20 seconds before the sprites load (in the editor) and down the bottom left it says:

    Rendering Sprite Sheets....(has a count)

    Creating Textures....(has a count)

    Has something changed recently that would effect this? It's mildly annoying, but it wasn't doing this before and the size of my layouts/objects hasn't changed that much.

  • R0J0hound

    Then it utilizes “for each ordered” to sort them by distance. It would be the same as “pick closest” but it also adds a fraction of the perpendicular distance so it prefers the dots closer to the direction pressed as opposed to just one of them when they are all the same distance away.

    this bit is clever!

    what am I doing wrong here? it only stays on the middle one

  • dop2000 thanks! and it even works with moving the circles/image points around a bit. although sometimes it skips too far, but cone and range can be adjusted.

    R0J0hound oh this looks super clever! I need to try this out! thanks!

  • dop2000 oh nice LOS is another good idea to try... although when you are at the center dot and hit LEFT you will go to the nearest which might not be the one at 3 o'clock.

    One of these ideas should help me. Thanks guys!

  • newt sure.. that's a cool way to do it! I could probably figure a way to add it to a trigger and leave the highlight selection in the place you selected after you let go.

  • got it working a little better, but it sometimes doesn't feel quite right.

    dropbox.com/s/5nkp6p7dh4ja6wr/position_selectDOP2000_mod.c3p

    or try it here:

    spacecapsulegames.com/test

    and let me know what you think (SPACE BAR will pause the spinning)

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

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