SDL Grid Tech Demo

SDL Grid Tech Demo - SDL, sdl_gfx, grid, geometry wars, trig, simple, harmonic, motion

File Type:

BZ2 File

Version:

0.1

Language:

C++

Size:

230.23 kilobytes

Download


Windows Binaries

This program is a demo of grid mechanics similar to the background grid in Geometry Wars. As the mouse moves over the grid, it "pushes" the nodes of the grid downward. However, each node is linked to the nearby nodes, causing a kind of vortex.



There are three modes in it. In the first mode, nothing special happens. Everything just kind of fades back to zero when the mouse moves. To spice things up, I added damped simple harmonic motion to the nodes. If you hold the middle mouse button, you'll see the results of that. Everything becomes too stiff. So instead, in the third mode, the nodes only oscillate if the mouse has passed over them. Hold the right mouse button to see the results of that.



Click anywhere on the screen to end the program.



Windows Binaries are available in addition to the source code, which is GPL'd.
Tags: SDL, sdl_gfx, grid, geometrywars, trig, simple, harmonic, motion

Comments

The links to the windows binaries are now fixed.
By T.J. 02/25/08 04:36:46

How am I supposed to run this?
By Garcia 03/30/08 08:38:50

Download the windows binaries, extract it, and run the .exe?

Or download the source code and compile it yourself.
By T.J. 04/17/08 01:04:22

Add Comment

Please note that your IP address is logged for security purposes and that if you spam, your IP will be blocked from accessing this site.
Name:
URL:
Comment:
The following bbcode is allowed: [b] [i] [s] [url=(url)]link title[/url] [code]

ReCAPTCHA: