![]() |
Simple Rifle App using Accelerometer
Written in Python using PyGame, this script plays a Rifle sound every time you point the phone like a Gun.
Here is a Video of it. Here is the Code. Very Simple Script I hope will help other just beginning to write code for the phone using the accelerometer. |
Re: Simple Rifle App using Accelerometer
i will play with it a bit :D
|
Re: Simple Rifle App using Accelerometer
am new to this. will u b kind enuf to give me full steps on how to get it working? thx
|
Re: Simple Rifle App using Accelerometer
haha this is kewl
|
Re: Simple Rifle App using Accelerometer
I run python n900mm.py in xterm and it says to me "import sys, pygame, time ImportError: No module named pygame". I have to install this to get it work?
|
Re: Simple Rifle App using Accelerometer
Quote:
Edit: It run just good. I had to run apt-get python-pygame. |
Re: Simple Rifle App using Accelerometer
Quote:
|
Re: Simple Rifle App using Accelerometer
Quote:
After downloading and unzipping the file, Navigate, in your terminal (xterm), to the folder called "N900mm". Once in there type the following: Code:
./n900mm.py That is it. If you need more help, let me know. |
All times are GMT. The time now is 16:07. |
vBulletin® Version 3.8.8