Time for action ā creating a new Flash asset with Adobe Flash
Once you start Adobe Flash, you need to create a new project. Make sure you choose ActionScript 2.0, because CryENGINE 3 only supports AS 2.0.
To make life easier, we will do some initial setup in our new Flash asset:
First of all, we will change the resolution to
1280
x720
. This is a good resolution, because it matches the common aspect ratio of 16:9.The next thing we will do is change the publish settings to Flash Player 8 and ActionScript 2.0.
Lastly, we will take an in-game screenshot and place it as a guide in the Flash asset. This helps us to design the HUD that will fit to the rest of the game. To do so, we disable the demo HUD that comes with the FreeSDK and disable the debug information in the upper-right corner.
In order to make a nice screenshot:
Start Sandbox.
Load a level.
Jump into the game (press Ctrl + G).
Open the console (press ^), and disable the demo HUD and profile info via the following console variables:
r_DisplayInfo...