Jumping Bean
Building Games With LibGDXBy Mark Clarke
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 2
Agenda
● Overview– features– open source– architecture
● Tools● Demo
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 3
Overview
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 4
LibGDX Overview
● Open source
● Java game development framework,
● Some components written in C/C++,
● Leverages 3rd party libraries
– Lightweight Java Game Library
– OpenGL,
– Box2D,
– OpenAL
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 5
Cross Platform
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 6
Bad Logic Games?
● Small, sparetime, game development shop● Mario Zechner
– benevolent dictator of libGDX
● Apache 2.0 license
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 7
LibGDX
● How to start?– Create project manually or use GUI tool– Or use Gradle!
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 8
LibGDX Architecture
● Application framework – main event loop, game life cycle,
● Graphics module – draw sprites/graphics on screen,
● Audio module – play music, sound effects,
● Input/Output module – mouse,keyboard, touch screen accelerometer
● File I/O module – read/write resources and assets
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 9
LibGDX Architecture
● ApplicationListener interface – – abstract core game logic to shared platform
code base,– Game loop, life cycle
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 10
Tools
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 11
Particle Editor
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 12
Bitmap Editor
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 13
3rd Party Tools Box2D Body Editor
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 14
3rd Party Tools – Tiled Map Editor
Jumping Beanhttp://www.jumpingbean.biz/
Game Development 15
Demo