FlasCC and Link Time Optimization

The FlasCC toolchain is closely modeled after a typical native C/C++ development toolchain. It contains all of the tools you would expect from such a toolchain, including a compiler (with preprocesser), an assembler, a linker, an nm symbol lister, an ar archiver, etc.
Continue reading…

FlasCC 1.0.1 Released

FlasCC 1.0.1 has been released containing fixes for some commonly experienced bugs.
Continue reading…

Porting a C++/OpenGL game to run in the browser

The Flash C++ Compiler (FlasCC) was designed to allow C/C++ developers to deliver existing C/C++ codebases via a web browser using the Flash Player. One common use case is to port an existing game written in C++ and OpenGL. The FlasCC engineering team has taken a popular C++/OpenGL game called Neverball and ported it to the web. This post demonstrates the game running in multiple web browsers and provides links to resources that will help you learn how to port your C++/OpenGL game to the web.
Continue reading…

Using printf within a SWC

A SWF built with gcc/g++ using the -emit-swf option has a default Console that prints stdout into a TextField on the screen (and to the Flash log file). However when you build a C/C++ library into a SWC using the -emit-swc flag there is no default Console. This means that if code in your library calls printf() no output will be shown. This post demonstrates how to use a custom Console to show the output of printf() calls from within a SWC.
Continue reading…

Troubleshooting Error #1065

This post explains why you might see error #1065 when creating a SWF or SWC in FlasCC.
Continue reading…

Sample C++ libraries running in the browser via Flash Player

Learning by example is always the best way to understand a new tool. So with the FlasCC SDK we ship a number of fully working examples of open source libraries being compiled and used within SWFs. By reading the documentation and investigating these examples you should be able to get a good understanding of how best to use FlasCC.
Continue reading…

Troubleshooting the “Could not create the Java Virtual Machine” error

This post explains why you might see the “Could not create the Java Virtual Machine” error when creating a SWF or SWC in FlasCC.
Continue reading…

Bringing OpenGL C/C++ code to the web with FlasCC

Stage3D allows GPU accelerated 3D content to run in the Flash Player accross operating systems and browsers. We have a number of interesting libraries that will help you bring your OpenGL C/C++ code to the web with FlasCC.
Continue reading…

Operating on ActionScript objects in C++

FlasCC allows you to create a SWC file from a C++ library. This is useful if you have an existing ActionScript project and want to add some logic that is already written in C++. This post demonstrates how you can operate on ActionScript objects that were passed as parameters into functions of a C++ library.
Continue reading…

FlasCC 1.0 Released

The Adobe Flash C++ Compiler (FlasCC) is a new tool chain that allows game developers to take native games and game engines for PCs, Xbox 360, PlayStation 3, and iOS and compile them to run directly on the web across browsers on over 1.3 billion connected PCs using Adobe Flash Player.
Continue reading…