Delyan Angelov
|
03d033fa4b
|
examples: make the 2048 game update rate, independent from the frame rate as well
|
2025-03-09 09:18:52 +02:00 |
|
Delyan Angelov
|
fa8c5e369a
|
examples: show how to use a v file server for the wasm version of 2048, instead of emrun
|
2025-02-24 15:25:16 +02:00 |
|
Delyan Angelov
|
f83c8bf478
|
v.pref: allow for -os wasm32_emscripten and filtering _d_wasm32_emscripten.c.v and _notd_wasm32_emscripten.c.v files. (#23797)
|
2025-02-24 11:23:37 +02:00 |
|
Delyan Angelov
|
7eec8b1cd7
|
math,examples: make 2048 use sliding animation for the tile movement (#23268)
|
2024-12-26 06:39:59 +02:00 |
|
yuyi
|
79786732ef
|
all: replace struct field name '@type' with 'type' (#22485)
|
2024-10-11 08:53:18 +03:00 |
|
yuyi
|
51b471b060
|
all: replace enum field name 'xxx_' with 'xxx' (#22469)
|
2024-10-10 09:17:19 +03:00 |
|
Delyan Angelov
|
cfa91d81d7
|
examples,os: add an os.asset module, use it to simplify code in examples/, by removing $if android { checks (#22281)
|
2024-09-22 16:04:05 +03:00 |
|
larpon
|
1e1bc1046a
|
examples: add gc_is_enabled() check to 2048 to prevent crash in Android emulator (#22274)
|
2024-09-22 07:41:26 +03:00 |
|
yuyi
|
acf6b344f7
|
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
|
2024-09-17 09:47:38 +03:00 |
|
yuyi
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
Delyan Angelov
|
4f718d25fb
|
examples: change // to blank line in 2048.v too, after 793b66d
|
2024-08-09 14:57:56 +03:00 |
|
Turiiya
|
1363cc85fd
|
time: update unix time acces, fix issues related to deviating unix times (#21293)
|
2024-04-17 00:33:37 +03:00 |
|
Delyan Angelov
|
c230acfb86
|
examples: cleanup 2048, add pgup/pgdown to speed up the AI moves (#21284)
|
2024-04-15 05:24:04 +03:00 |
|
Turiiya
|
f77bb32044
|
all: fix typos (#21089)
|
2024-03-25 12:18:27 +02:00 |
|
Turiiya
|
d485cceee8
|
doc: update trim_doc_node_description, make module readmes more uniform (#20792)
|
2024-02-12 12:38:47 +02:00 |
|
Alexander Medvednikov
|
f09826e928
|
all: unwrap const() blocks
|
2023-11-25 10:02:51 +03:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
yuyi
|
18e60e77de
|
fmt: remove inline comments (#19263)
|
2023-09-03 23:51:56 +03:00 |
|
Delyan Angelov
|
33965bc29b
|
examples/2048: remove the emscripten specific code from examples/2048/2048.v (moved to gg.c.v)
|
2023-08-13 17:31:29 +03:00 |
|
Delyan Angelov
|
88d3326a60
|
ci: fix v check-md examples/2048/
|
2023-08-13 13:04:00 +03:00 |
|
Delyan Angelov
|
dad93f8fab
|
examples/2048: add instructions, on how to compile the game through Emscripten and v -os wasm32_emscripten
|
2023-08-13 11:13:17 +03:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
Swastik Baranwal
|
b584e1df98
|
checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932)
|
2022-10-02 22:39:11 +03:00 |
|
Delyan Angelov
|
69c9d47a40
|
pref,os,sokol,cgen: ease compilation of 2048 with -os wasm32_emscripten (#15820)
|
2022-09-20 00:17:13 +03:00 |
|
shove
|
8b962f8446
|
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752)
|
2022-09-15 07:59:31 +03:00 |
|
Alexander Medvednikov
|
ca30397e7a
|
cli: fix compilation
|
2022-06-26 07:08:05 +03:00 |
|
Emirhan Yener
|
e5bbb23389
|
examples: fix 2048 gameplay (#14838)
|
2022-06-23 21:07:30 +03:00 |
|
Larpon
|
dd6629e932
|
examples: fix 2048 scaling on Android (#14380)
|
2022-05-15 09:14:18 +03:00 |
|
Subhomoy Haldar
|
114a341f5f
|
rand: simplify rand.PRNG, move to optional types for error handling (#13570)
|
2022-02-23 12:36:14 +02:00 |
|
Delyan Angelov
|
59357e873d
|
math: move the math.mathutil generic min /max /abs fns to math (#13042)
|
2022-01-05 18:02:20 +02:00 |
|
Benjamin Stigsen
|
546c388b02
|
gg: renaming drawing functions (#12913)
|
2021-12-23 13:31:25 +02: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 |
|
Daniel Däschle
|
ad3835b598
|
parser: deprecate short struct init (#10842)
|
2021-07-20 11:17:08 +03:00 |
|
R cqls
|
8af6237e28
|
gg: fix width and height in draw_rounded_rect primitive (#9926)
|
2021-04-29 10:58:57 +03:00 |
|
Alexander Medvednikov
|
0567cbe431
|
examples: fix compilation with -prod
|
2021-04-23 14:48:07 +03:00 |
|
Lukas Neubert
|
a67d49050c
|
math: add a pure V math.mathutil , with generic min , max and abs functions (#9176), and use it consistently
|
2021-03-12 11:28:04 +02:00 |
|
Delyan Angelov
|
d1cebcb608
|
2048: remove [no_inline] (no longer needed)
|
2021-02-22 21:40:55 +02:00 |
|
spaceface
|
b4dc6c83cd
|
gg: handle Android's own native dpi scaling factor (#8908)
|
2021-02-22 21:24:18 +02:00 |
|
Alexander Medvednikov
|
e662d61573
|
examples: fix 2048 scaling
|
2021-02-17 16:18:33 +01:00 |
|
Alexander Medvednikov
|
d4a05bebde
|
gg: use gg types for Events instead of sapp
|
2021-02-17 06:44:01 +01:00 |
|
Delyan Angelov
|
576492af4e
|
examples: fix 2048 on Apple M1
|
2021-02-05 19:35:51 +02:00 |
|
Delyan Angelov
|
32cc95a340
|
test-cleancode: check some of the examples too
|
2021-02-04 17:34:59 +02:00 |
|
Daniel Däschle
|
dbf84520f1
|
all: update assoc syntax (#8274)
|
2021-01-22 23:24:48 +01:00 |
|
Larpon
|
512f62b7a1
|
android: enable custom (e)println output via android log system (#8135)
|
2021-01-17 05:32:59 +01:00 |
|
yuyi
|
a1c67232d0
|
checker: fix duplicate variable name (fix #265) (#7982)
|
2021-01-10 21:41:29 +01:00 |
|
Swastik Baranwal
|
9291fb5e0c
|
checker: disallow comparison between enum and int (#7886)
|
2021-01-08 17:41:52 +01:00 |
|
spaceface
|
480d78de2e
|
examples/2048: make tiles have rounded corners (#7763)
|
2021-01-01 13:04:51 +02:00 |
|
Daniel Däschle
|
11808f9fa3
|
parser: fix silent errors (#7271)
|
2020-12-12 04:06:09 +01:00 |
|
Larpon
|
9f5a3b52a7
|
all: optimize png images (#6860)
|
2020-11-17 17:42:21 +01:00 |
|