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

mutantleg's Comments

Back to mutantleg's profile

hey, i discovered this neat trick, java has a way of drawing a scaled image onto another one, so you can actually replace your enemy drawing code with this single line: im.getAwtImage().getGraphics().drawImage(en.getAwtImage(), (int)(x1-l), (int)(150-l*0.9), (int)(2*l), (int)(2*l),null); (dont know if its any faster, but at least you won't have to use that extra buff image)
Huh? Its my code (you can tell because of its full of bugs), i was talking about i have no idea on how that guy pulled it off Doubt it, its slow enough as it is anyway
I actually found an example on how to do it (http://www.zanir.szm.sk/java.html), so its somehow possible, but the source is kind of low on comments (aka theres none)
I actually found an example on how to do it (http://www.zanir.szm.sk/java.html), so its somehow possible, but the source is kind of low on comments (aka theres none)
If it shows easy, then its on easy
Relax, its just the infamous filename bug, just rename "Sun.png" to "sun.png" (awesome stuff btw :O
It is, youre not dying when you fall, you just teleport back to your starting position