I started a new project, and all I want to do is learn how to create a simple scene, and then include it in my code and have it appear when I start my project. My scene has one simple image that I dragged onto it. The scene is called "MainScene1"
When I try to compile, I see a message saying: MainScene1.scene 48:Error: Invalid floating point number "100.0f and then "Compilation failed"
When I click on the error it takes me to the code in the scene, which is: fMul = percent / 100.0f
I haven't tried to edit this code. It was auto generated so I don't know what I did wrong. My code in main.agc is as follows:
#include "MainScene1.scene"
MainScene1_setup()
do
MainScene1_sync()
Print(ScreenFPS())
Sync()
loop
There's some auto-generated stuff above that which I didn't bother to show such as setting up the screen etc.
Any ideas? Thanks.