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
piku
Sheepie Whore
Sheepie Whore
Posts: 20960
Joined: Wed Apr 24, 2002 10:44 am 0
Website: Http://Www.ncot.uk
Location: Wakefield
Contact:

Post by piku »

GoatFoam wrote:
Dvorak wrote: Unfortunately, progress is minimal (due to lack of time, not ideas. Well, the other way round would be worse). :(
I know the feeling. All my coding time has been lost to climbing, walking, cycling and painting my house.

I wouldn't mind so much, but all my climbing, walking and cycling time has also been lost to painting my house.
My climbing and walking has been lost to sleeping, eating and working. My coding has vanished somewhere and comes out only during holidays, if coaxed nicely with a warm cup of tea.

Yeah, it sucks being a member of society.
return (0);
User avatar
Loada
Baaaaa!
Baaaaa!
Posts: 1741
Joined: Sat Sep 07, 2002 2:17 pm 0
Location: North Yorkshire, UK

Post by Loada »

GoatFoam wrote:Houses are rubbish. I'm going to go and live in a pit.
Pit??!? Luxury!!.....when I were a lad...

;)
User avatar
moosedude
Baaaaaaa!
Baaaaaaa!
Posts: 6209
Joined: Fri Nov 19, 2004 1:19 pm 0
Location: Craggy Island
Contact:

Post by moosedude »

What you guys need is a really good, heavy cold. My programming has progressed a little more because of it. I'm sure when I'm fully recovered the usual life things will get in the way again, a few weeks ago I was digging up my brothers garden, programmers aren't suppose to get blisters!

I've been playing with fragment Shaders recently, almost have a parallel version of the FFT implementation, been working from GPU gems 2 as a guide.

Motivation gets a little more difficult when the sun is shining outside.

01000101 01000100 01000111 01000101

http://www.redbubble.com/people/fotofill/ buy my photos!
User avatar
Istar
Baaaaaa!
Baaaaaa!
Posts: 4869
Joined: Mon Apr 22, 2002 4:42 pm 0
Location: London, UK.

Post by Istar »

<nods at moosedude>

Having been stricken with a bitch of a cold the last couple of days, I've turned my attention to a kickass multi-threaded Prime generator I had an idea for a couple of weeks back.

Not running yet (still working on the queue throttle logic which balances candidate generation rates against consumer availability) but as it's:
> a) C#
> b) multi-threaded
> c) devastatingly cunning
> d) simple (i.e. not predicated on Gauss / Riemann / Mersenne)
I'm expecting a candidate test rate sizably better than the 5000/min I get from my 2005 VB6 generator. :twisted:

I wonder how long it'll take to get to (2^64)-1, which is when my 'ulong' values will overflow... :wink:
User avatar
_TinOmen_
Baaaa!
Baaaa!
Posts: 745
Joined: Wed Feb 12, 2003 10:52 pm 0
Location: Stockholm, Sweden
Contact:

Post by _TinOmen_ »

ZGameEditor: My freeware 64kb demo/game/screen saver development tool is progressing to version 1.2.1 with improved support for loading external bitmaps and using them for textures.

I've made a new 10-second 64kb demo project called "CleanseCube" which is now included with source in the ZGameEditor distribution.

Here is a Google video of the demo.

Screens:
Image Image
User avatar
Darkflame
Sheepie Whore
Sheepie Whore
Posts: 18236
Joined: Mon Mar 31, 2003 11:06 am 0
Location: Not the UK

Post by Darkflame »

_TinOmen_ wrote:ZGameEditor: My freeware 64kb demo/game/screen saver development tool is progressing to version 1.2.1 with improved support for loading external bitmaps and using them for textures.

I've made a new 10-second 64kb demo project called "CleanseCube" which is now included with source in the ZGameEditor distribution.

Here is a Google video of the demo.

Screens:
Image Image
Pretty spiffy!
User avatar
Istar
Baaaaaa!
Baaaaaa!
Posts: 4869
Joined: Mon Apr 22, 2002 4:42 pm 0
Location: London, UK.

Post by Istar »

Istar wrote:I'm expecting a candidate test rate sizably better than the 5000/min I get from my 2005 VB6 generator. :twisted:
First runnable version today. Not load-balanced yet between Producer / Consumers / Pool Size, and still loads of debugging code in there, and the actual Prime-test code is currently nothing more than a brute-force modulo loop.

Ran on Core 2 Duo development/games box (2.4Ghz / 2GB RAM) with one Producer, ten Consumers, and a Pool Size of 10,000, asking for all the Primes between one and a million.

2 minutes and 9 seconds. Or, a candidate test rate of about 232,558/min. 8O

Given this is version 0.1 and there's a LOT to do in terms of optimising the load balancing and putting some 'proper' code into the Prime-test routine, I am somewhat stunned. :twisted:
User avatar
piku
Sheepie Whore
Sheepie Whore
Posts: 20960
Joined: Wed Apr 24, 2002 10:44 am 0
Website: Http://Www.ncot.uk
Location: Wakefield
Contact:

Post by piku »

I cleaned my bathroom and kitchen. Does that count? It involved lots of debugging...

I'm saving myself for the 28th of May when I finish at school until September. I'll have a go at that crap Spectrum game competition then. I reckon I can make a really bad version of Robotron.
return (0);
STEVIE G
Baaa!
Baaa!
Posts: 211
Joined: Sun Oct 31, 2004 10:00 am 0

Post by STEVIE G »

Made major progress with my Ragdoll game ... see some new features in the video here ...

http://www.youtube.com/watch?v=FCDPC8F1KI8


Image[/img]
User avatar
_TinOmen_
Baaaa!
Baaaa!
Posts: 745
Joined: Wed Feb 12, 2003 10:52 pm 0
Location: Stockholm, Sweden
Contact:

Post by _TinOmen_ »

STEVIE G wrote:Made major progress with my Ragdoll game ... see some new features in the video here ...

http://www.youtube.com/watch?v=FCDPC8F1KI8
Wow that looks excellent! Physics does really make a difference. Every game genre can be revisited with an physics engine and something new will emerge :) .
Will this be a full game or just a demo?
User avatar
nyarla
Baaaaaa!
Baaaaaa!
Posts: 2820
Joined: Tue Jan 14, 2003 1:53 pm 0
Location: i said kiss me you're beautiful these are truly the last days
Contact:

Post by nyarla »

yeah that looks totally brilliant! :)
User avatar
Darkflame
Sheepie Whore
Sheepie Whore
Posts: 18236
Joined: Mon Mar 31, 2003 11:06 am 0
Location: Not the UK

Post by Darkflame »

_TinOmen_ wrote:
STEVIE G wrote:Made major progress with my Ragdoll game ... see some new features in the video here ...

http://www.youtube.com/watch?v=FCDPC8F1KI8
Wow that looks excellent! Physics does really make a difference. Every game genre can be revisited with an physics engine and something new will emerge :)
Very very true.
I think its because physics = potential for chain reactions &or the unexpected.
I often thought Nintendo should bump up the physics in their Zelda games.
User avatar
_TinOmen_
Baaaa!
Baaaa!
Posts: 745
Joined: Wed Feb 12, 2003 10:52 pm 0
Location: Stockholm, Sweden
Contact:

Post by _TinOmen_ »

Darkflame wrote:I often thought Nintendo should bump up the physics in their Zelda games.
I thought it was a great effect in Windwaker when you walk the ropebridge and individual ropes can be cut which affects the balance of the bridge. The effect was amplified because with the cel-shaded visual style I did not expect realistic behaviour.

As you say, a good physics engine give the potential for unexpected things to happen. Perhaps that could be seen as a problem in Zelda because of its very linear nature. The game designers wants to have exact control of what the player can do.
User avatar
KlaxonCow
Baaaaaaa!
Baaaaaaa!
Posts: 8447
Joined: Fri Dec 13, 2002 3:46 am 0
Location: A large grassy field.

Post by KlaxonCow »

_TinOmen_ wrote:As you say, a good physics engine give the potential for unexpected things to happen. Perhaps that could be seen as a problem in Zelda because of its very linear nature. The game designers wants to have exact control of what the player can do.
Yes. As is often the case, the "advantage" of a physics engine is simultaneously its "disadvantage" too.

"Unexpected things happening" is good from a "varied gameplay" perspective but it's not so good from a level designer's perspective, who now has to take extra care to ensure they don't unintentionally create either an impossible situation or an accidental "cheat".

For example, on a particular level, the player has to collect a key to open a door elsewhere on the level, which is protected by a "guardian" enemy.

This could unintentionally turn into an impossible situation, when the player throws a hand grenade to kill off the "guardian" but, unintentionally, the shock wave from the explosion - which successfully kills off the guardian - also sends the key flying into the air, where it unhelpfully gets stuck amongst the decorative roof beams that the player has no way of climbing up to reach (and it gets stuck in just such a way that throwing hand grenades up to try to dislodge it doesn't work until, eventually, the player runs out of hand grenades and then runs out of options for getting the key).

Or, as an example of the opposite, the player discovers that if they jump and fire the rocket launcher straight down at the ground, the force of the rocket's explosion allows them to jump three times higher into the air than they can ordinarily (at a cost of half their health but, as long as they are stocked up on "medipacks", this isn't a problem) and using one of these "rocket jumps", the player can actually vault over the closed door - not requiring the key at all - creating an unintentional "cheat mode" in the game.

Note also that one could lead to the other: When the player exploits the "cheat mode" to vault over the closed door, they aren't killing the "guardian", which does not set off a vital "trigger" condition for something later on in the game. Thus, unintentionally setting up an "impossible condition" for completing the level later on.

Or, in short, the potential of "unexpected things happening" can unintentionally ruin the best laid plans of a level designer, screwing up all their "trigger conditions" to either make a level totally impossible or make it stupidly too easy.

Of course, this kind of problem can happen with level design without a physics engine - there are often many "exploits" in games where players discover that they can indefinitely top up their lives or score or whatever by repeatedly following a certain sequence of actions (e.g. it may be possible in, say, a platform game to collect 5 extra lives, whilst only losing one life that if you can be bothered to constantly repeat the level, you can collect up as many lives as you like).

Of course, in some games, you might consider these aspects simply an integral part of the gameplay.

For example, in the classic "Boulderdash", it was fairly easy and common to accidentally get yourself into an impossible situation (e.g. mistiming dropping a boulder on a bad guy that they didn't blow open a hole in the wall in the right place) and have to hit the "suicide" button and start again. In this case, though, it was a part of the game itself - the "puzzle" aspect of the game - that the player was supposed to use their brains to avoid accidentally creating "impossible situations".

Though, in such games, it should be made blatantly obvious to the player that they've got themselves into such a situation that they know they should hit the "suicide" button and try it again (rather than carry on for another half and hour before realising that they've been wasting their time, as the level is actually now impossible to complete).

Either that or have the game itself calculate that the mission is now impossible and end it with a "mission failed" message but one has to be careful with such an "automatic" mechanism that it never wrongly diagnoses an "impossible situation" when it is, in fact, possible - if implausible - to complete because the player might want to try anyway (or just continue playing, regardless of the fact they can't win, as some games - like Sim City or Civilization - are fun to just keep playing regardless anyway. With classic Sim City, it's basically inherently impossible to "win" in the traditional sense. You just keep going until you're bored with it).

The incorporation of some kind of "suicide" button is never a bad idea on any game where an "impossible condition" could happen. It's also a good way to "shift the blame". The truth might be that the "impossible condition" was actually just a blatant level design mistake but with the "suicide" button, you can always "shift the blame" and pretend it's a designed part of the gameplay that the player was supposed to avoid it happening, so it's their fault for not preventing it.

Basically, "unexpected things happening" is a double-edged sword. It's good because it introduces variety and extra gameplay concepts (even ones that weren't originally designed into the game at all). But it can introduce extra programming / game and level design challenges because, well, you have to make the engine / game more tolerant to all these "unexpected things happening" without it ruining the game / level.

But, really, it only requires sowing a modest amount more of being slightly more careful in the planning and design, to reap more fun, more variety, more challenge, etc. out of the game that it's usually worth the price, I'd say (in other words, my opinion would be that the Zelda games really should incorporate the physics and just use smarter level designs that can't ruin the "linear" storyline rather than not use physics at all. As long as you realise what the potential pitfalls are, it isn't that hard to design your game / levels in such a way that the "linear" part isn't jeopardized by the odd "unexpected thing happening" with the objects bouncing around a level).
"Words ought to be a little wild - for they are assaults of thought on the unthinking."
- John Maynard Keynes
User avatar
r2.
Baa!
Baa!
Posts: 39
Joined: Tue Mar 08, 2005 10:03 pm 0

Post by r2. »

Image
Something I started when I had nothing better to do, should be finished soon. It was just for a bit of fun to relieve boredom and an excuse to abuse a bloom shader and feedback effects.
Post Reply