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

MrBradley's Comments

Back to MrBradley's profile

In case anyone is interested, I have ported this to work under version 3.1. (Suspect it will work up to 3.5.x) It's shelf life is limited as GF moves toward FX, but these are very good examples for creating GUI component. Also included are conversion utilities as adapters to go from GF Color/Font <==> awt Color/Fonts. Even if you can't run them - the code is worth looking at. Well done Borne!
Mik, I am running a summer school session and we are using your Contagion videos. Excellent series. Thank you. I have added a few features that focus on moving toward libraries and object composition as a means of increasing reliability and code reuse. It seems to be an area where students struggle in their growth. The goal was to 1) introduce these ideas and integrate them into existing work, and 2) demonstrate how the code in the original solution becomes easier to read and maintain by removing sections of code into libraries and other classes. Code/solutions from of the examples posted on websites and books grow large organically and this "refactoring" of code seems to get missed in the evolution of a developer's education. I am trying to provide an easy to follow path to see beyond helper methods to helper classes. You provide an excellent discussion and examples from Objects First with Java, but most students don't make it all the way through to those chapters and many greenfoot scenarios miss out on the application of this topic. I would be happy to share what I have with you and would suggest that object composition is a more important topic for the later video lessons in the series. It also would flow better with Inheritance (as in your book). Cheers
Bourne, I'm trying to get this running on GF3.1. Please contact me via a reply when you get this.
Is the project available for download?
Thanks.
Yes, go ahead and post the source. I'd like to have a look at it. I think it is a very good port.
I can run the game now. Looks good. I agree with a previous post, that the PacMac should continue in the direction it is facing without having to hold the arrow key down. Will you be posting the scenario for download?
I think it is because it appears only as an applet, and my browser ignores applet tags.
I thought you had a GF version... I see that several people have scenarios for this game.