Have you had a coding headache?

Started by DrewCCU, Sat 08/05/2010 03:46:12

Previous topic - Next topic

DoorKnobHandle

If coding gives you a headache, you're doing something wrong. I would interpret it as a sign of bad design (uh, look at the rhyme monster).

Remember, you can't code something you haven't fully thought out before hand. If you want to make a platformer game in AGS, don't "just" start coding it, sit down and think about what exactly you want. Build a prototype (in this example, maybe using a simple rectangle as a bounding box instead of an animated sprite) and work on the basics first.


DrewCCU

Quote from: dkh on Sun 09/05/2010 13:43:02
If coding gives you a headache, you're doing something wrong. I would interpret it as a sign of bad design (uh, look at the rhyme monster).

Remember, you can't code something you haven't fully thought out before hand. If you want to make a platformer game in AGS, don't "just" start coding it, sit down and think about what exactly you want. Build a prototype (in this example, maybe using a simple rectangle as a bounding box instead of an animated sprite) and work on the basics first.



If you are going to sit their and act like you're so perfect that you've never been frustrated by a coding issue then i will call you a liar and tell you to TELL US YOUR CODING HEADACHE LIKE EVERYONE ELSE IN THIS THREAD HAS DONE!

lol. no offense of course.
"So much of what we do is ephemeral and quickly forgotten, even by ourselves, so it's gratifying to have something you have done linger in people's memories."
-John Williams

DoorKnobHandle

Haha, I never said I haven't gotten coding headaches, actually I've had PLENTY. Just sharing my experience on how to avoid them as best as possible!

DrewCCU

Quote from: dkh on Sun 09/05/2010 19:34:30
Haha, I never said I haven't gotten coding headaches, actually I've had PLENTY. Just sharing my experience on how to avoid them as best as possible!

lol ah - okay - no harm done then ;)
"So much of what we do is ephemeral and quickly forgotten, even by ourselves, so it's gratifying to have something you have done linger in people's memories."
-John Williams

Matti

Quote from: dkh on Sun 09/05/2010 13:43:02
Remember, you can't code something you haven't fully thought out before hand.

That's a lesson I gotta learn. I always start coding and afterwards I realize that I could've done it so much quicker and better.

Oh yeah, I regularly get headaches working on Knight Fight. Most of them are bug-related, when I have to go through a few hundred lines of code to find a little mistake. But hell, it's all worth it.

DoorKnobHandle

Quote from: Mr. Matti on Mon 10/05/2010 12:33:20
Quote from: dkh on Sun 09/05/2010 13:43:02
Remember, you can't code something you haven't fully thought out before hand.

That's a lesson I gotta learn. I always start coding and afterwards I realize that I could've done it so much quicker and better.

I know that feeling very well. :D I actually think that, sometimes, this is the way it has to be. However, then deciding to rewrite everything using a better method is what is hard to actually do.

Buckethead

I've had many headaches when scripting in Flash as3. Mainly when I couldn't get a scrollbar to work and had to copy a script from a tutorial. Only to find out that it didn't solve anything. Programming is just not for me.

Ryan Timothy B

Quote from: Radiant on Sat 08/05/2010 19:34:38
I tried writing The Incredible Machine in AGS. Wow, that's tricky.

How far did you get with that project?  I'm curious.

Radiant

Quote from: Ryan Timothy on Mon 10/05/2010 17:36:34
How far did you get with that project?  I'm curious.

This far. The physics engine tends to break down if balls cluster together, due to any number of boundary conditions.

Ryan Timothy B

Oh dear...  :-\
There are lots of collision issues. lol  Good on you for getting it to at least somewhat work.

I want real-time physics with pixel detection for obstacles.  Something like the box2d working in AGS, which is why I was curious about how far you got with that old project.  Oh well, perhaps I'll learn to code my own.... more than likely not... but you never know.

SMF spam blocked by CleanTalk