Working on this Project - mianuddin/flappyB GitHub Wiki
My Build Settings
- IDE: IntelliJ IDEA Community Edition 14
- JDK: 1.7
- Android SDK: 21
Configuring the Project
Project Settings
- Project SDK: JDK 1.7
- Android Module: Android API 21 Platform
Project Structure
Core Module
This module contains the game's code.
- flappyB.java: Main game file.
- TextureManager.java: Contains all textures used in the game.
- SoundManager.java: Contains all sounds used in the game.
- Camera Package
- OrthoCamera.java: Orthographic camera.
- VirtualViewpoint.java: Dependency of OrthoCamera.
- Components Package
- Buttons.java: Button class.
- LilB.java: Lil B class contains related methods.
- Pipes.java: Pipes class contains related methods.
- Screen Package
- Screen.java: Defines methods for screens.
- ScreenManager.java: Manages current screen.
- MenuScreen.java: Game menu.
- GameScreen.java: Main game screen, game's logic is contained in the render method.
Android Module
- assets/: Contains the game's assets.
Modules other than the core contain device specific launchers.
Debugging: Launcher Configurations
These are the launcher configurations for debugging in IntelliJ.
Desktop
Android
I debug using a real Android phone connected to the computer.
Building for Production
LibGDX Wiki: https://github.com/libgdx/libgdx/wiki/Gradle-on-the-Commandline
Note: You will have to edit the link to JDK to reflect your setup in local.properties and gradle.properties
LibGDX Tutorial(s)
- Game from Scratch: http://www.gamefromscratch.com/page/LibGDX-Video-Tutorial-Series.aspx