Commit graph

56 commits

Author SHA1 Message Date
Ayaz Hafiz
f72a1f9a9a
REmove env_logger dep 2022-09-28 09:10:27 -05:00
Richard Feldman
b6157e76b8
Fix type mismatch in exit code 2022-09-19 21:12:48 -04:00
Folkert de Vries
286e27547e
Merge pull request #3770 from roc-lang/dependabot/cargo/examples/breakout/platform/nix-0.20.2
Bump nix from 0.20.0 to 0.20.2 in /examples/breakout/platform
2022-08-22 22:54:12 +02:00
Ross Smyth
c42b8ad91b
Add safety comment that was missed 2022-08-13 15:41:03 -04:00
Ross Smyth
80f14f61df
Add safe layout reprs and safety comments about layout 2022-08-13 03:49:12 -04:00
dependabot[bot]
c83c57b7f5
Bump nix from 0.20.0 to 0.20.2 in /examples/breakout/platform
Bumps [nix](https://github.com/nix-rust/nix) from 0.20.0 to 0.20.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.20.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.20.0...v0.20.2)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-12 23:53:10 +00:00
Richard Feldman
7b2c1a7e64
s/trunk/main/g 2022-08-12 15:24:37 -04:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Ayaz Hafiz
fe215cd9b6
Update example lockfiles due to https://github.com/rtfeldman/roc/pull/3691 2022-08-10 20:24:19 -07:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
Ayaz Hafiz
29b37a10df
Correctly use module name in linked functions 2022-07-21 09:02:04 -04:00
Richard Feldman
7908e8c176
roc format examples 2022-07-13 23:16:09 -04:00
Richard Feldman
aa7822d5cd
roc format examples 2022-07-11 13:14:35 -04:00
Richard Feldman
496fd6e8bb
roc format examples 2022-07-11 13:14:01 -04:00
Richard Feldman
61a05c7059
roc format examples 2022-07-06 15:10:17 -04:00
Richard Feldman
44f27c4378
roc format examples 2022-07-06 14:00:45 -04:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Richard Feldman
2dd28c6be3
Remove Package-Config.roc from examples 2022-06-16 15:21:55 -04:00
Richard Feldman
52dc59383b
Update Cargo.lock on examples 2022-06-15 12:08:06 -04:00
Richard Feldman
228793002c
Stop using ReferenceCounted in examples 2022-05-26 11:41:42 -04:00
Richard Feldman
4eec34becf
Update to use new square brace formatting 2022-05-22 23:15:54 -04:00
Sean Hagstrom
c53f6cf2fe
formatter: remove spaces at the beginning and end of single-line square bracket expressions 2022-05-22 14:06:34 +01:00
Sean Hagstrom
08777434b6
formatter: support removing blank lines between all when branches in when expressions 2022-05-19 09:26:04 +01:00
Richard Feldman
9c72e5e8ed
Remove unnecessary -> () function return types 2022-05-18 08:29:40 -04:00
Anton-4
4eb02e08b3
removed unnecessary resolver 2022-05-16 17:14:03 +02:00
Anton-4
0f59f3097a
cargo fix --edition 2022-05-16 17:04:17 +02:00
Richard Feldman
cae89de3c2
roc format examples/breakout 2022-04-23 22:09:34 -04:00
Richard Feldman
3dce2a00df
Animate breakout, give blocks a border 2022-04-17 20:42:17 -04:00
Richard Feldman
cf97f8099d
Add basic animation system, add basic gravity 2022-04-17 11:37:23 -04:00
Richard Feldman
cd93cf85cb
Use lto=fat on breakout release builds 2022-04-17 02:31:52 -04:00
Richard Feldman
bb9e30e361
Move the paddle left and right 2022-04-15 13:08:22 -04:00
Richard Feldman
1b2ae94591
Fix Rgba conversion in breakout 2022-04-15 12:54:52 -04:00
Richard Feldman
ba2eeb576c
Extract Game module, fix annotations 2022-04-14 18:06:21 -04:00
Richard Feldman
6f635cf4f3 Give breakout a build.rs 2022-04-14 08:21:51 -04:00
Richard Feldman
ee7c5ad2e1
Wire up update in breakout 2022-04-13 10:48:11 -04:00
Richard Feldman
3746161c42
Fix init returning the wrong model 2022-04-13 10:39:32 -04:00
Richard Feldman
105730fc1b
Reproduce init returning wrong floats 2022-04-12 22:35:32 -04:00
Richard Feldman
82b55ae4c9
Initialize both model and elems at once 2022-04-12 22:34:16 -04:00
Richard Feldman
566e7f9a79
Call init and render on app startup 2022-04-12 22:14:31 -04:00
Richard Feldman
e7a298e7b9
Incorporate TEA into breakout 2022-04-12 19:05:03 -04:00
Richard Feldman
154a36398d
Simplify app_render 2022-04-12 17:32:31 -04:00
Richard Feldman
c2b823ce99
Introduce basic TEA for breakout 2022-04-10 10:55:40 -04:00
Richard Feldman
999dbfd9d1
Send Event to breakout main 2022-04-10 10:15:43 -04:00
Richard Feldman
6bbc0b5edb
Gracefully handle resizing in breakout 2022-04-10 00:52:43 -04:00
Richard Feldman
ee4e787712
Drop some unused code 2022-04-10 00:52:34 -04:00
Richard Feldman
0f6e1bac73
Drop unused functions 2022-04-08 10:56:47 -04:00
Richard Feldman
ce4f22fd15
Use Rect position for drawing 2022-04-08 10:56:34 -04:00
Richard Feldman
cf91390e56
Avoid unnecessary request_redraw() calls 2022-04-07 21:32:57 -04:00
Richard Feldman
78feb45d82
Draw rects 2022-04-07 21:17:31 -04:00
Richard Feldman
82a0376666
Drop the borderWidth field to avoid segfault 2022-04-06 21:57:03 -04:00