We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

I made a Gamepad Mapping Project you can use.

Home Forums Puzzles I made a Gamepad Mapping Project you can use.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #19440
    GLiFTeK
    Customer

    So i was pretty psyched to work with the new Gamepad detection puzzles.
    I posted it here.. you can steer around the square. and squash it with a trigger and bounce with button A.
    not much but it’s a start. oh and mouse clicking on the square turns on and off camera follow.
    That aside.. feel free to copy these to libraries then to other files to use or augment this one. it’s surprising how much code goes into just getting these buggers mapped properly heh.
    this is for the xbox 360 and One controllers, but you can use it with any other controller. you’d just have to change a few things.

    here’s the project in action..
    gamepad test
    if there’s a way to share the asset files from the verge network that would be great to know how to.
    here’s a link to a zip of the asset files if interested..
    gamepad test
    enjoy!

    #19442
    GLiFTeK
    Customer

    What would be the easiest way to have this be multiplayer, where each person that follows the link, has a new cloned cube to steer?
    is that possible?

    #19450

    Wow, that’s a nice gamepad-testing app! Appreciated that bouncing scale effect! :)

    What would be the easiest way to have this be multiplayer, where each person that follows the link, has a new cloned cube to steer?
    is that possible?

    Take a look at three.js examples. They should work with Verge too.

    Chief 3D Verger | LinkedIn | Twitter

    #19455
    GLiFTeK
    Customer

    Wow, that’s a nice gamepad-testing app! Appreciated that bouncing scale effect! :)

    What would be the easiest way to have this be multiplayer, where each person that follows the link, has a new cloned cube to steer? is that possible?

    Take a look at three.js examples. They should work with Verge too.

    hey thanks!
    it was fun to make., though lots of room for improvement. (should have used rounding more)
    i’ll post a more refined version later.
    thanks for that link. i’ll definitely have fun exploring that.

    also, again.. is there a way to link so people can get to your source files, so that we can share puzzle projects?

    #19475

    if there’s a way to share the asset files from the verge network that would be great to know how to.

    Well, for now you can probably upload a zip archive to Verge3D Network instead of deploying the project, and provide the link to that zip.

    Chief 3D Verger | LinkedIn | Twitter

    #62049
    cralex75
    Customer

    hello, I’m experimenting with gamepad puzzles to use a first person camera, also using the “collision material”, it works, but I have a problem, if I use the normal puzzle the movements are very slow, if I apply a variable to define the speed inserts an abnormal movement to the “oscillation” camera. The problem is the “0.004” position of the gamepad, if I assign the speed variable to 100 that value is amplified to “0.4”
    How can i solve? Maybe something is missing?

    • This reply was modified 1 year, 8 months ago by cralex75.
    Attachments:
    You must be logged in to view attached files.
    #62059

    The problem is the “0.004” position of the gamepad,

    Hi! You mean this value reported by the gamepad when the sticks are at the center? Perhaps you need to add basic logic puzzles to disable the movement, when stick axis value is lower than some minor value, say less than 0.005.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #62078
    cralex75
    Customer

    I looked in the forum but I didn’t find any topic about it, for now I set a negative value equal to the drift value, to avoid the displacement.
    This can’t be a definitive solution, because joypads are not all the same, you should set the “deadzone” value at least to 0.005 or higher.
    Can anyone help me to solve this problem.

    Attachments:
    You must be logged in to view attached files.
    #63300
    Micdsn
    Customer

    I cant get this project to launch in VR… am I missing something?

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.