Java

Tuesday, August 2nd, 2011

Flax HTML5 Game Engine

The Flax Engine is to be a 2D game engine for the web, using features introduced in HTML5, specifically the canvas tags which allows OpenGL like rendering in the browser. Flax is developed in Java using Google Web Toolkit to cross compile the code into robust JavaScript code which will run across all mordern browsers and is intended to be a native framework for developing 2D browser-based games.

Live Demo

We try to be Aglie in our approach and releasing a build/Demo every 3 to 4 weeks for feedback. Check out the live demo at engine.flax.ie . You will be redirected to the lastest release, if you wish to view older release simple include the version number I.E http://engine.flax.ie/0.1/

How it started

The Flax HTML5 Game Engine was started in early 2010 along with the Flax Project to blog about the development of the engine, when myself and Carl Lange decided to make a HTML5 game engine during the first summer of our college years. We had been offered office space by the college after our participation in a Java AI programming contest and later the ACM inter-collegiate programming competition. Myself and Carl learned several new frameworks and languages, not to mention HTML5 features, Java, Google Web Toolkit (GWT) though the development of the engine and its still current in active development one year on.

My Role

I’m the main programmer on the engine and much of the engine is based off a game engine I started to develop in C# and .NET a year before hand.

Technologies & Skills used

  • Java
  • Google Web Toolkit
  • HTML5 Features
  • JavaScript
  • Rendering Optimization
  • GIT

Sunday, December 12th, 2010

Java AI – Robocode 2010

While in first year of college (2009) myself and another game development student Carl Lange entered into the Tipperary Games Fleadh RoboCode competition, which is where entrys use the RoboCode API to build robots in Java and then have them battle it out. With our robot which we developed in less then ten days before the competition, called Solomon. The source code is avaible on Google Code and its code design document is available at  Solomon design document

Artificial intelligence

Solomon was a simple state machine AI, which would learn over time by writing its learning outcomes to a file. It would select various different tactics from its tactic database. We tried to give it a good selectuion of aggressive tatatics, passtive avodiance tatics and all round general tatics. It would then learn which one was the best, based on its loss of health, enemy’s health, wins vs loses etc. It would then save the name of the robot to know that if it saw that robot again in battle to use tatic B straight away.  Unfortantly a day before the competition we where told that we couldn’t save info to a file between match’s, even though we previously been told we could. So our learning mechanise was limited to the knowledge it got while in battle, then its memory was rest after each match. Though we still managed to come joint 5th out of something like 17 colleges so we were happy enough.

Learning out comes

Well it was our first time using Java as in first year we used C#. Thought they are extremely similar so it was relatibitly easy. Our first expereicne working with AI and how to create a program that could learn from its expereicnes even if its a very basic type of learning. We had a great experiences at the event and we got a great seance of pride that we had finished something and it worked. One of our greatest learning out comes was working together in a team. This project was the first project myself and Carl worked on togtheier,  we worked well as a team and since we have gone on to work on various projects together most notebale the Flax Project and the Flax HTML5 Game Engine

Technologies & Skills used

  • Java
  • RobotCode API
  • OOP
  • AI ( Finaite state machine)
  • Source Code Management (SVN)

 


Thursday, June 3rd, 2010

Android Game – GGJ 2010

In second year of college, 2010 myself and a few other game developers took part in the Globe Game Jam. It’s basically a global event which happens once a year at the same time all around the world. Where people get together to make a game in 48 hours based around a theme, which in 2011 was “extinction”. For more detials on my expierence at the GGJ vist my blog post about it Globe Game Jam 2010

Learning out comes

At the GGJ my game idea was selected to me made and so I was team-lead. I had to assemble my team from the people at the event, non of which I knew. It was good experience working in a team in with non of the members previously knew each other. I hadn’t worked with Android before so it was great learning experience and got to program some basic physics using the Accelerometer to tilt the enviorment. Read the full story at Globe Game Jam 2011

Download the Game for Android

Technologies & Skills used

  • Java
  • Android
  • Moblie Development
  • Physics
  • Accelerometer useage
  • Teamwork
  • Leadership skills


All content © Copyright 2017 by Ciarán McCann.