Search the Community

Showing results for tags 'gyroscope'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 4 results

  1. Hi guys, I'm making a game which uses browser gyroscope data as player's input. The aim of the game is to align a bar controlled by the player with a bar that continuously rotates. In order to rotate player's bar, the phone must be tilted on its x axis. When holding the phone perfectly vertical (first image) there is no problem. But when the phone has some rotation on its y axis or is pointing downwards (second image), the rotation that I'm interested in is no longer correct. Is there any workaround to make x rotation relative to the position that the back of the phone is pointing to? It is ok to use any library. I've tried gyronorm.js and gyro.js so far, but none of them are giving me the desired results.
  2. agora

    Phaser and gyro

    Hi, Does phaser play nicely with gyro.js? Does it have a built in gyro support for ios input? I could not find anything in the documentation or example. Thanks!
  3. Hello guys, I want to move my sprite to left/right using the gyroscope/accelerometer. Is there something on panda to do this? Edit: Unfortunately the link here: http://www.html5gamedevs.com/topic/7064-how-to-use-accelerometer/?hl=accelerometer is offline.
  4. fiverivers

    Need advice!

    Hi guys, I am completely new to js and HTML5. I want to make a simple game in which you roll a ball around a maze by using a tablet/mobile devices orientation. Does anyone have any pointer on how to achieve this? I have looked at gyro.js so far but have no idea how to implement its use.