Archive for November, 2012

This is a little snippet of code I wrote for destroying an object in a game I’m working on with pals. See the comments in the code for an explanation. I used currentTimeMillis(); just to check that the code was working as it should, and left it in for demonstration purpose. The output is: Baddie hits wall, start timer: […]

TreeSet For Sorting Order

Posted: 21st November 2012 by Peter in Java
Tags: , , ,

We’re covering ‘Collections’, ‘Collection’ and erm…’collection’ in Java Programmer 6 at the moment. I’m familiarizing myself with the various Sets, Lists and Maps. A TreeSet orders its elements using ‘natural ordering’, i.e. alphabetical order for Strings, numerical order for ints. This is a very useful feature of the TreeSet that I wanted to experiment with. I wrote […]

“My Card”

Posted: 18th November 2012 by Peter in Misc. Updates

Check out my new business card (mostly for distribution amongst my peers :)). I ordered these online and received them in the post about a week later. Including postage and packing, 250 of these ‘bad boys’ cost only €15. The card is full colour on one side, and blank on the other. This suits me […]

  OCJP Collections Frameworks… Currently studying Collections Frameworks in OCJP 6 course. I’ll be honest, some of it is tough going but the mist is starting to clear. I can see the power and usefulness of Sets, Lists and Maps, so I’m pretty excited about getting to grips with this material. Regarding Job Prospects… I’ve […]

Game Maker Makes Making Games Easy

Posted: 2nd November 2012 by Peter in Irish Games Industry News
Tags:

In preparation for the GameCraft event, I thought it sensible to familiarize myself with Game Maker(Lite). The software is often used to quickly create game demos, as well as ‘polished’ finished games. While every bone in my body wants to build and code a game from scratch, I decided it best to use the beginners […]