- 1 : Overview
- 2 : Environment SetUp
- 3 : Creating Project in libGDX
- 4 : Importing Projects in Eclipse
- 5 : Executing demo project for Windows
- 6 : Executing demo project for Android
- 7 : Executing demo project for HTML5
- 8 : Developing a real flappy bird game remake game using libGDX from scratch
- 9 : Environment Set Up for Game
- 10 : Understand basics of Game
- 11 : Exploring States and Game State Manager
- 12 : Create Play State and Make Bird Fly
- 13 : Building Obstacles and flying through them
- 14 : Collision and sound effect
- 15 : Porting the Game in Android Device
- 16 : libGDX More possibilities to Brisky Demo
- libGDX Example Code : Implementing Google Play Services Leader Boards in LibGDX
- libGDX Example Code : Text and line Animation
- libGDX Example Code : Experimenting Viewports with Text and Shape Animation for multiple screen Resolutions
- Step by Step Tutorial on libGDX
Porting the Game in Android Device
This section must be the most important for some as in this we are going to port our game to our android phones or devices . We already know how to plug in android devices and how to create a AVD and execute code there as we learnt in the very starting sections of this tutorial series . To Execute this code in Android phone . Lets open the code in Android studio as we opened previously . As soon as you execute it you will see game opened as below
This doesnt look good and we made our game for portrait mode so lets fix this quickly . Open Android project in Android Studio and under manifests directory open file AndroidManifest.xml and change the line as below
android:screenOrientation="landscape"
to
android:screenOrientation="portrait"
After this execute the run again and what you will see now is what we wanted as below
Try playing the game and it will work like it worked in Desktop . Cool isn't it . In the next section I am going to explain what next we can do to make it exactly same as we have BriskyBird and a lot of more possibilities to the game using libGDX currently on Goolge Play Store . You can download it here
If you havent seen the desktop and Web deployment of Brisky Bird .. Those can be see here
Desktop Downloadable link
Web link
Table of Contents
- Overview of libGDX
- Environment SetUp
- Creating Project in libGDX
- Importing Projects in Eclipse
- Executing demo project for Windows
- Executing demo project for Android
- Executing demo project for HTML5
- Developing a real flappy bird game remake game using libGDX from scratch
- Environment Set Up for Game
- Understand basics of Game
- Exploring States and Game State Manager
- Create Play State and Make Bird Fly
- Building Obstacles and flying through them
- Collision and sound effect
- Porting the Game in Android Device
- libGDX More possibilities to Brisky Demo