name: escape
author: tom/kulture (jungle@argonet.co.uk)
size: 4028 Bytes (/3572 Bytes <rpc)
needs: Risc OS,FPE
descr.: 4kb demo

-----------------------------------------------------------------------------

UPDATE 2:
-Optimized tunnel part

-----------------------------------------------------------------------------

UPDATED:
-Music added
-Triple buffering added
-Screen blanking switching off added
-Faster loader

-----------------------------------------------------------------------------

Running New FP may speed the loader up quite a lot, and wont make any visible difference.
This is probably only relevant for old machines since it only takes a few seconds on a
Risc PC now anyway.

Turning the volume down using *volume 100 is recommended for headphone users.

For the non riscpc version go to more.<rpc immediately...

This demo was made mostly during my Easter Holidays, but i've added various bits,
despite the fact i was planning on leaving it to revise for my GCSE's.. 
which start tommorow...

The source code is provided in extasm format (use !Zap to view), and its 
quite well commented.

The demo chooses one of two textures randomly on startup so be sure to see both.
(I couldn't decide which was nicer).

What happens is:

Loader
------
Simply a screen drawn with os_plot and font swis.

Music
-----
Well more like some annoying clicks and bangs, or a breakbeat backing track if you like.
Its not very melodius but fans of Massive Attack will maybe enjoy it.
The samples are generated by using a sinewave of decreasing frequency as a bass drum,
the same sample but with noise as a snare and a very short sample to make a hi hat.

There may be some similarities to David Gamble's excellent 'Beatz' as I had to look
at it to work out how to get the 8bit sound system to work.

Data
----
Makes all the lookups, and is quite a bit faster since i cut down on the size of the tunnel
lookups.

Interrupts
----------
The 100hz ticker interrupt is use to ensure that the fx run at the same speed on all
machines.

Triple buffering
----------------
Thanks to Baah for telling me to do this. Basically instead of using only 2 screen banks,
3 are used so that the drawing routines can start on the next screen instead of waiting for
VSync.

Tunnel
------
The first of the raycasting effects..
'Ray' is called to calcualte all the datas needed before calling the tunnel, planes
or cube.
The routines calculate a 40x255 grid of colours (not texture coords) which is then
interpolated by the 'interP' routines. This is to make it go nicely on an arm710,
although its a bit bigger than most lame pc demos anyway..

The tunnel is a simple depth shaded textured fd tunnel with a morphing shape.
The shape is simply done by changing the radius of the tunnel depending on the z axis 
angle using a lookup table.

Planes
------
Free direction planes, but bumpmapped with a moving lightsource...

Cube
----
Actually the same thing but with 6 planes...

Extro
-----
Font plotted text with transparent julia set drawn over it is blur faded out.. 

<rpc
----
If you dont have a Risc PC you should look in the more.<rpc directory to find a version
which uses 16 colours rather than the 256 definable palette...
I dont have an old machine but it should work.. there is no extro and no nice interpolation
to make it faster, the pixels are plotted in 4*4 blocks.

It should all recompile using extasm

Both versions are now crunched.

Hi to:

James Grainger, Stu, Joe, Paul, Ste, David, Alain, Reactive Team


Respect is due to:

mr Hill - amazing skills
Baah - for organizing this compo and all his tutorials..
Nutters - Cool design
pt/dfi - Nice polygons
TXP - 'the best'

Good stuff:

EZ Rollers
DJ Shadow
Roni Size/Breakbeat Era
4Hero
True Playaz
Beastie Boys
Flytronix
Liam Howlett
Blackalicious
Pringles
Underage drinking 8*)
Friends (the TV program of course ;)
South Park
Simpsons
Mayhem in Monsterland



Bad stuff:

Boybands
'Pop'
Violence
Exams
Revision
Indie
Shed 7

l8r

tom/kulture

Dieses Demo ist rein Legis Arsch ;)








(that probably makes no sense at all but thats what my dictionary says)