sdk.ralcr is a lightweight framework for development of flash, js, ios, android, mac apps and games in Haxe. Compatible with NME.
Haxe JavaScript Objective-C Nemerle PHP Java Other
Switch branches/tags
Nothing to show
Latest commit 7248ae9 Jul 2, 2013 @ralcr geturl for nme
Permalink
Failed to load latest commit information.
Animation minor Mar 18, 2013
Draw Audio support for html5 May 17, 2013
Events js sound fixed and add touch event instead mouse for touch devices May 21, 2013
Foundation
GameKit Audio support for html5 May 17, 2013
IOKit
Media js sound fixed and add touch event instead mouse for touch devices May 21, 2013
NMEExtensions geturl for nme Jul 2, 2013
Network geturl for nme Jul 2, 2013
Physics Some refactoring to better names Jan 12, 2013
Resources Some refactoring to better names Jan 12, 2013
Samples Audio support for html5 May 17, 2013
Skins Updated the propertyes for haxe3 and begin some objc support Mar 13, 2013
Social important fix for the android http post Jun 25, 2013
UIKit
UnitTests
Utils
api.ralcr
build js sound fixed and add touch event instead mouse for touch devices May 21, 2013
.DS_Store minor Mar 18, 2013
.gitignore playing with .ds_store Jan 9, 2013
.tm-autocomplete.hxml
.tmbuild First commit Oct 7, 2012
Main.hx replace removeFromSuperView with removeFromSuperview Jan 14, 2013
Run.hx
build.hxml replace removeFromSuperView with removeFromSuperview Jan 14, 2013
licence-MIT.txt
readme.md
run.n
sdk.ralcr.hxml Put conditional comilation flag for flash so we can compile for js if… Jan 12, 2013

readme.md

Overview

sdk.ralcr is a framework for building Haxe applications for Mac, iOS, Android, Flash or Javascript. It's syntax and structure is similar with the Apple frameworks, so:

  • The classes are grouped into categories which are physical folders on the disk
  • The classes do not require imports because they are all on the root level with very few exceptions. The name collisions with possible custom classes is avoided by few prefixes: RC for most of the classes, CA for the Animation engine, EV for Signal events, SK for skins

Installation

sdk.ralcr is in the process of becoming a haxelib, but in the meantime you can clone this repository

git clone git@github.com:ralcr/sdk.ralcr.git

Getting started

Because the framework is a collection of organised root level classes it is not possible to use it from haxelib with -lib, you need to add each collection path as a classpath in your hxml. This can be done by the Run script provided. Go to the sdk root and type

neko run

This will produce a sdk.ralcr.hxml file in the same location. Copy this file to your project and include it's name on a new line in your hxml. By doing this your project will have the classpaths to the sdk.ralcr framework. The run script for haxelib has a new command to build a template with all the basic files in the right place. So, go into your sistem and create a folder for you project

mkdir MyProject
cd MyProject
haxelib run ralcr new

Voila, open the project with your preferred editor and compile. By now you should be able to compile for flash and javascript by running compile.hxml, and for Mac, iOS and Android by running compile.nmml with nme

haxe compile.hxml
nme test mac
nme test ios
nme test android

The framework can be compiled to flash or javascript, but is also compatible with the NME library which makes possible to compile for mac, ios, android.