feat: improve logging output, add #include support to AngelScript
This commit is contained in:
10
scripts/update.as
Normal file
10
scripts/update.as
Normal file
@@ -0,0 +1,10 @@
|
||||
float x = 50;
|
||||
float y = 100;
|
||||
|
||||
void Update(float dt) {
|
||||
x += 50 * dt;
|
||||
if (x > 800) {
|
||||
x = 0;
|
||||
Print("X position reset!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user