Commit Graph

443 Commits (b578e60dd52dfb3252ecb83b7855de90b3569e15)

Author SHA1 Message Date
nyx-litenite 36240b2284
examples: term.ui: vyper (a simple snake game) (#6943) 2020-11-27 20:55:53 +01:00
Alexander Medvednikov f135a9949c ci: build tetris with -autofree 2020-11-27 20:41:17 +01:00
Alexander Medvednikov 5efd393af2 all: make comptime templates usable outside of vweb via $tmpl 2020-11-26 18:40:35 +01:00
spaceface777 e03ae19372
term.ui: approximate colors into ansi if rgb isn't supported (#6951) 2020-11-26 00:28:57 +01:00
Alexander Medvednikov 23c9563600 examples/tetris: remove old array hacks 2020-11-24 18:14:44 +01:00
Lukas Neubert df4165c7ee
docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
Larpon 9f5a3b52a7
all: optimize png images (#6860) 2020-11-17 17:42:21 +01:00
Larpon 4a31b5702e
examples: term.ui: add readme, copyright, and pong screenshot (#6858) 2020-11-17 17:41:54 +01:00
Larpon f44853a87f
examples: term.ui - add a pong clone (#6857) 2020-11-17 15:25:41 +01:00
Larpon 0c54ebdf41
text_editor: add magnet cursor position (#6843) 2020-11-16 14:51:39 +02:00
Emily Hudson cd2a2cef25
vlib/net: add buffered IO, x.net -> net (#6754) 2020-11-15 22:54:47 +02:00
Delyan Angelov c8b7cfc297 examples: small fix for ctrl-right at the last word of a line 2020-11-15 14:49:55 +02:00
spaceface777 dcbb285ae4
examples: text editor: implement ctrl+arrows to move by word (#6838) 2020-11-15 13:33:08 +01:00
spaceface777 1ead130eed
term.ui: render to the alternate buffer (#6832) 2020-11-14 21:05:22 +02:00
Carlos Esquerdo Bernat 827fb62c29
examples/text_editor: edit multiple files (#6827) 2020-11-14 19:39:59 +02:00
spaceface777 ec3b96924f
examples/text_editor: make scrolling smoother (#6819) 2020-11-14 09:21:46 +02:00
spaceface777 6b47c61fe4
term.ui: handle middle mouse button events and modifier keys (#6821) 2020-11-14 09:14:54 +02:00
spaceface777 eacd6b5d54
examples/text_editor: minor cleanup and simplifications (#6818) 2020-11-13 19:18:05 +02:00
Larpon b02f03e20a
examples: add a simple text editor example to term.ui (#6808) 2020-11-13 15:27:12 +01:00
spaceface777 c315218ed1
term.ui: allow setting the terminal title (#6809) 2020-11-13 15:30:47 +02:00
Delyan Angelov a3404a38c6 term_drawing.v: support arrows, 1, 2 and space 2020-11-13 13:08:28 +02:00
pancake 862cae5b02
term: handle keyboard keys in the term_drawing example (#6810) 2020-11-13 11:49:09 +02:00
spaceface777 24f743ee12
term: add `term.ui` module (part 2) (#6798) 2020-11-12 12:12:51 +01:00
Delyan Angelov cd399b7e6e examples: cleanup up the life automaton implementation 2020-11-04 10:00:59 +02:00
Delyan Angelov 9772eb7c96 examples: fix warnings when doing `./v -W -progress -check-syntax build-examples` 2020-10-26 13:14:26 +02:00
Quentin Champ 4bc38a2f6c
examples: apply todo suggestion in word counter (#6640) 2020-10-18 22:46:13 +02:00
Delyan Angelov 2f149e6984 vfmt: fix merged param warnings in sokol's particles example and vlib/x/net/udp.v 2020-10-18 13:45:13 +03:00
Delyan Angelov 8b2e704741 examples: make `v -prod build-examples` pass without warnings/errors 2020-10-18 09:48:13 +03:00
Delyan Angelov 67ecc04580 examples: build examples/hello_v_js.v without warnings/errors 2020-10-18 09:33:55 +03:00
Delyan Angelov b7233a23d7 examples: build examples/path_tracing.v with -prod, with no warnings/errors 2020-10-18 09:00:30 +03:00
Delyan Angelov 3795aaab5c v test-fmt: reformat some skipped files, comment on the remaining ones 2020-10-15 00:39:09 +03:00
Delyan Angelov 46c5a2c8fc v test-fmt: fix some embedded comments in expressions 2020-10-14 22:52:33 +03:00
Larpon 05ec32c331
examples: fix sokol/particles to start up faster (#6610) 2020-10-13 13:16:51 +03:00
Delyan Angelov 77c29c6b6f examples: add simple visual rendering of the samples in melody.v 2020-10-10 23:45:40 +03:00
Delyan Angelov 86816b1aad examples: add bytebeat melody using sokol.audio 2020-10-10 19:37:03 +03:00
Nicolas Sauzede 8d2f22affe
tetris: display lines (#6533) 2020-10-02 16:42:05 +03:00
Nicolas Sauzede a0aedfbe5c
tetris: display next tetro (#6532) 2020-10-02 16:37:00 +03:00
Nicolas Sauzede 1ddf46f3c6
tetris: add ghost piece (#6531) 2020-10-02 09:30:15 +02:00
Lukas Neubert 94cf8ef1d8
examples: update v_script.vsh (#6515) 2020-10-02 05:18:08 +02:00
Larpon 0e2f267805
examples: add support for transparency / opacity / alpha in particle example (#6488) 2020-09-28 06:14:15 +02:00
Daniel Däschle 06cade6c31
all: change .ReturnType and .Type to .return_type and .typ (#6494) 2020-09-28 06:13:38 +02:00
Delyan Angelov 71e1ca72ec examples/2048: run `v -w fmt 2048.v` 2020-09-27 22:47:26 +03:00
spaceface777 faca9e2f06
examples/2048: new end screens with alpha, better touch support (#6482) 2020-09-26 09:54:04 +03:00
Alexander Medvednikov 0cdeaaff6b examples: make 2048 compile 2020-09-23 20:50:03 +02:00
Delyan Angelov 99e607d3ac examples/2048: limit the simulation depth in auto mode to 8 2020-09-23 09:26:22 +03:00
Delyan Angelov 46be0710ac examples/2048: add a simple Monte Carlo player on `a` 2020-09-22 17:32:35 +03:00
Alexander Medvednikov 8c8fe02000 gg: mouse_move, mouse_down 2020-09-21 02:42:53 +02:00
Alexander Medvednikov 6bf1865678
examples: add a link to the 2048 WA demo 2020-09-20 19:31:16 +02:00
Delyan Angelov d4fbf422b3 gg: support transparency for rect/triangle/etc primitives too 2020-09-20 12:05:30 +03:00
Delyan Angelov b4535acbac examples: move the particle module in modules/particle
The goal is enabling running `v build-examples` from outside vroot.
The modules/ folders are already skipped when building examples.
2020-09-18 19:06:04 +03:00