My personal favorite right now is ND2D. So I thought it would be cool to take a look at how you might build an Endless Runner style game with this framework!
Files & Demo
Before we get started here’s some downloads to help you follow along:- In Browser Demo – See what we’ll be building!
- Project Files – FlashBuilder Project
- SimpleRunner.apk – Demo on your Android Device!
Overview
The core classes which will make up this demo are*:- Game.as – Root display object, instantiates the other classes, and manages property injection
- Background.as – Handle parrallax scrolling bg
- Foreground.as – Handles ground tiles
- PhysicsManager – Simple Physics engine, processes gravity and collisions
- PlayerManager – Control Player animations and Keyboard controls
Hello World2D
The first step to setting up ND2D is to create your World2D, and assign it an active Scene. In this example we’ll have just one Scene, our main Game: [...]Read more: AIR 3.2 – Making an Endless Runner with Stage3D (Part 1)
No comments:
Post a Comment