Description:
Is this what you had in mind for the beer? A first rough application that simulates drinking. It's made to use the g-sensor of the new HTC Diamond.
You can drink Hinneken, Corona, Duvel, Bacardi & Cola etc.
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.
Still todo:
- 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 ).