This site requires JavaScript, please enable it in your browser!
Greenfoot back

Duta's Comments

Back to Duta's profile

DutaDuta

2011/10/11

I tried a different approach - I'll upload it when I get home (am at college atm). Basically it makes it clearer, as well as getting it to work. The problem with it is that it is ~300 lines of repetitive code. If I had something (maybe an abstraction) to write that code for me it would be 500x better. As it is, it works though. I noticed your discussion about making it into one while loop instead of many, and that's basically what I was trying to do last night after I'd rewritten it. I attempted using a for(), however that didn't seem to work. I'll upload my basic version later anyway, and then hopefully someone more skilled in abstraction will be able to make it simpler.
DutaDuta

2011/10/10

FML accidentally replaced my modded version with your version... oh well time to do it again. I'll try and keeps comments to a minimum now :L kinda spamming this up.
DutaDuta

2011/10/10

I'll upload it sometime soon, just looking to see if I can't fix the other 2 errors as well.
DutaDuta

2011/10/10

I've just realised you included the source code >.< I looked at it, and have fixed the problem that causes the dots to stop creating after a certain point.
DutaDuta

2011/10/10

Also, after a while the numbers go off the sides of the screen, maybe change it so it puts the next numbers into a new line once the screen edges are reached? (or something along those lines)
DutaDuta

2011/10/10

There's definate potential in this, however it (at least for me) fails after a while - as in it continues going up in numbers, however stops adding dots (was near the end of the second line of dots). Also, when you reset, the number sequence does not reset to 1... Not sure why's that happening, but it is.
I mean 60% slower.
Thanks :) Btw the version on my computer has a reload time 60% faster than the current one... should I bother updating this?
Very nice. Will look over the source code :)