Show us yer programming projects!

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
Oaf
Baaaaa!
Baaaaa!
Posts: 1688
Joined: Mon Nov 11, 2002 1:14 pm 0
Location: Dark Hedges
Contact:

Post by Oaf »

Yay! Demo submitted to DBP.

Wow - look at those cubes :D Bit different now :)

Spent Monday night coding like a bastard, till 3am. Got up Tuesday morning (7am, thanks Mrs Oaf) to find they'd extended the competition till Friday. Just as well! It's a lot better for it.

This is what it should look like, if I knew what the feck I was doing with my lighting:

Image

However, I don't, so....

Image

I'll post a demo up tomorrow, just want to tidy a couple of things first.
User avatar
tufty
Sheepie Whore
Sheepie Whore
Posts: 12525
Joined: Fri Jan 07, 2005 4:52 pm 0
Location: French Alps

Post by tufty »

I got inspired by the discussion we were having about rotations and the like a few days back, and revisited my flocking demo toy. It's turning into a bastard hybrid of Robotron, Assault, and Matrix. Screeny is very early days, with only one enemy and bullet type on screen.

Simon

Image
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

"Red Wing #1: Ahh! Fuck! Run away! The little yellow chevron has gone mad!"
User avatar
tufty
Sheepie Whore
Sheepie Whore
Posts: 12525
Joined: Fri Jan 07, 2005 4:52 pm 0
Location: French Alps

Post by tufty »

Little yellow chevron has gone even madder!

It's getting a bit more shooty now, what with explosions and the like. The explosions are a fairly major game mechanic, as nature equipped your little yellow chevron with a rather puny little peashooter: thus you have to shoot the little red chevron drones and turn them into mines (the little coloured triangular chaps), which you can then shoot to cause all sorts of gnarly chain reactions. That can get you into trouble though, as they also push away anything outside their shock radius, so it's quite possible that you'll send a load of mines in your own direction, and as they auto-explode after a certain (more or less random) time interval, with no visual warning...

The walls fade in and out in sequence, and we now have pods and swarmers in a rather defenderish manner (there's a pod at the bottom left of the screeny, swarmers are an utter cunt to shoot as they try to dodge bullets), plus almost indestructible tanks (they are bomb proof, and indestructible whilst moving - they go pick up mines and then sit still to target you; once you're locked they fire a stream of guided missiles at you, but while they are doing that, they are shootable).

I'm not sure whether to go for a "seamless" approach a la grid/geometry wars, or "staged" as per roby (although I favour the latter)

What else? Solid 60fps on my mac mini and only using 15-20% of available per-frame time at the moment, with a couple of hundred objects on screen, and none of the drawing has been optimised yet. The only sine and cosine calculations in the whole thing are to calculate the explosion radii, and to draw the explosions / pods :)

Needs some better graphics, some sounds, some more enemy types, and a bit of tweaking before I release a beta

Simon

Image
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
STEVIE G
Baaa!
Baaa!
Posts: 211
Joined: Sun Oct 31, 2004 10:00 am 0

Post by STEVIE G »

New gamplay video of my physics based game - provisionally titled Stramash ....

The editor
Image

In Game
Image

Gameplay video
http://www.youtube.com/watch?v=Lb3izlLBBx8
User avatar
Oaf
Baaaaa!
Baaaaa!
Posts: 1688
Joined: Mon Nov 11, 2002 1:14 pm 0
Location: Dark Hedges
Contact:

Post by Oaf »

Nice :)
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

I really liked that video :D
User avatar
barry
Baaaa!
Baaaa!
Posts: 626
Joined: Thu May 27, 2004 6:52 pm 0
Location: London

Post by barry »

tufty wrote:Image
Hey! You've been in my computor steelin my schmup! ;)

Image
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

I've been inspired by FireBug, DrScheme, Proce55ing and _why, the lucky stiff's Hackety-Hack project. Also, I realized that modern web browsers are essentially Von Neumann machines. Special thanks to the Canvas tutorial (http://developer.mozilla.org/en/docs/Canvas_tutorial).

So, I built an alpha version of a REPL environment inna' browser. The goal is to help people have fun while learning or practicing programming.

http://failrate.com/as/prog-ra-matic-version-0.html
Image

The next step is to modify my JavaScript mission-system to do the kind of step-by-step instruction that'll make it a real teaching tool.
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

Nice! :)
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

Well, I totally bogarted the formula for the drawings off of the canvas tutorial :D
User avatar
oNyx
Baaaaa!
Baaaaa!
Posts: 1652
Joined: Mon Sep 08, 2003 1:24 am 0
Location: de/fd

Post by oNyx »

Wrote a source code highlighting filter module for Drupal yesterday. I blogged about the reasoning and research and the first usable version (2 screenshots included).

I used SHJS for the highlighting and by the looks of it it was a good choice. :)

Today I'll do some additional testing and I'll add another small feature. Then it should be pretty much done, I think.

edit: 12 hours later... release! \:D/
User avatar
gumboot
Baaaaaaa!
Baaaaaaa!
Posts: 7652
Joined: Sun Aug 26, 2007 3:42 am 0
Location: trumpstain!

Post by gumboot »

Are there many people in here doing things along the lines of visualisations, screensavers, lightsynths and the like, or is it pretty much all games and applications? After reading Minter's VLM history, which seemed to follow a similar line to some of what I puddle around with, I thought maybe this would be a reasonable place to look for other display-hackers, but it seems fairly quiet.

I did take an interest in game programming years ago, and wrote some bits and pieces, but I went off it when the 3D revolution came along. I did the obligatory spinning doughnut and then put it away and went and studied electronics instead. Now 3D has come and found me at work and is forcing itself down my throat in the form of OpenGL ES. I'm starting to accept it because I fear I need to go through the same process on my own to carry on my display-hacking habits.

Not that I don't still have my handful of game projects lined up in my head, of course... I just think they're too involved for me to get into.

I'd been meaning to write some stuff about some lightsynth-style ideas I've been trying to keep under control, but after staying at work until 4am two days running I haven't quite got my head clear, yet (and now I'm up at 5am and I just can't sleep).
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

@gumboot: There's loads of light-synth stuff in this forum. Do yourself a favor and search through all the old posts. Loads of stuff about visualization, fast Fourier transformations, wavelets, etc.
User avatar
gumboot
Baaaaaaa!
Baaaaaaa!
Posts: 7652
Joined: Sun Aug 26, 2007 3:42 am 0
Location: trumpstain!

Post by gumboot »

failrate wrote:There's loads of light-synth stuff in this forum. Do yourself a favor and search through all the old posts.
"Old" being the key word. I was really wondering what's current.

That said... when I look at my own project, it doesn't seem to have done much of anything in the last year. Partly because of professional CoI issues, and partly because that time-shrinks-as-you-age thing seems to have hit me really hard this year.

Still... I wouldn't mind seeing what falls out if I shake the tree.
Post Reply