diff options
| author | s-ol <s+removethis@s-ol.nu> | 2021-11-13 15:34:13 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-02 14:24:49 +0000 |
| commit | 70b48cc32c23b8aaa6fbdd3f5c459eb924c5cbd4 (patch) | |
| tree | ffe9bd3a9da69ac03830fc6f561eb4ae43ab22e3 /examples | |
| parent | Fix love event input streams (diff) | |
| download | alive-70b48cc32c23b8aaa6fbdd3f5c459eb924c5cbd4.tar.gz alive-70b48cc32c23b8aaa6fbdd3f5c459eb924c5cbd4.zip | |
update examples
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/hello.alv | 2 | ||||
| -rw-r--r-- | examples/love.alv | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/examples/hello.alv b/examples/hello.alv new file mode 100644 index 0000000..5376cb0 --- /dev/null +++ b/examples/hello.alv @@ -0,0 +1,2 @@ +([1]import* time) +([2]print ([3]every 0.5 "hello world!")) diff --git a/examples/love.alv b/examples/love.alv new file mode 100644 index 0000000..7158e60 --- /dev/null +++ b/examples/love.alv @@ -0,0 +1,7 @@ +([1]import* love math time) +([2]draw ([3]->> + ([8]rectangle 'fill' 100 100) + ([14]color 1 0 0) + ([15]scale ([16]switch ([17]mouse-down? 1) 0.5 1)) + ([5]rotate ([9]ramp 2 tau)) + ([4]translate ([10]mouse-pos)))) |
