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

NikZ's Comments

Back to NikZ's profile

NikZNikZ

2014/8/8

WHAT?!! It works now!! It didn't before!! What happened?!
NikZNikZ

2014/8/8

Geez, ColorMaker doesn't work, and now this one! They work perfectly in editing!
NikZNikZ

2014/8/8

Yes, it doesn't seem to get to the loading screen...
After asking for the red number, it should ask for green number, than blue. Even if I put in an abstract character like '~,' in editing, I won't get the error message until after all three questions have popped up. Here, if I put anything in, the scenario will crash. There is no terminal, so I don't know the error. Some of my code: String r = JOptionPane.showInputDialog("Red number:"); for (int x = 0; x < r.length(); x++) { char i = r.charAt(x); if (Character.isAlphabetic(i)) { JOptionPane.showMessageDialog(null, "Must be numeric!"); return; } if (x >= 3) { JOptionPane.showMessageDialog(null, "Too long!"); return; } }
When I pressed enter and put in "32" in the red input, the scenario had a run time error (stopped), but I don't know what's the cause because it works just fine in editing.
Nope, the deleting of the auto stop didn't work.
Hmmm, enter doesn't work, but in the greenfoot file it does.
NikZNikZ

2014/8/3

The original speed was 25 acts delay (set at normal speed). Now it is delays 1, 8, and 27.
NikZNikZ

2014/8/2

Yeah, it's a bit easy at the moment. I probably have to work on better AI. ;)