Commit Graph

17 Commits (master)

Author SHA1 Message Date
yuyi de136f6baf
checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
penguindark 89eb5425cd
examples: clean file path usage in the examples, move all the fonts in the common assets folder (#12736) 2021-12-06 09:53:46 +02:00
Delyan Angelov 4728b975e3
examples: use app.gg.quit() instead of exit(0) 2021-11-11 17:45:22 +02:00
yuyi e5360e164a
fmt: remove unnecessary parentheses after `return` (fix #11423) (#11435) 2021-09-08 14:19:53 +03:00
Delyan Angelov f18265e6a8
gg: remove obsolete usages of `use_ortho: true` 2021-06-24 11:15:12 +03:00
Lukas Neubert 16e79bc3ca
tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
spaceface b712af56fd
all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
spaceface d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
Alexander Medvednikov 3a2d696fac time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
zakuro ac4791045f
time: consolidate the different sleep functions into time.wait(Duration) (#8853) 2021-02-21 17:05:03 +02:00
Alexander Medvednikov d4a05bebde gg: use gg types for Events instead of sapp 2021-02-17 06:44:01 +01:00
Larpon d62918581e
example: support running flappylearning on Android (#8612) 2021-02-07 12:40:12 +02:00
Delyan Angelov d9532eda30
checker: error on a.slice(x,y) outside `builtin` 2021-01-19 15:55:52 +02:00
Delyan Angelov cf978ca1ac
flappylearning: set app.timer_period_ms to 0 with `0` key 2020-12-31 17:51:52 +02:00
Delyan Angelov 06766fd0eb
flappylearning: toggle update period with `space`, exit with `esc` 2020-12-31 17:46:50 +02:00
Alexander Medvednikov 0d43ff2453 parser: fix `for i, mut val in vals {; examples: vfmt flappybird 2020-12-27 12:02:18 +01:00
uxnow e69e5c5b91
examples: add flappylearning to examples (#7605) 2020-12-27 11:19:32 +01:00