[APP][25.09.08]HTC Touch Diamond VR Hologram v2.02 - Touch Diamond, MDA Compact IV Themes and Apps

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

Related

[APP][UPDATED 2009/01/20] New G-Sensor/Accelerometer Game: CAVER

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

[APP] Seismo - v0.12 20/09/2008

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 ?

[APP] [ver 1.00] [updated 17.03.09] GravityBalls - GSensor Game for Diamond and HD

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.

[APP][13/04/09] GravityPong - GSensor Pong 0.4

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
>>>>>>>>>>>>>>>>>>>>>>>>>>

accelerometer game BOING...

A New version of Boing is available on my website. This requires a device that has opengl es support.
Touch the screen or use arrow keys to start or pause the game.
Tilt the device side to side to move the ball.
Enter button exits the game.
When paused, touching the lower portion of the screen where it says resume will resume
and touching the upper area where it says exit will exit the game.
-------------
BOING... is a game built for use on a HTC windows mobile phone with a tilt sensor / accelerometer / g-sensor. Move the device to move the ball and bounce from platform to platform.
-older version instructions-
The phone I used to test development has a resolution of 240 x 320.
I have tried to add support for larger resolutions but am unable to test.
I have also tried to make it usable by phones without an accelerometer with the arrow keys.
Please visit my website http://flyingmonkeypuke.com/boing
It is playable but I am still having some trouble with consistent platform generation and collision detection.
{
"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"
}
any screens pleas ?
Hi, could you put some screenshots? Thanks
It's neat. Tested on a Fuze/Touch Pro and it works well. There's some slight flickering going on. Are you going to build in levels or something similar?
For anyone asking - there are 'trampolines' that a ball bounces off of and goes higher and you need to move the device left/right to move the ball around while it's in air and the platforms are spaced out randomly. I like the concept. MyMobiler won't pick it up on a screenshot...
Thanks for trying it out. I was curious how it plays on a vga resolution. The way I tried to support larger resolutions was to just add more platforms when a larger screen size was detected which probably adds more of a problem with the randomly generated platforms. Unless the ddraw is scaling to fit the vga screen which might be the cause of the flickering? It runs smooth and with no flicker on my device.
I am working on an opengl project at the moment. I will revisit this project and make some adjustments when I can.
I couldn't get MyMobiler to work to get a screen shot either so I just mocked one up.
Tested it to see how it behaved with cursor keys, but since I dont have accelarometer, it crashed...
hey twolf, I dusted off my mpx200 and made some adjustments. I got it to work but I don't recommend running this on on a device with 176x220 resolution. still no flickering on this phone either.
new zip uploaded to my website.
nop.... It shows "unable to load sensor dll", splashscreen appears, crash.
I have a Qvga (240x320) screen.
Doesn't work on my Touch HD (480x800) I see for one second the title, and then it closes..
Has anyone had a positive experience with this program? I would appreciate any feedback.
If anyone is interested I posted an opengl cube that responds to tilting the device.
I had a good experience but I stated that already I didn't see the 'cube' post - I'd test it out...anyone making gsen apps is good in my book
It doesn't work on WM6.5
Fitz said:
Doesn't work on my Touch HD (480x800) I see for one second the title, and then it closes..
Click to expand...
Click to collapse
And with WVGAFix3 resolution to 640x480? It should work i think.
doesn't work with touch pro 2
Fitz said:
Doesn't work on my Touch HD (480x800) I see for one second the title, and then it closes..
Click to expand...
Click to collapse
Doenst work on my Touch HD either. It also doesnt work, if i use WVGAFIX3
New openGL es build of Boing now available. hopefully this will work better for everyone. I finally got access to a touch pro to test on. no sound in this build. enjoy
Thanks a lot, looks great!
Hope soon we can have it with sound
Works fine on VGA screen (Diamond). Thank you, nice game
Works great on the HD2. Very addictive game indeed!
The only problem is that touching the screen pauses and then resumes. The menu doesn't do anything for me, so I can't exit the game that way.
Other than that, tip-top mate
when paused, touching the lower portion of the screen where it says resume will resume and touching the upper area where it says exit will exit the game.

Categories

Resources