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

Builderboy2005's Comments

Back to Builderboy2005's profile

Any reason the framerate is so low?
You are correct that is saves the most recent score, and not the best. I'm pretty sure this is intentional by bourne, but you will have to wait for a response.
I do indeed! :D
I think it would be exceedingly useful. That way you can know objectively your position and rotation instead of forcing everything to be local. Especially because even with my current program which is pretty complicated I am not even using half the space available.
Ah I see, that makes sense. Out of curiosity, I can't find anything in the rules that states you cannot use methods such as getX(), getY(), or getRotation() in the normal Greeps contest, do you know if these methods are allowed?
Am I supposed to be able to paste text from the clipboard into the text box? It seems I can copy to clipboard properly, but if I copy from a separate editor such as notepad it does not let me paste that text ingame.
Seems that there is a bug when storing/parsing the setMemory operation argument. I save it as the + argument, but when it executes/loads it treats it as a - argument.
java.lang.IllegalArgumentException: memory value must be in range [0..255] at Creature.setMemory(Creature.java:282) at SetMemoryEffect.execute(SetMemoryEffect.java:27) at Trigger.execute(Trigger.java:44) at Trigger.execute(Trigger.java:47) at Trigger.execute(Trigger.java:44) at Trigger.execute(Trigger.java:47) at Trigger.execute(Trigger.java:44) at GreepController.act(GreepController.java:24) at Greep.act(Greep.java:37) at greenfoot.core.Simulation.actActor(Simulation.java:565) at greenfoot.core.Simulation.runOneLoop(Simulation.java:523) at greenfoot.core.Simulation.runContent(Simulation.java:213) at greenfoot.core.Simulation.run(Simulation.java:203) I was not setting a value specifically, my code looked like so: if(checkMemory(=, 10)){ setMemory(0) }else{ setMemory(+, 1) }
There seems to be something involving memory that is causing an error when a number is going out of bounds 0-255. I don't believe my memory value is going out of this range, but I am unsure. Either way, if that is not a bug, it seems to be quite annoying since you lose your code every time it crashes.