Another little game from me today.
This uses the same basic framework as BallPhysics, but applies it in a different way.
It's pong, where your paddle is controlled by tilting the device.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The controls:
Up/Down change the balls speed.
Left/Right change the CPU paddle speed
Centre pauses
The text:
In the bottom left is the time in milliseconds since the last restart
In the bottom right is the current score
Should work on Diamond, Raphael, Blackstone, Rhodium and Topaz.
It's written in C++/win32, so no nothing apart from the exe is needed.
Configuration:
Code:
HKCU\Software\l3v5y\GravityPong
FixedVelocity=
if < 0, velocity is variable, if > 0, FixedVelocity is the difference between the CPU speed and your paddle speed
Changelog
0.4 - uses trig to calculate the initial ball speed so the ball travels at one speed regardless of angle, some little performance tweaks
0.3 - adds configuration of speed, and exit if mouse is within top 40 pixels of screen.
0.2 - Fixes sensor polling, and possible odd background
0.1 - Initial release
Nice!!!
I will try it right now!
[EDIT] The idea is nice, but controlling the paddle isn't working very well for me (it's almost not responding to my movements at all), and after 5 sec. it will be in a loop.
I loaded this game onto my Touch Pro. Here is what happened:
1. Worked for about 15 seconds. Then my paddle would not respond to any movement. I tried back and forth, up and down, side to side, hard and soft shaking.
2. Shut down and tried a soft reset. Started game again and all I got was a colorful static screen but could still see the paddle moving with its white tail in the fore ground. Did I describe that well enough to understand?
This game seems like it could be really cool but seems to have some issues.
Any ideas?
Joe_PDA said:
I loaded this game onto my Touch Pro. Here is what happened:
1. Worked for about 15 seconds. Then my paddle would not respond to any movement. I tried back and forth, up and down, side to side, hard and soft shaking.
2. Shut down and tried a soft reset. Started game again and all I got was a colorful static screen but could still see the paddle moving with its white tail in the fore ground. Did I describe that well enough to understand?
This game seems like it could be really cool but seems to have some issues.
Any ideas?
Click to expand...
Click to collapse
Okay.
I think I've found the cause of both of those.
1. I was polling the sensor too often causing it to try and check again before it had finished the previous check.
2. I haven't noticed this, but filling the background with a black fill should sort it.
Can you try the attached and see if it works?
Thanks
A question for potential users of this:
Anyone interested in the possibility of bluetooth based multiplayer?
As in, you pair with another HTC sensor enabled device and can control one paddle while the paired device controls the other?
I ask as I've just found some sample code in the WM6 SDK for "BthChat", that could provide the data transfer framework...
Tnx, works better now.
Still it's hard to get the paddle "stable", but it works.
johanromijn said:
Tnx, works better now.
Still it's hard to get the paddle "stable", but it works.
Click to expand...
Click to collapse
Would you prefer the sensitivity to be lower?
I could probably make it configurable, but I'd need a settings app/screen to do so. If wanted, I'll do it...
l3v5y said:
Would you prefer the sensitivity to be lower?
I could probably make it configurable, but I'd need a settings app/screen to do so. If wanted, I'll do it...
Click to expand...
Click to collapse
Maybe it would be better that if you tilt your device to the left it will move to the left at a static speed. (not moving very fast if you tilt it more)
Now it's bouncing from all left to all right, it's hard to control.
I hope you get what I mean. Maybe it's just me who can't play this game
Nicely done and fast too
Thanks for the lightening fast update. This is much better now. Really cool. Your are on to something really good here. A few comments:
1. I agree it is a bit hard to control. configurable would be the way to go.
2. Can you make the scoreboard a bit larger?
3. Maybe a pause button and exit button?
4. Bluetooth multiplayer would be a cool feature.
Based on your lightening fast work, can we expect the new version in the next 20 minutes?
just kidding . I have a short attention span.
Joe_PDA said:
Thanks for the lightening fast update. This is much better now. Really cool. Your are on to something really good here. A few comments:
1. I agree it is a bit hard to control. configurable would be the way to go.
2. Can you make the scoreboard a bit larger?
3. Maybe a pause button and exit button?
4. Bluetooth multiplayer would be a cool feature.
Based on your lightening fast work, can we expect the new version in the next 20 minutes?
just kidding . I have a short attention span.
Click to expand...
Click to collapse
Those updates were about 5 lines of code
1. Configurable is about 10 lines of code (it'll be registry based, I might make a config app later)
2. Scoreboard font size is one number, so that's easy.
3. Centre button on DPAD (or return on a keyboard) will pause it, although the timer in the bottom left may continue to run
4. That may take longer as I need to find a device I can test it on (I only have on Diamond, and my Prophet doesn't do gsensors..)
Good news, awaiting update. On this post have you gotten rid of the older version so people only download the best one? Keep up the good work. You seem to be good at writing apps for the G-sensor. Are you working on any other games/programs?
I would like to see the following:
1. A good Magic 8 Ball. What I've found out there doesn't seem to work well on the Touch Pro G-Sensor.
2. A configurable Spinner. Something like the Spin the Bottle app but one that lets us put in backgrounds, like numbers 1-6 or words like ("drink one shot") etc.
3. A good configurable dice roller.
Thanks for your hard work.
johanromijn said:
Maybe it would be better that if you tilt your device to the left it will move to the left at a static speed. (not moving very fast if you tilt it more)
Now it's bouncing from all left to all right, it's hard to control.
I hope you get what I mean. Maybe it's just me who can't play this game
Click to expand...
Click to collapse
I get what you mean.
In the update I'm just uploading the speed is fixed at one above the CPU speed, but you can change it to variable in the registry
Code:
HKCU\Software\l3v5y\GravityPong
FixedVelocity=
if < 0, velocity is variable, if > 0, FixedVelocity is the difference between the CPU speed and your paddle speed
0.4 is now released.
Some performance tweaks, and a change to the ball velocity.
At mines it doesn't work
Then it says unable to load Sensor DLL or something like that im using samsung omnia i900 and i downloaded microsoft frame thing plz help
such poor quality games for the Diamond . as the iPhone has great games with brilliant graphics and gameplay. and we pretend PONG is fun.
daJudge2010 said:
such poor quality games for the Diamond . as the iPhone has great games with brilliant graphics and gameplay. and we pretend PONG is fun.
Click to expand...
Click to collapse
ummm...then go buy and iphone.
great game btw.
ps. pong IS fun
>>>>>>>>>>>>>>>>>>>>>>>>>>
Related
Hi,
I'm proud to announce a new game especially made for the Diamond...
Caver is based on a black&white game I played years ago on a Palm...
The difference: my game uses the g-sensor to navigate your ball through the cave...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features:
- Online Highscore list!
- Different difficulty levels
- Build your own levels simply by creating png files! (a howto will follow - but I think it's pretty self-explanatory... just look in the gfx/Level 1 folder and build your own levels according to my example level... and don't forget: POST THEM HERE!! The levels don't have to be black and white... everything that's white is a valid zone for the ball)
- Highscore list
- Calibration of g-sensor
Todo list:
- Special zones where you get more points
- Obstacles you have to fire in order to pass
- Adding options to adjust the tilt sensor sensitivity for non-online highscore mode
Changelog:
http://www.ageye.de/index.php?s=caver/changelog
Donations so far:
http://www.ageye.de/index.php?s=donations
Thanks to all who have donated
If you like the game, support it by submitting bugs (just pm me/post them here), by building levels (post them here), by suggesting features or by donating... THANKS
I hope you like it!
ageye
Download
from ageye.de: http://www.ageye.de/index.php?s=download​
.
jea! nice!
downloading, will try and let you now
It's nice, but..after game over I every time have to restart the game since it simply just won't go back to the splash screen?
OW ow I can see the well designed pieces of art coming when making levels as PNG is possible.
But as you are developing, you say the ball goes on the white. Its a pity for levelmakers to NEED white, it doesn't look good. Making a road for instance you want textures in your png.,
So:
Can't you make, in future, usage of a black and white layer? Or white and other colors (speed down, speed up )
Nice idea! Only kinda small levels when i look at the png files. (not installed the game tho) can you make it so we can make wider levels so the game scrols?
I can't steer the ball, keeps going in 1 direction ...
do you have isntructions?
Riel said:
I can't steer the ball, keeps going in 1 direction ...
do you have isntructions?
Click to expand...
Click to collapse
Same here
akito said:
It's nice, but..after game over I every time have to restart the game since it simply just won't go back to the splash screen?
Click to expand...
Click to collapse
this is a know limitation right now. I just wanted you to present the first version as soon as possible and then spend time in making it better and adjust it to your needs... Next version can restart/change levels without exiting the whole game...
Riel said:
OW ow I can see the well designed pieces of art coming when making levels as PNG is possible.
But as you are developing, you say the ball goes on the white. Its a pity for levelmakers to NEED white, it doesn't look good. Making a road for instance you want textures in your png.,
So:
Can't you make, in future, usage of a black and white layer? Or white and other colors (speed down, speed up )
Click to expand...
Click to collapse
Yeah, this thought already came to me, too... I will try to change the "valid" color to magenta (for example) and make all parts of the image, that are magenta, transparent so the levelmakers can make custom backgrounds and are not bound to the white one...
The speed down, speed up feature sound's good... so I need at least 3 valid colors (normal speed, speed up, speed down...) I will try and let you know...
SurfHost said:
Nice idea! Only kinda small levels when i look at the png files. (not installed the game tho) can you make it so we can make wider levels so the game scrols?
Click to expand...
Click to collapse
you can design the level as large as you want them to be...
Riel said:
I can't steer the ball, keeps going in 1 direction ...
do you have isntructions?
Click to expand...
Click to collapse
mmh, strange... but did you try to steer the ball with the g-sensor? it should work like the Teeter game...
Downloading ASAP
Thanks very much this is what ive been waiting for! (aside for official Elite3.0)
Luck fellasss
Agree with akido, when "game over" it doesn't return to the menu, so you'll have to restart the game.
I'm also having problems controlling the ball. It moves, but not very well. Sometimes it seems to move in the correct direction, but it just keeps accelerating until it hits a wall.
I have tried to change the settings of sensitivity, velocity and radius, but no luck...
It's really unresponsive on the steering input by tilting, even set on easy.
And it doesn't remeber the chosen settings.
Neat idea, keep on!!
Agree with all the comments. It's a really nice idea, and I love the concept!
I'd like to see more responsiveness on the controls, and it might make it nicer if you were in control of a helicopter or some other "flying machine" rather than a ball...
No reponse
Same here, it doesn't really repsonse very well even after I have changed it to easy, it's not like the Tweeter game.
I'm sure he'll fix it, I really like his idea.
This game is fun D:!
I have it for the macbook pro aswell you move the laptop around too, great fun during class D:<!
v0.2 released!! for details/download look at the first page
hallur84 said:
Agree with akido, when "game over" it doesn't return to the menu, so you'll have to restart the game.
I'm also having problems controlling the ball. It moves, but not very well. Sometimes it seems to move in the correct direction, but it just keeps accelerating until it hits a wall.
I have tried to change the settings of sensitivity, velocity and radius, but no luck...
Click to expand...
Click to collapse
1. now you can restart the game
2. the controll of the ball should now be better... Please try it... My intention is not to make it "like Teeter" because Caver is a different game, but I agree that the ball should react smoothly and in a correct way...
Riel said:
But as you are developing, you say the ball goes on the white. Its a pity for levelmakers to NEED white, it doesn't look good. Making a road for instance you want textures in your png.,
Click to expand...
Click to collapse
3. I tried to make a color transparent and set a background image... well, but that doesn't work very well (it lags pretty much now), so I have to find another solution
4. Any other features are coming soon - had a long day...
Hope you like it!
ageye
hi..
v0.2 is not working for me om NL1.37 ROM. Didn't had the chance to try v0.1.
But after installing and clicking the icon everything is fine, but when hitting the start button game won't start.. error!
A soft reset didn't solved the problem..
Any idea ageye what could be the problem?
damn,i propably know the cause.i think a bg.png file is missing in level 1 folder.im not on my computer now.i'll fix that in about 9 hours
thx for the info and sorry
ageye said:
damn,i propably know the cause.i think a bg.png file is missing in level 1 folder.im not on my computer now.i'll fix that in about 9 hours
thx for the info and sorry
Click to expand...
Click to collapse
Fixed version online! See first page!
Have fun with it
Here you go the 1st program to measure how hard you stump against a wall.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MAIN
instant Gforce measure for:
Acceleration/brake (brake is negative)
left/right (left is negative)
Up/Down(up is negative)
Total (always positive)
Speed
GPS
Gps Stats
On/Off
0-...
Test your time from 0 to whatever you chose
(it uses gforce to start the timer)
MAX
Max Values (i know it needs work)
LOG
Chose what you want to log
Log Size
OPTIONS
Set update speed 50 - 1000ms
Use Km over miles per hour
Use Speed in Acc/Brake over Gforce in Main
http://rjsmsampaio.googlepages.com/grafico.jpg
You can get the gflog.txt in you main memory and open in excel
To clean the log just delete it.
X is left/right
y is acc/brake
z is up/down
t is total
Speed
Altitude
Heading
(all this are obvious)
the GFmax is store in gfmax.txt created in main memory.
How to use it correctly:
the pda must be in portrait whit the screen facing the back of the car. When you open the program it will self calibrate(this don't mean you don't need to have your acc calibrated whit other program).
It should read 0.00 whit the car stop in a level area. You can Turn or incline the PDA a little and calibrate again but it will affect the reading if too much off center.
This is the Beta version so post some feedback, im a full time teacher so updates will be constant but not every day
Source code in page 20
Beta vertion 0.25b in page 14
v0.15 0 to x Dynamo
v0.10 Gps integration and KM/Miles options
v0.03 installer
v0.03 maximum Gforce store and logging.
v0.02 New interface, Max working, new formula for Gforce (sorry the first one was wrong a bit) and new formula to calculate Total (thx haggz)
v0.01 First release
http://rjsmsampaio.googlepages.com/Ikari-PtPocketGForce.cab
got the sofaa
Great App my friend. I have tested on aircraft just when taking off and landing and it is great ! didnt use the GPS
Nice one, thanks.
Will have a try.
I've been waiting for this program since Ikari has promised to write... Thanks Ikari... will feedback...
How do you calculate "total"? Judging from the top picture Id say you use
acc + curve = total
which is wrong. Use
total = sqrt(acc^2 + curve^2) instead
Otherwise it looks very nice!
You did get your help! Wonderfull, will download it and have a drive in my car, nice !
Help needed ?
Good job ! I did send you a mail through the forum mail system to offer some help to enhance it. Did you read this ?
Hello.
Perhaps it should be usefull to offer a option to register some infos such as max acceleration.
Thank you for this app.
haggz; said:
total = sqrt(acc^2 + curve^2)
Click to expand...
Click to collapse
I'm not sure about that i whant the total not the movement total.
cgeboers; said:
Good job ! I did send you a mail through the forum mail system to offer some help to enhance it. Did you read this ? )
Click to expand...
Click to collapse
Sorry only read after posting the program any way yes i will need help to improve the program to the maximum. TIME/G graphics etc...
paclep; said:
Perhaps it should be useful to offer a option to register some infos such as max acceleration. )
Click to expand...
Click to collapse
As mention on the first post ins not working at the moment
Any one give me tips to how make a txt file in C#?
As for the rest drive carefully
Why don't you integrate the output signal with respect to time and write also the velocity of device? By this way we can also see the current velocity or also write further 0-100km acceleration values....
Ikari said:
I'm not sure about that i whant the total not the movement total.
Click to expand...
Click to collapse
But you cant just add perpendicular forces since a force is a vector. Break/acc acts straight forward (backwards is "-forward") while curve acts straight right (again, left is "-right"). Draw 2 arrows on a paper, one for acc and one for curve. Then draw the resulting vector. To find the length (in this case the magnitude, or what you call total) use the Pythagorean theorem
total = sqrt(acc^2 + curve^2)
( http://en.wikipedia.org/wiki/Vector_(spatial)#Length_of_a_vector )
haggz said:
But you cant just add perpendicular forces since a force is a vector. Break/acc acts straight forward (backwards is "-forward") while curve acts straight right (again, left is "-right"). Draw 2 arrows on a paper, one for acc and one for curve. Then draw the resulting vector. To find the length (in this case the magnitude, or what you call total) use the Pythagorean theorem
total = sqrt(acc^2 + curve^2)
( http://en.wikipedia.org/wiki/Vector_(spatial)#Length_of_a_vector )
Click to expand...
Click to collapse
That's the idea. Adding them is just incorrect. Cause velocity is a vector, it can be expressed as its moduli times a unitary vector. Taking the derivative with respect to time we will find two sources of acceleration: the one caused by change in time of the modulus (acc) and the one due to the change in direction of the unitary vector (curve). As the derivative of a vector is indeed a vector, you should calculate its modulus. Therefore the total should be what haggz said.
Your app works pretty nice despite that. I have liked it a lot. A way to fix this issue is to display both accelerations separately and then if you like to add them just like numbers at least we will be a little bit more pleased . Anyway congratulations for your great work. Keep it like that !!!
Great for science projects. Great work
I don't know how fast you can read out the sensors. But a great application would be a Time/Acceleration Diagram.
Currently we are measuring oscillations of huge masses.
Would be cool if i could monitor oscillations up to 150Hz.
Great Work!!!
....a quick Example with some text windows:
Looks very nice, but I think a GUI with high contrasts would be better to read while driving.
Unjar to my computer, transfered to my internal storage, attempted to run the program, but it didnt work. It said I needed a newer version of net or something any ideas?
Knochi said:
Would be cool if i could monitor oscillations up to 150Hz.
Click to expand...
Click to collapse
Atm is 4hz but i can test the limit, also depends from the sensor itself.
blazer2004 said:
Unjar to my computer, transfered to my internal storage, attempted to run the program, but it didnt work. It said I needed a newer version of net or something any ideas?
Click to expand...
Click to collapse
download and install .NET Compact Framework 3.5 on your pda and it will work.
One more day and i will release a new version whit DB for the maximum values.
About a graphical interface im not sure how to make one cuz we have 3 axis to display plus the Total so im putting that to the side.
If any one have more ideas for this, new options, features or feedback, plz post.
My car is damage so i cant test everything correctly so make your contributing
Atm im working in a way to measure peek HP and making a time diagram that can be visualize on excel.
Max reading rate
Knochi said:
I don't know how fast you can read out the sensors. But a great application would be a Time/Acceleration Diagram.
Currently we are measuring oscillations of huge masses.
Would be cool if i could monitor oscillations up to 150Hz.
Click to expand...
Click to collapse
I read somewhere, but can't remember where, that default the accelerator readings are performed every 200 milliseconds, which would mean that you have a max of 5 Hz. It is possible to change the value in the registry by using a program that "tweaks" it, but I don't know what it would mean for the battery life.
Maybe your program could set the readings faster while it is running, but I don't have a clue how you would have to do it.
Never the less, 150 Hz might be a bit too fast for WM6.1, even with a fast processor ?
VR Hologram very similar to the wii Head Tracking VR demo made famous on youtube.
Uses G-Sensor to track tilt and update the VR Hologram view accordingly. 3D Hologram created using Managed Direct 3D Mobile (MD3DM). Found it easier to learn than the Managered wrapper for Opengl ES.
This is my first 3D app / game and also my first windows mobile app so be gentle but your comments, recommendations and criticisms are more than welcome. Been checking out this forum for over a year now but never really contributed.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Change Log
v2.02
Control Panel Added
Reverse tilt direction
Control affect of Moving Average Smoothing
Control tilt distance
Use set sprite locations or random sprite locations
Choose number of random sprites (5 - 20)
Choose from pre-set sprite texture (thanks to the submissions on this thread)
Choose custom texture image from file system
N.B. Limited allowed image size to 150kb
certain images (haven't been able to determine why) cause the application to crash. No exception is raised by HTC's implementation of MD3DM so cannot investigate. Just restart app and texture falls back to a preloaded texture.
Displays Average Frames Per Second over recent frames
Settings saved to file and are applied once app restarted
v1.0
First Release
MD3DM Graphics
G-Sensor view tilt (smoothed using moving average)
Nav sensor zoom
Tap screen to exit
HTC Diamond Sensor SDK (Thanks Koush)
Smoothing of G-Sensor reading essential as output is definately not. Kalman filter would have been ideal but the maths involved just goes beyond me. Moving average more than sufficient though.
Hopefully if I have time this concept can be carried forward into a game using either MD3DM or Opengl ES.
This is a concept app but can also be used to show those without the Diamond it abilities
Check it out on youtube
Hope you enjoy!! Let me know of any bugs
EDIT: Default orientation of diamond for the app is laid flat due to how the G-Sensor reading are intepreted. Diamond laid flat facing up to have a view straight down.
It appears that MD3DM drivers on the diamond are not complete as setting the app to draw fullscreen causes the render not to be presented on to the screen.
Confirmed phones that this app works with are:
Touch Diamond
MDA Compact IV
Touch Pro
For the following phones please refer to: http://forum.xda-developers.com/showpost.php?p=2972398&postcount=417 (Pillermann Columbus)
Touch HD
Touch Diamond 2
For those that are experiencing slow FPS e.g. 0.14fps then please try installing the ATI Drivers: http://forum.xda-developers.com/showthread.php?t=475493
By no means is this app optimized to run as quick as possible. Also the FPS is just an average FPS so gives a benchmark indication but it isn't the most accurate.
Download v2.02 Source: 4Shared
i have just 3 letters for this: WOW
After installing:
Does not work properly for me. The depth perspective moves. So only when the diamond lays flat on the table i see the background. Otherwise the depth moves out of the picture. This was not how it look likes on youtube
Image example added. This was with the phone laying with the right side down and the left side up.
Nice work. Looks really sweet. Keep it up
THANK YOU VERY MUCH!
I am testing it on my Touch Pro right now...
EDIT: Working great on my PRO! It even zooms in-out using the touch pad...!
FANTASTIC!!!
How do is install the sensor software?
And is it essential?
It looks nice on youtube!
Awsome! Thanks daddy!
thx look nice
It works perfectly! Thank you for sharing! Keep up the good work.
congratulations! nice app! love it!
niiiice!
imagine what could be done with this effect...
one little thought - i think if you made the perspective change "slower" with the tilt, it might look better, right now it seems that the perspective angle changes faster than the tilt angle.
and it would be great if it was possible to have these circles be in perspective (becoming oval) to add to the 3d effect
WOW !!!!!!!!!!!!!!!!!
cremerhm said:
How do is install the sensor software?
And is it essential?
It looks nice on youtube!
Click to expand...
Click to collapse
you don't have to install anything beyond the .cab file
wontcachme said:
i have just 3 letters for this: WOW
After installing:
Does not work properly for me. The depth perspective moves. So only when the diamond lays flat on the table i see the background. Otherwise the depth moves out of the picture. This was not how it look likes on youtube
Image example added. This was with the phone laying with the right side down and the left side up.
Click to expand...
Click to collapse
Sorry I didn't mention it originally but the default orientation of the phone is flat so that the app looks correct. The youtube clip was recorded with the diamond held flat.
I have updated the original post.
Very very cool! Nice job my friend!
tuem said:
niiiice!
imagine what could be done with this effect...
one little thought - i think if you made the perspective change "slower" with the tilt, it might look better, right now it seems that the perspective angle changes faster than the tilt angle.
and it would be great if it was possible to have these circles be in perspective (becoming oval) to add to the 3d effect
Click to expand...
Click to collapse
As he said.
Tricky...
My office has a neverending hole now... heheheh
Well done!
tuem said:
niiiice!
imagine what could be done with this effect...
one little thought - i think if you made the perspective change "slower" with the tilt, it might look better, right now it seems that the perspective angle changes faster than the tilt angle.
and it would be great if it was possible to have these circles be in perspective (becoming oval) to add to the 3d effect
Click to expand...
Click to collapse
Thanks for the comments - I'll try and tweek the tilt settings a little, thought I had it about right.
My experience with MD3DM is very limited. Not sure how to modify its texture perspective handling but I will look into it.
error
I have a problem. I installed but when I go to do aprtire tells me this erroe:
the sample has run into an error and needsto close : driver invalid call exception
Posts on how this effect can be utilised in cool new apps and games are also welcome. Hopefully we can start something new with the diamond.
puky69 said:
I have a problem. I installed but when I go to do aprtire tells me this erroe:
the sample has run into an error and needsto close : driver invalid call exception
Click to expand...
Click to collapse
hmm.....
I guess you have a Touch Diamond?
What rom are you running as the exception leads me to believe you have a driver missing? This could be sensor drivers or MD3DM graphics driver.
Confirmed phones that this app works with are:
Touch Diamond
MDA Compact IV
Touch Pro
Hi,
Here is a small application which uses the accelerometer and draws a small graph. It uses the g-sensor managed DLL from Koushilk Dutta (and you'll need the .Net Compact Framework 3.5 to run this on your Diamond)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is the CAB : SeismoCAB (61KB)
Edit: 20th sept. version 0.12 of my Seismosaur detector
zoom in/out with nav button (circle clockwise / counter clockwise)
close button
screen should not turn black while Seismo is running
now the scale is inverse tangent like
Have fun (though fun won't last for a long time with this )
PS: and I already know that this is silly and useless, and ugly...
nice tnx. downloading now.
(the best GODZILLA detector there is XD
Thanks in deed... I was just looking forward for this thing... Pencil is a cute user interface
Just a couple of question or feedback let's say:
-- The seismo in iphone was much more sensitive than ours... Even somebody's walking in the room was enough to disturb needle. Is it all about hardware? The response of accelerometer?
-- This lovely program is only deviating in "normal direction to screen" as far as i observed... I haven't seen a real seismograph, but is it always the case? Or should it react against the "resultant acceleration of three directions"
Thanks for the program...
Great APP, I've waited long for Seismograph for Diamond.
However it would be nice to:
1) change the pencil with the proffesional needle image?
2) make it more sensitive (or let us choose the sensitivity ),
3) prevent the screen from fading when the APP is running,
4) add some sound?,
5) add the possibilty to save the session,
6) maybe add the Richter scale meter somewhere underneath?
Heh, a long list, but I hope it will help to improve the APP
Haha... Love it!
emre_aachen said:
Thanks in deed... I was just looking forward for this thing... Pencil is a cute user interface
Just a couple of question or feedback let's say:
-- The seismo in iphone was much more sensitive than ours... Even somebody's walking in the room was enough to disturb needle. Is it all about hardware? The response of accelerometer?
-- This lovely program is only deviating in "normal direction to screen" as far as i observed... I haven't seen a real seismograph, but is it always the case? Or should it react against the "resultant acceleration of three directions"
Thanks for the program...
Click to expand...
Click to collapse
I'm not sure about the sensitivity, maybe it's the scale i've used (a logarithmic one may be needed, as the iPhone version has)... I'll try some adjustments... but i'm not trying to compete with the iPhone version here nor the results can be compared. iPhone's Seismometer measures some "energy" and not the raw acceleration. Maybe they square it or they integrate it, i don't know...
You are also right: I'm only measuring "up and down" accelerations. It could also use the norm of the vector if you think that it makes more sense.
gerDiamond said:
I'm not sure about the sensitivity, maybe it's the scale i've used (a logarithmic one may be needed, as the iPhone version has)... I'll try some adjustments... but i'm not trying to compete with the iPhone version here nor the results can be compared. iPhone's Seismometer measures some "energy" and not the raw acceleration. Maybe they square it or they integrate it, i don't know...
You are also right: I'm only measuring "up and down" accelerations. It could also use the norm of the vector if you think that it makes more sense.
Click to expand...
Click to collapse
Here my ideas for processing of raw data coming out of port:
1- As you've suggested, a log scale may let you magnify the result. Actually it will not magnify but it will let the output be scaled on a narrower band (visually). it means you will have a bigger space to plot data's. So you can increase the output by some constant (multiply with 10 let's say), or even maybe take the cube of the output (taking square will cause problem because negative results will turn into positive then) So we can see even the very small disturbances. and since you use log scale, big oscillations will also not be problem, they will nicely fit on your log scale.
2- Secondly norm of the vector seems like a better idea. Because we're not looking for something scientific or something based on real scales, you can use a resultant vector. The users only want to see the movement of your pencil in any case of disturbance. So sqrt(x'2+y^2+z^2) will be a more useful raw data output just before multiplying with proportional constant and scaling on log paper.
One more time thanks for your effort....
Very very very cool.
thanks very much for your time and effort
Highly appreciated.
works flawesly no probs with sensitivity HR...try to put Dia od table and you will see some vibrations even without any "seismic activity: so maybe appreciate option to stabilise common distorsions caused by HW such a very small iregular deviations...but leave to measure also this small distorsions so to do some switch...but very very amazing app...
I hate iPhone and iPhonemania but its good inspirations for all WM community
Very nice app.
Some suggestions
-exit button
-You can also do this with sound (decibel meter?)
-scale option
-real needle image
Great work so far thanks
Thanks for your feedback and suggestions, I'll try to improve this draft - I did not spend a lot of time on this as you may have guessed
I'll try first to change the scaling, find or draw a "needle" picture and have an exit button.
Stay tuned...
I was finishing my seismo program last nigth but you got ahead
Aldo my program have more features yours have a lot better interface, this was my second WM program so i think its normal, could you share the sorce code so i see how you make the graph?
And i can share my formulas white you to, i was using this web site as base to all my formulas http://earthquake.usgs.gov/learning/topics/measure.php
Thx in advance
Hi Ikari,
I had seen the thread where you said that you may code something, but at this time my small Seismo was already on its way...
Of course I'll post my C# solution on this thread this evening/night (European time too) when i get back home and have 5 free minutes
Feel free to use it!
where I can take .net 3.5??
==> .NET Compact Framework 3.5 Redistributable
To Ikari - and all those interested - here is a link to the current zipped solution (VS 2008):
SeismoMeter.zip (696 KB)
The few interesting things are in SeismoMain.cs...
Video of the app here.
http://wmpoweruser.com/?p=1018
Surur
really cool app. kudos from me
several small questions - would it be possible to somehow save the data / the graphs?
and it'd be cool if the device didn't go to sleep after the wm-preset time...
Very nice one.. I wouldt be nice to save the graphs and for example put the phone on the table and If your girlfriend/wife took it for a few moments then put it back.. you can see that ... just an ideea
Nice app!
What to add a fullscreen mode ?
Hi to all,
it's about time to release my new GSen-controlled game...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This game is about gravity and balls. With the movement of your hand (left/right tilting) you control the paddle that explodes the balls. Tilting up and down changes the gravitational force applied to the balls. This way you can accelerate them, slow them down or even make them fly to heaven again...
Let me know about ideas, bugs or improvements!
*change log*
v 1.00
*added native WVGA support for Touch HD
*better response of the paddle to movements
*all new graphics and finger friendly user interface
v 0.93
*fixed backlight dimming while playing game
v 0.92 initial release
If you like GravityBalls consider a donation and buy me a beer.
__________
looks interesting, going to try it out
Nice
Sick game good work! is their a way to make the gsensor more sensitive??
pretty nice. I did notice my backlight was dimming and timing out - any way to override that?
bugsykoosh said:
pretty nice. I did notice my backlight was dimming and timing out - any way to override that?
Click to expand...
Click to collapse
I haven’t tried or downloaded the app yet but if the developer looks through Klaxon's source code it shows a method of preventing the backlight from turning off while the app is running.
Hope that helps, now to give this game a try...
toomie05 said:
Sick game good work! is their a way to make the gsensor more sensitive??
Click to expand...
Click to collapse
Yes, download if you don't have it already, called Diamond Config. v3.3. Here you can do a lot more than just tweaking Gsensor polling.
http://forum.xda-developers.com/showthread.php?t=418151
Hi,
good to hear that you like the game
bugsykoosh said:
pretty nice. I did notice my backlight was dimming and timing out - any way to override that?
Click to expand...
Click to collapse
I will look into this for next version of GravityBalls. It's not as easy as copy&paste from Klaxon's source because I don't use the .Net CF. GravityBalls was made using PPL (Pocket Programming Language).
band27 said:
Yes, download if you don't have it already, called Diamond Config. v3.3. Here you can do a lot more than just tweaking Gsensor polling.
http://forum.xda-developers.com/showthread.php?t=418151
Click to expand...
Click to collapse
I'm afraid tweaking the GSensor polling won't help here. I poll for the data 10 times per second; if I try shorter intervalls the GSen-data freezes and becomes kind of static. I heard other programmers had the same problem, even though with the "native" .net SDK for the GSen the polling intervalls might go down to about every 32ms polling and still workin fine.
It somehow depends on the general CPU usage of your device in the moment of polling - and GravityBalls really graps every CPU-cycle it can
zehlein said:
I will look into this for next version of GravityBalls. It's not as easy as copy&paste from Klaxon's source because I don't use the .Net CF. GravityBalls was made using PPL (Pocket Programming Language).
Click to expand...
Click to collapse
zehlein,
It iwas just a thought for an easy fix...
Good luck!
Looks good, I'm giving it a shot tonight!!! Thanks
thanks worked perfect
Nice little game....good job! ....and yeh, wish the gsensor was more sensitive. Find that it can be a little tough to get the paddle from one end to another quick enough. Found out a little technique though, is to hold the device almost face up so that the balls don't come down full speed.
p.s. on a side note...the sound choice for this game makes me laugh!
band27 said:
... Find that it can be a little tough to get the paddle from one end to another quick enough. Found out a little technique though, is to hold the device almost face up so that the balls don't come down full speed.
p.s. on a side note...the sound choice for this game makes me laugh!
Click to expand...
Click to collapse
Yes, tilting up and down changes the gravity. Clever use of it can prevent quite a few balls from not being exploded. Even in the higher levels with the balls coming down quickly you won't survive too long without using this. You might even reverse gravity's direction and let the balls fly up again...
Uhmm, yes. The sound. Nice one, right!?
I posted a new version 0.93 for download. The backlight dimming during gameplay is fixed now.
hi zehlein
can you make a video
Thank you for this latest release!
Pity that WVGA resolution is not supported... it's great, but on Touch HD (800x480) it has one bright white stripe at the bottom of a page... Not quite the same effect as a whole black background.
please dude make a wvga compatible game .
great game btw.
Aqrab said:
hi zehlein
can you make a video
Click to expand...
Click to collapse
As soon as I will find some time I will try to shoot a video. Not that easy though, simple screencapturing won't do - you won't get the idea of moving the device...
mr_absinthe said:
Thank you for this latest release!
Pity that WVGA resolution is not supported... it's great, but on Touch HD (800x480) it has one bright white stripe at the bottom of a page... Not quite the same effect as a whole black background.
Click to expand...
Click to collapse
Sorry for this but at the moment there is no way I see to let the game run in WVGA.
Thanks loving this
hey, works great on my shadow 2009. The only problem is that it is not a touch screen device. Is there any possibility that you could make it so that some of the features can be accessed from the key pad? Most notably choice to retry or exit the game.
necrotek said:
hey, works great on my shadow 2009. The only problem is that it is not a touch screen device. Is there any possibility that you could make it so that some of the features can be accessed from the key pad? Most notably choice to retry or exit the game.
Click to expand...
Click to collapse
Ok, this will be in the next beta release.