This is a talk about writing JavaFX code for the production of games. The JavaFX language and platform has built in support for animation of graphics, because it provides Timelines. The talk is based on the research the writing of 2D games using JavaFX. JavaFX lends itself to games because it has a scene graph user interface library as standard and it has built for extended media support for sound and video. You probably already know that the programming language is declarative mostly in nature, but sometimes one need to default to the imperative style from time to time.
My presentation will talk about object oriented progamming with JavaFX for an arcade game:
- Define your Game Object
- Associating your Game Object with SceneGraph nodes.
- Examining the Sun JavaFX Source Code Best Practice
- Timelines, binding of variables, triggers
- Game Object hierarchy
- Animate Bug Drones, Starships, Missiles, and just about everything
- Essential Collision Detection
- Controlling Animation Paths with Tweening
Peter Pilgrim's high-tech career began at the age of 12, where he learnt BASIC on a Research Machine 380Z school computer. He wrote games galore and taught himself how to program. Peter graduated from London South Bank University then went into IT industry. He started in Germany, then returned to the UK, and eventually found himself in Investment Banking. During this long and experienced career path he achieved a background with C/C++, Fortran 77 and Pascal programming languages.
Peter is the founder and organised of the Java Web Users Group (JAVAWUG). In 2007, he was nominated by his fellow peers on the Sun Java Champions program. Peter is a Sun Certified Java Architect for the Java EE 5 platform. He has been writing Java programs since 1997. He has delivered talks on JavaFX for the Erlang Exchange, CommunityOne , San Francisco and the ACCU Oxford Conference . Peter writes the regular World View Series for the ACCU Magazine, CVu UK.
Peter currently works full time for Lloyds TSB Corporate Markets in the City of London, where he enjoys the role of Technical Leader for E-Channel Services. He has been involved with Deutsche, UBS and Credit Suisse to name but a few.