OS4 DepotLogo by Liksmaskaren 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Demo » Scene » caffeine.lha


Description: Demo from Assembly2006, ranked 5st place
Download: caffeine.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 2Mb
Date: 09 Apr 2010
Author: wbs
Submitter: kas1e
Email: kas1e/yandex ru
Homepage: http://www.martin.st/software/
Category: demo/scene
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 5455
Comments: 0
Snapshots: 1
Videos: 0
Downloads: 468  (Current version)
468  (Accumulated)
Votes: 1 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 

This started out as a small project when I wanted to learn how to code some easy
and basic demo-effects. From the very beginning I had a wish to release a demo
at Assembly '01, and after some time, it started looking more and more like it
actually might become something worth releasing. I also had to code my own
.mod-player, because I wrote the whole thing in Java, and there aren't too many
.mod-players freely available for that.

Caffeine can be viewed online or downloaded. There's also a second version of
the html-page for viewing online, which doesn't require the java-plugin. The
downloaded .jar-file can be run with "java -jar caffeine.jar" if you have a JRE
or JDK installed, or with "jview /cp caffeine.jar Caffeine" if you are running
Windows and have MS JVM.

The complete source is also available for download. You are allowed to read and
learn as much as you want, but please don't copy or reuse parts of it without
letting me know.

Sun recently released Java 1.4, which supports fullscreen graphics. Therefore, I
have made a quick hack of Caffeine which makes use of this capability. It is not
too good, because I haven't really made an effort to make the best and most
compatible implementation of this, but it works for me at least. If you've got
Java 1.4 you can give it a try, otherwise you're better off using the normal

Even though some of the point of Caffeine originally was that it should be a
demo in Java, I couldn't of course resist to port it to C++. You can download
binaries for windows, static binaries for linux or the source code. This version
doesn't fit into the same 64k-category as the original Java-version though. It
compiles well on Linux and on Windows with MinGW. It requires OpenPTC or SDL and
libpng. I think the binary for Windows also requires quite a new version of
DirectX (for the sound).

In 2006, I dusted off the code and did a quick port to Symbian Series 60. This
included making the effects scalable (the original code only works in 320x240)
and runnable in different bitdepths. Binaries for Series 60 1st and 2nd edition
and Series 60 3rd edition are available for download, as is the source code,
which also includes a slightly modernized SDL version to ease porting. I
participated in the mobile compo at Assembly 06 with this version, which
finished fifth (of 5 participants).

Copyright © 2004-2024 by Björn Hagström All Rights Reserved