autumn / game library
0 喜欢
0 派生
1 文件
最后活跃于
a library for the Myte playground that lets you easily create games
1 | | 'DOCUMENTATION' | ~~ |
2 | this game library lets you create a canvas that you can |
3 | update every frame . you can start a game like so : |
4 | |
5 | // '' start a 400 by 600 game |
6 | |
7 | and you can create a game loop that updates like this : |
8 | |
9 | / '' game loop $dt |
10 | / '' do something |
autumn / @reduce math library
0 喜欢
0 派生
1 文件
最后活跃于
a library for the Myte playground that allows you to reduce RPN expressions from within tuples
1 | | 'DOCUMENTATION' | ~~ |
2 | the @reduce library allows you to reduce RPN expressions |
3 | that are enclosed within curly braces inside of a tuple . |
4 | here's an example of how to use it : |
5 | |
6 | '' (@reduce snake = x is { 2 3 + 4 * } and y is { 10 7 - } .) |
7 | |
8 | this will result in the following : |
9 | |
10 | 'snake' x is 20 and y is 3 |
上一页
下一页