[cairo-commit] cairo-demo/svgspacewar/docs action.png, NONE, 1.1 index.html, NONE, 1.1 zoomed.png, NONE, 1.1

Oeyvind Kolaas commit at pdx.freedesktop.org
Thu Mar 31 06:38:00 PST 2005


Committed by: pippin

Update of /cvs/cairo/cairo-demo/svgspacewar/docs
In directory gabe:/tmp/cvs-serv12854/docs

Added Files:
	action.png index.html zoomed.png 
Log Message:
importing svgspacewar

--- NEW FILE: action.png ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: index.html ---
<html>
<head><title>SVG Spacewar</title></head>
<body>

<h1>
SaVaGe Spacewar
</h1>

<p>
Spacewar (1962) was the first ever computer game, and involves two little
spaceships trying to blow each other up.  Here is a loving (simplified)
re-make, but the visuals have been updated to use the
<a href="http://www.cairographics.org">Cairo</a> 2D graphics library.
Technically, this means things like <b>anti-aliasing</b>, <b>scalable
graphics</b>, <b>alpha blending</b>, and <b>gradient fills</b>.
Non-technically, just take a look at (1) the screenshot below, and (2) the
close-up below that, demonstrating <b>scalable vector graphics</b> - or SVG.
When you get your super-mega-ultra-hi-res monitor in a few years' time, these
graphics will just look even smoother, unlike the old games of 5 years back,
which just look "blocky" on today's computers.
</p>

<h2>Screenshots</h2>

<img src="action.png" width="794px" height="594px"/>

<br/>

<img src="zoomed.png" width="612px" height="438px"/>

<h2>Playing the Game</h2>

<p>
The game itself is very simple - there are two ships, and they can only
accelerate, rotate, and fire.  The blue ship is controlled by the <b>W</b>,
<b>A</b>, <b>D</b> and <b>(Left) Control</b> keys, and the red ship is
controlled by the <b>8</b>, <b>4</b>, <b>6</b> and <b>Insert</b> keys on the
number pad (make sure that NumLock is off).
</p>

<p>
Run out of energy (the colored bar at the top) and you lose.  You lose energy
by colliding with the other ship, or with any missiles (including your own).
You gain energy (up to a maximum level) by just hanging around, although you
recharge faster if you aren't shooting.
</p>

<h2>History</h2>

<ul>
<li>
<b>2005-03-31</b>: Initial release - version 0.1, aka "proof-of-concept".  The
software could undoubtedly do with some optimization.
</li>
</ul>


</body>
</html>

--- NEW FILE: zoomed.png ---
(This appears to be a binary file; contents omitted.)




More information about the cairo-commit mailing list