We are getting ready to send out a new Alpha, so i will start to close old issues on
GitHub to prepare for the new alpha.
It will include the first version of the scene editor, i know it is still missing function (im working on it) so bare with me
, the format will not change so you can start to use it to make your games.
You can add a scene file to any project, right click on the project and select "Add New Scene to Project".
A scene file is a single text file that include all the needed code and all settings needed by the scene editor.
You can have many scenes inside one scene file , or just add many single scenes to your project.
To use a scene in your game use the following sample code, just change "testscene.scene" to the name you use:
```
#insert "testscene.scene"
angle# = 0.0
do
testscene_sync()
SetSpriteAngle(testscene_player,angle#)
angle# = angle# + 0.75
if angle# >= 360.0 then angle# = angle# - 360.0
Sync()
loop
```
If you define a sprite variable in the scene editor (see screenshot "variables"), you can directly use it in your code like in this sample "testscene_player".
Use the "Start Test Mode" to see exactly how your game will look on a device, or just use run/broadcast (remember to add the code above before doing this).
If you click on a image in the "Scene Manager" it will switch to "Draw Mode" where you can quickly add sprites by just drawing on the screen. If you just want to add a single sprite you can drag/drop it directly.
Press "shift" and click/move with the mouse to use a rubber band to move around your level.
The new Alpha will be released Friday or early next week.
A few screenshots to show it in action:
Test Mode:
Variables:
Test Mode:
Edit multiple scenes:
And sure it will also include "Code Properties".