Skip to content

OrganiseRedtamarinProject

Zwetan Kjukov edited this page Oct 13, 2015 · 2 revisions

How to organise a Redtamarin project

When you work on Flash or AIR projects you can have many different workflow, many ways of doing things.

Here I present and explain one workflow that "works for me".

Warning

If you approach a Redtamarin project as something where you just need to click on a button inside an IDE, so everything is done automatically for you, you will probably get frustrated to not say enter a "world of hurt".

Prerequisites

If you don't know or are not comfortable with the command-line here some links

The Command Line Crash Course
This book is a quick super fast course in using the command line.
It is intended to be done rapidly in about a day or two, and not meant to teach you advanced shell usage.

A Command Line Primer for Beginners
This article is meant for people who are either new to the command line or only have a couple of command-line tricks up their sleeve.

A Beginners Guide To The Windows Command Line
How to use the Window command line (DOS)

I also highly advise to install Cygwin
see Wikipedia Cygwin

Cygwin is a Unix-like environment and command-line interface for Microsoft Windows. Cygwin provides native integration of Windows-based applications, data, and other system resources with applications, software tools, and data of the Unix-like environment.

Understand the tools

You have 2 main tools

  • redshell
    the Redtamarin shell that interpret and run files
  • redbean the Redtamarin build tool that compile and generate files

that also means anywhere on your system you should be able to type $ redshell or $ redbean

Note:
$ is here to indicate you are inside a command prompt
when you see $ redshell you type "redshell" and then ENTER
you don't type the $.

Note2:
You can have a lot of different prompt
C:\> under Windows
machine user$ under Mac OS X
user@machine:~/some/path$ under Linux

Project Structure

[root] of your project
   |_ build.as3
   |_ redbean.cfg
   |_ src
       |_ myprogram.as
       |_ includes.as
       |_ MyMainApp.as
       |_ test
            |_ MyClass.as
            |_ OtherClass.as

TODO

Clone this wiki locally