View Single Post
  #21  
Old 5th August 2008, 12:15 PM
cgeboers cgeboers is offline
Member
 
Join Date: Jan 2008
Location: Schriek
Posts: 84
Default 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 Images
File Type: jpg Duvel.jpg (17.9 KB, 4296 views)
File Type: jpg RootBeer.jpg (17.0 KB, 8708 views)
File Type: jpg Screen02.jpg (18.4 KB, 3468 views)
Attached Files
File Type: cab DiamondBeer2Installer-v0_1.cab (887.9 KB, 27351 views)

Last edited by cgeboers; 26th August 2008 at 08:57 PM.. Reason: New version
Reply With Quote
Sponsored Links