Home > Hitchhiker's Guide to Games, Software Development > Lab[0] = Display Something

Lab[0] = Display Something

Objective

  • Run the AndEngine Examples

What You Will Need

  • A computer with an internet connection
  • Free Android Software (Explained Below)
  • An Android device or Kindle HD device

Lab Version

  • Version 0.7

Introduction

AndEngine is a set of libraries or code blocks that make creating 2D games easier. It was created by an engineer named Nicolas Gramlich at Zynga and is used by many developers as the base of games and applications. In this lab we will do the setup required to compile and run the AndEngine examples.

Video Tutorial

The following video was created by someone else, but it does a good job of explaining the process of moving from no setup to running the AndEngine examples. What follows the video is a text explanation of what the video covers along with some specific notes to make the process smoother.

Install Software

  • Latest Java JDK
  • Latest Android Developer Tools Bundle (Includes Eclipse and the Android SDK)

Steps

  • Configure Eclipse to make it easier for debugging
    • Show progress bar
    • Show line numbers
    • Show log viewer
  • Download files from Git Hub user RealMayo
    • Repositories Link: https://github.com/RealMayo?tab=repositories
    • Download zip file for each repository
    • Unzip all files
    • My notes to make your life easier
      • The default zip file name has “-<branch name>” appended to the end where <branch name> is something like GLES2 or master, remove this
      • Sometimes when Windows unzips things it adds an extra folder level, you don’t want this. A picture of the type of thing you do want in the end is shown in the picture below.
      • Fix all of the names and the hierarchy before importing to save yourself some pain
      • Here is what the project folders should look like
        • andengine-projects
      • He is what it typically looks like inside each folder
        • typical-project-folder
  • Import all projects into Eclipse
  • Download all Android environments API level 8 and above (This is going to take a while)
  • Fix project build problems
    • If you read the note above you will have far fewer problems than in the video. You read it, right?
  • Build the project
  • Run on the Examples project on a device

Kindle Details

The video is not Kindle specific. Here are some extra resources to help you if you are working with a Kindle Fire device.

 

  1. No comments yet.
  1. No trackbacks yet.

Leave a comment