Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

2D Doom game, Doom Arena.

Name: Anonymous 2009-03-08 14:31

Hai /prog/,

I've been coding this game for about a week now. It will be a mass-killing-2D-tile-style-arena-type-doom-clone-multiplayer-game. It is coded in C, and uses SDL (and SDL_mixer), and UDP for the multiplayer thing. Anyway, I finished yesterday the network programming, and it works fine, and it is very fast. Just finished coding the two player local multiplayer thing. Blah blah blah. Sorry I'm tired.

Here's a screen, taken some minutes ago: (with the local multiplayer mode, dsadsada)
http://www.noelshack.fr/voir/010309/lol037858.png

Name: Anonymous 2009-03-08 17:53

>>16
Actually, >>14 has some valid criticisms.
Nice job on calling SDL_BlitSurface directly instead of setting up some abstraction functions,
and
>and on the massive amounts of copy-pasting between code for moving in all directions, and for almost identical objects like the players
The second one is particularly important, if you are not going to abstract similar code away you probably shouldn't be programming at all

Another thing is the case followed by four layers of if statements, that is almost certainly not the best way to handle it. Ever heard of "&&"? It's what EXPERT PROGRAMMERS use!!!!!
If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List