Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Cadetengine As | 66 | 9 years ago | 1 | other | ActionScript | |||||
CadetEngine is a component-based AS3 Scene Engine supporting 2D and 3D GPU accelerated rendering, physics, custom behaviours and 3rd party library integration. It has been designed from the ground up to be plug-and-play with editability in mind. | ||||||||||
Fortia | 22 | 10 years ago | ActionScript | |||||||
a minimal 2D actionscript game library | ||||||||||
2.5d Engine | 16 | 7 years ago | ActionScript | |||||||
Robotlegs Bender Example Sars Integration | 13 | 11 years ago | 2 | ActionScript | ||||||
S(tarling), A(way3D), R(obotlegs 2), S(ignalCommandMap extension) integration example | ||||||||||
Starling Nape | 9 | 11 years ago | ActionScript | |||||||
Adobe Flash: provides an example of using the Nape physics engine and the Starling 2D game framework. | ||||||||||
Playscript Starling | 1 | 10 years ago | other | ActionScript | ||||||
Slightly modified version of Starling 2D game framework with working PlayScript demos. | ||||||||||
Robotgenome | 1 | 9 years ago | ActionScript | |||||||
Robotlegs 2 extension for Genome 2D | ||||||||||
Playscript Starling | 1 | 10 years ago | other | ActionScript | ||||||
Slightly modified version of Starling 2D game framework with working PlayScript demos. |
This example is "forked" from the original version created by Lee Brimelow, and available for download on the Adobe Gaming site.
The goal of this fork is to make it easy for you to get the example running in Flash Builder using AIR 3.2 and Flash Player 11.2.
I also did a small amount of refactoring to aid readability of the code.
The example itself shows how to use the Nape physics engine and the Starling 2D game framework, which is built on Stage3D to leverage the GPU.
The AIR SDK is dependent on the Flex SDK for the compiler. If you want to compile an AIR app, then you require Flex. If you want to use a new version of the AIR SDK in Flash Builder then you need to manually merge the AIR SDK with the Flex SDK.
As a developer looking at this code for the first time I want to make it as easy as possible for you to read the code and to run the game!
Assuming you have Git installed, you can clone the repo as follows:
git clone [email protected]:p15martin/starling-nape.git
Install the AIR 3.2 SDK in Flash Builder
Import the project in to Flash Builder (File > Import > General > Existing Projects into Workspace)
This is an ActionScript Mobile Project, which uses the SWF metadata tag to specify the attributes of the application.
I am using Hi-Res Stats to provide performance stats such as the frames per second.
The application descriptor (StarlingNape-app) sets the render mode to direct:
<renderMode>direct</renderMode>
The render mode enables Stage3D and GPU acceleration, if it's not set then you get a runtime exception saying, "Context 3D not available". Starling overlays this with its own message saying, "This application is not correctly embedded (wrong wmode value)".
If you are running in the browser, then set wmode="direct" in the HTML wrapper.
Introducing the Starling 2D framework
Adobe Developer Connection, Stage 3D