diff options
author | thing1 <thing1@seacrossedlovers.xyz> | 2024-09-20 17:56:55 +0100 |
---|---|---|
committer | thing1 <thing1@seacrossedlovers.xyz> | 2024-09-20 17:56:55 +0100 |
commit | b41a06dceaa2b4432900db98c49e55118b77fdef (patch) | |
tree | 7072e4cc62fcc532ae8150aef929d2ebf6ad778f /comp/lucas-standen-NEA/code2/examples/raylib_example.zpy | |
parent | e4b5881fa4af7800ba564d6eae255852bf16d24c (diff) |
pushed alot to the stdlib
Diffstat (limited to 'comp/lucas-standen-NEA/code2/examples/raylib_example.zpy')
-rw-r--r-- | comp/lucas-standen-NEA/code2/examples/raylib_example.zpy | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/comp/lucas-standen-NEA/code2/examples/raylib_example.zpy b/comp/lucas-standen-NEA/code2/examples/raylib_example.zpy new file mode 100644 index 0000000..931c0e4 --- /dev/null +++ b/comp/lucas-standen-NEA/code2/examples/raylib_example.zpy @@ -0,0 +1,16 @@ +(defun main int) + (InitWindow 800 800 "test") + (SetTargetFPS 40) + (let x:int 0) + (let y:int 0) + (for i:int 0 (= (WindowShouldClose) 0) 0) + (BeginDrawing) + (ClearBackground RAYWHITE) + (DrawText "test" x y 40 RED) + (EndDrawing) + + (set x (+ x 5)) + (set y (+ y 5)) + (endfor) + (CloseWindow) +(endfun) |