Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 21, 2024
A very naive implementation, but seems to play well.

Original comment by [email protected] on 29 Nov 2010 at 6:04

Attachments:

from frozenbubbleandroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 21, 2024
accelerometer.patch does play really well and adds a lot to the game.  Although 
if I tilt to far, for a rebound shot, the app rotates to landscape mode.  I 
might be an idea to disable screen rotation in accelerometer mode.

Original comment by [email protected] on 5 Jan 2011 at 9:01

from frozenbubbleandroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 21, 2024
[deleted comment]

from frozenbubbleandroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 21, 2024
The accelerometer patch was applied as of version 1.13.

The option menu now contains a "Targeting Mode" option that opens a dialog when 
selected.  The dialog allows the player to select one of the following three 
options:
1) Aim Then Shoot
2) Point To Shoot
3) Rotate Then Shoot

The implementation could probably use some improvement to be more responsive, 
but it works pretty good for such a naive implementation.

Per johnboyholmes suggestion, I lock the screen to portrait mode when the 
accelerometer-based targeting mode is selected.  The portrait mode will flip 
upside down if the screen is rotated enough, so you can use 2 device 
orientations to play, which is handy depending where your headphone jack, USB 
ports, and device buttons are located.

Original comment by [email protected] on 20 Mar 2013 at 5:21

  • Changed state: Verified

from frozenbubbleandroid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.