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

Report as inappropriate.

Ed.Betteridge
Ed.Betteridge presents ...

2013/10/30

Simple Calc

Again, expect many bugs and errors.

1634 views / 4 in the last 7 days

Tags: demo with-source calculator calc betteridge ed

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Wed Oct 30 11:47:18 UTC 2013
A new version of this scenario was uploaded on Wed Oct 30 11:48:10 UTC 2013 added source code
Ed.BetteridgeEd.Betteridge

2013/10/30

Hi, the method I used to update the display was to delete the object and then re-create it with the updated text. I have a hunch that there might be a more efficient method (like using .getImage() and .clear() ). Anyway, any suggestions or comments welcome :)
A new version of this scenario was uploaded on Thu Oct 31 10:27:50 UTC 2013 a few bug fixes.

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.