i'm the best coder

Chat about anything not covered in these forums, but keep it civil!

Post » Sun Mar 21, 2010 10:23 pm

1 game mechanic is now working, but i don't know how. It was trial and error.
Sometimes it didn't work, but the last times I checked: it worked!
Pfew... sweating :D

Hoping it won't break and won't work
coz I don't know how to fix it :D
8) !

Anyone ever had this same bad situation? ^^
B
16
S
5
G
7
Posts: 602
Reputation: 5,006

Post » Tue Mar 23, 2010 2:33 am

Yea, you might not want to rely on that. You will just build on your errors, and it could get out of hand if the game gets big... As you add more to the code. Go back and check everything and try to figure out why it "works" or doesn't. And yes, I've had this situation, but I try to fix it right away.
B
25
S
3
G
6
Posts: 1,198
Reputation: 5,622

Post » Tue Mar 23, 2010 1:39 pm

Personally, I think it's infinitely better to understand why something works and learn from that, than to get something functioning by trial and error and leave it. You'll be far more efficient in future if you understand how things work - if something breaks you'll probably know why, rather than going back to random changes.
Scirra Founder
B
362
S
216
G
75
Posts: 23,100
Reputation: 180,442

Post » Tue Mar 23, 2010 1:49 pm

Yes. I know, Davioware and Ashley.
I tried to make progress.
Sometimes learning something doesn't feel like progress, at the end of the day, when certain things still don't work.

I know however that the best thing is to do what you both suggested.
But that was also less spectacular to post 8)

Today is a 1 new day, so let's go back to that strange (but simple) mechanism and see why it sometimes doesn't work 8)
B
16
S
5
G
7
Posts: 602
Reputation: 5,006


Return to Open Topic

Who is online

Users browsing this forum: No registered users and 0 guests