Tuesday, June 28, 2011

Problem Solved

I can once again return to writing r23 thanks to the friendly people of http://www.javaranch.com/. They helped me realize the obvious solution that i had accidentally declared my textbox and button objects as local variables and were therefore unseeable to the ActionListener. Back to work :D

Sunday, June 26, 2011


Development for the next revision is going slow because problems keep arising. The new UI looks much better, however the objects in the frame/window are not behaving well with the Applet but I will find a way eventually. I am keeping it in awt, which means image buttons are still wreaking havoc, but I redesigned the background, ball, and every other image. The ball has a much smoother look to it and I also found new sounds to use, you may recognize them. Currently the code is about 253 lines (the previous was more than 500) but it is pretty much just a skeleton. It has practically no logic added yet. If you have any tips for getting a textbox value from a frame to a separate component (the main applet window) then please share.

Friday, June 24, 2011

UI Changes

Working on some code cleanup right now, and hoping to add a pop-out frame/window for the controls. I will consider changing the object y location to be based on mouse click rather than the draggable platform, but x direction moving is not expected for r23. Expect a release in the future but not quite soon. I found this website to be a useful start for frames: http://www.krhs.net/computerscience/java/frames.htm

Sunday, June 19, 2011

Coder's Block

I'm considering a rewrite of my last revision to clean up the code some, so enjoy this marble run game that I found while exploring Mozilla's dev site.
Marble Run - http://marblerun.at/tracks/new