It has been a while since I posted any code to my blog. The life of a game developer is a busy one and as is usually the case all the really fun and interesting code I have written over the past couple of years is all locked away in awesome games. I did a coding test a little while ago, once again in Java (it is a sad love affair, I know), and thought it would be a good idea to put it up here as an example of how much my coding has developed.
As part of my job hunt I was asked to code breakout, as a competency test. I actually really enjoyed the project. As a student in game design it is often discouraged to write your own engine, as it takes allot of time and there are plenty of engines and tools out there to make your life easier.
While Java is definitely not the best language for graphics and games if you are just using the standard APIs. I still really enjoyed the process, so over the course of 4 days between life and work I pulled together this.
I have been working on a project management application for the iPad. The initial design concept was to create an application that project managers can use on their iPads either with the client or during project scoping that allows them to draft a timeline for the client's project and then adjust it on the fly as the project commences.
UPDATE 20/1/2011: I have updated the source code to allow you to set the text colour and background colour of the returned panels. I have also added a .jar and read me so you can simply import the .jar into your project and start using the code, see multilinelabel_update.zip
GUI's in Java can baffle people particularly when dealing with awt after having already learnt Swing. One thing that many people struggle with when dealing with awt is the lack of those extra features that Swing has added. In my case as a programming designer I wanted to display information in a label but I wanted to have it in a multiline format. Awt has no inbuilt multi-line label capacity, so I wrote a class that would allow me to split a given string string at a given maximum character width without splitting any words.
For more newer coding projects check out my GitHub.
As much of my experience is code focused, I wasn't really sure how to go about demonstrating my code skills in a web portfolio. After much trial an error I decided to use a blog structure to show code examples and discussions of them. If you have any feedback or ideas let me know.