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

Duta's Comments

Back to Duta's profile

DutaDuta

2012/3/21

Ok in that case I kind of take my comment back... :L As much as I encourage modifying others code, I think you should include credit to the original author
DutaDuta

2012/3/20

I like it, the game feels really solid
DutaDuta

2012/3/18

Look at http://www.greenfoot.org/topics/1050
DutaDuta

2012/3/18

tallyaka, I'll post a discussion thread about it
Is it generating terrain on the fly or pre-generating a set width of terrain. If the latter option, does it repeat once it reaches the set width or does it just end? Just wondering because the one time I made a terrain generator (inspired by @nccb's one) I had it generating on the fly, but I'd be interested to see what method you've gone for. Oh and finally, are you using Graphics2d's gradient fill method?
Yeah I experienced that problem, however I could generally counter it through wall-jumps
Oh and a point to note -> My fading is currently faster, however you can slow it down if need be with ease (just change the 0.95's in fade() to a number between that's between 0.95 and 1 exclusive (1 causes no fading)).
http://www.greenfoot.org/scenarios/4567 There you go. I've implemented my v4 color rotation system and various other updates. Also the main problem was that you had something like new Color(r, b, g); as opposed to (r, g, b) so they'd flip constantly
@matt.milan the problem is in the way you're fading. I'll upload a working version, one sec (need to write the code :L)