FORUMS
Remove All Ads from XDA

[APP]Beer Program for Diamond (G-Sensor)

16 posts
Thanks Meter: 0
 
By svenss, Junior Member on 29th July 2008, 11:48 PM
Post Reply Email Thread
5th August 2008, 11:15 AM |#21  
Member
Flag Schriek
Thanks Meter: 1
 
More
Diamond Beer 2
Is this what you had in mind for the beer ?

A first rough application that simulates drinking. Again not yet as complete as I wanted it to be.

Usage:

Start the program and keep close to your mouth, you don't want to spill the beer ! Next "drink" from your PDA.
Menu -> New Drink refills your glass/PDA.

Any feedback about problems is appreciated !

BTW: usefulness: keeps stress levels down. (Studies show that even the anticipation of a joke can reduce your stress-level by 70 % !)

New version:

DiamondBeer2, which is developed with C++ and does not rely on the .NET CF framework.

Enhancements:
- Beer "label" on your glass.
- multiple types of drinks: "Duvel" is the default, and a root beer (non-alcoholic) for kids (shows how "skins" would work).
- Bubbles in the glass ( go always up)
- If you tilt your "glass" to far, the beer empties immediately. (careful, you might get wet)
- Icon in "programs" group is again not visible now

Done:

- added "foam" (not for all drinks). I could use some artistic help here, because I need a texture which allows me to draw foam without "lines" in it. This is the first rough graphic, I am working on improving the algorithm.
- added "glass" again. Still not optimal, maybe better when I convert the application to OpenGL ES
- uses full-screen mode. Tap on the screen to get the menu back
- better algorithms for flow of beer and foam. I got the rough ideas now, just need to work them out. I think I have a better version already, but I am still not satisfied.
- Foam gets smaller the longer the beer is standing still

<b>Still todo:</b>
- Use a better particle engine for the bubbles.
- Get better colors, especially the B-C does look terrible. (checkout what B-C stands for)
- Add sound (any pointers to examples are appreciated).
- better artistic images.
- User managed drinks.
- Implement "shaking" so foam gets increased.
- Save settings
- User setting for "drink-rate" (saved for next start)

Help needed:
- Pointer to "blending" code examples for drawing the glass
- Texture for foam and/or beer (maybe even brown or red ales ?)
- Other help needed: how can I detect that the PDA is shaken ?

Future enhancements I am thinking about:

- Adding ice-cubes for some drinks (and no ... never for beer )

Important:

If you like my applications, consider a donation to Koushik.
After all it is thanks to his (and the many other developers) work and readiness to share it that I can write these programs. I (currently) still get enough satisfaction in writing these programs.
Attached Thumbnails
Click image for larger version

Name:	Duvel.jpg
Views:	4836
Size:	17.9 KB
ID:	105256   Click image for larger version

Name:	RootBeer.jpg
Views:	13387
Size:	17.0 KB
ID:	105257   Click image for larger version

Name:	Screen02.jpg
Views:	3935
Size:	18.4 KB
ID:	107347  
Attached Files
File Type: cab DiamondBeer2Installer-v0_1.cab - [Click for QR Code] (887.9 KB, 32487 views)
 
 
5th August 2008, 11:24 AM |#22  
NisseDILLIGAF's Avatar
Senior Member
Thanks Meter: 31
 
Donate to Me
More
Wow .. I was expecting the lame IPhone video just made over like a cab install .. but this it Fu*!ing cool .. hehehe

I can see where this could go, have some more bubbles and maybe ( ok now i mybe thinking to much ) but have the camera in the background, so its like transparent??

Cool app, kicks 'IPhone video' Ass!!
5th August 2008, 11:38 AM |#23  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by cgeboers

Is this what you had in mind for the beer ?

A first rough application that simulates drinking. Again not yet as complete as I wanted it to be. It is written with C# and uses .net CF 3.5, so make sure you have that installed.

Usage:

Start the program and keep close to your mouth, you don't want to spill the beer ! Next "drink" from your PDA.
Menu -> New Drink refills your glass/PDA.

Things to do:
- Use GDI+ to create transparent images (any pointers to examples are appreciated)
- Make multiple "beers"
- Allow user installed skins
- Fix icon - have not found yet where I need to specify it so that it shows up in the "programs" group.
- Add sound ?

Any feedback about problems is appreciated !

BTW: usefulness: keeps stress levels down. (Studies show that even the anticipation of a joke can reduce your stress-level by 70 % !)

Works great!

But its not so detailed, like the Iphone.
5th August 2008, 11:43 AM |#24  
nubbin's Avatar
Senior Member
Thanks Meter: 3
 
More
I rather like this one - http://ca.youtube.com/watch?v=hmK-MO...eature=related
5th August 2008, 11:55 AM |#25  
teddyen66's Avatar
Senior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by nubbin

I rather like this one - http://ca.youtube.com/watch?v=hmK-MO...eature=related

Yeah funny one :)
5th August 2008, 12:10 PM |#26  
Member
Thanks Meter: 3
 
More
Thumbs up
Quote:
Originally Posted by cgeboers

Is this what you had in mind for the beer ?
Things to do:
- Fix icon - have not found yet where I need to specify it so that it shows up in the "
Any feedback about problems is appreciated !

Here are some Icon's
http://ikony.deviantart.com/art/Beer-3956897
http://gosco.deviantart.com/art/Beverage-cans-87466559
http://www.guimods.com/windows-beer-icon-pack/
5th August 2008, 12:35 PM |#27  
JanDaMan's Avatar
Senior Member
Flag London
Thanks Meter: 0
 
More
Quote:
Originally Posted by cgeboers

Is this what you had in mind for the beer ?

A first rough application that simulates drinking. Again not yet as complete as I wanted it to be. It is written with C# and uses .net CF 3.5, so make sure you have that installed.

Usage:

Start the program and keep close to your mouth, you don't want to spill the beer ! Next "drink" from your PDA.
Menu -> New Drink refills your glass/PDA.

Things to do:
- Use GDI+ to create transparent images (any pointers to examples are appreciated)
- Make multiple "beers"
- Allow user installed skins
- Fix icon - have not found yet where I need to specify it so that it shows up in the "programs" group.
- Add sound ?

Any feedback about problems is appreciated !

BTW: usefulness: keeps stress levels down. (Studies show that even the anticipation of a joke can reduce your stress-level by 70 % !)

Hey not bad man good work, just need to get the graphics up to the standard of the ibeer app now - also i noticed that when the phone is tilted too much (like upside down) the beer goes back to thinking is flat on a table lol, it should just flow out faster tho.
5th August 2008, 12:57 PM |#28  
Senior Member
Thanks Meter: 2
 
More
help cannot run
help i have downloaded this program and want to use it but it says my "mirosoft .net version is out of date"

please help
5th August 2008, 01:15 PM |#29  
teddyen66's Avatar
Senior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by danthekilla

i will make it for you guys but it wont look that pritty at least to start off as i dont have much time for it right now (work/uni) expect it in 1-2 weeks

im also making a Flow type game and i have already made 2 testing apps (a ball simulator using the g-sen and a magic 8 ball app where you can shake the diamond)

please donate as then i can mabey work a few less hours and actually make the apps im makeing a bit better cos ill have a bit more time..
Donate Here

I would love to try your apps :)
And who knows, I might donate ;)
5th August 2008, 01:22 PM |#30  
horstborsch's Avatar
Senior Member
Thanks Meter: 3
 
More
Some screens would be nice!
5th August 2008, 02:16 PM |#31  
lordcoffee's Avatar
Member
Flag Frankfurt
Thanks Meter: 8
 
More
Hi! Nice but a bit slow. Beer is a bit more liquid. If you like (I'm good in graphic stuff) I can create some images for the beer. What filetype do you need? I think .png for the foam and ma ybe an animated .gif for the beer itself with bubbles raising? What also would be nice if you shake the phone the foam could grow, possible?

Greetings, lordcoffee
(by the way... "hooray, my first post in this forum")
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes