It was lucky that I had some 2d platform code lying around that I managed to port over to Oxygene for Java and get working as the basis...