This commit is contained in:
agra
2026-02-28 18:03:38 +02:00
parent 2552882ce6
commit 6a920dbd2c
24 changed files with 14084 additions and 780 deletions

12
examples/test_arena2.sx Normal file
View File

@@ -0,0 +1,12 @@
#import "modules/std.sx";
Phys :: struct {
x, y: f32;
GRAVITY :f32: 9.81;
MAX_SPEED :: 100;
}
main :: () {
print("gravity: {}\n", Phys.GRAVITY);
print("max speed: {}\n", Phys.MAX_SPEED);
}