Commit Graph

150 Commits

Author SHA1 Message Date
Jeff Carr b0b6e97726 Merge branch 'master' of git.wit.org:jcarr/pixel-examples into github-master 2021-08-30 19:37:46 -05:00
Allen Ray 93f9cd5359
Merge pull request #19 from bmdelacruz/master
Fixes #18. Updated wavy fragment shader
2021-06-22 08:08:55 -04:00
Allen Ray 1a9474a645
Merge pull request #20 from willbeason/master
Add go.mod to pixel-examples
2021-06-22 08:01:06 -04:00
Will Beason 68ce0613e2 Remove "Suggested setup" since this is covered in the project wiki. 2021-04-30 21:47:51 -05:00
Will Beason edff5053b6 Add go.mod to pixel-examples
As-is stops working in Go 1.15.
This was fixed with "go mod init" and "go mod tidy".
There doesn't seem to be particular value in per-example go.mod files, so I've made one for the entire project.

I wasn't able to get community/amidakuji/glossary/util.go to build; it seems the example may be unfinished.
Otherwise, the examples I tried seemed to function as intended.

Add explicit instructions for Windows systems.
It took me hours of trying various configurations to find one which works on a fresh machine, this should help new users.

Add /.idea and *.exe to .gitignore to preserve my sanity in testing this.
2021-04-30 21:31:20 -05:00
Bryan Dela Cruz 6be8878d2a Fixes #18. Updated wavy fragment shader
- Used vTexCoords instead of gl_FragCoord
2019-12-21 17:05:18 +08:00
Michal Štrba 0d1d22b509
Merge pull request #16 from bcvery1/master
Line collision
2019-04-23 13:12:45 +02:00
Ben Cragg bb7baf0c7c Added screenshot 2019-04-15 11:17:10 +01:00
Ben Cragg dc53166dd9 Initial commit 2019-04-15 11:15:14 +01:00
Ben Cragg 6b052dfa37 Intial commit 2019-04-10 11:34:31 +01:00
Ben Cragg 65f91d5cea Better structure 2019-04-10 11:34:20 +01:00
Ben Cragg e7da74e974 Added line collisions example 2019-04-10 11:26:34 +01:00
Michal Štrba 5880f0311b
Merge pull request #14 from zcking/feature/tilemap-example
refactored to use batch rendering
2019-02-06 17:46:30 +01:00
Zachary King a65de950f9 retain render order by using slice instead of map 2019-02-05 19:06:47 -06:00
Zachary King 00780ad113 clear batches at beginning of draw 2019-02-04 20:18:08 -06:00
Zachary King b53cad3147 refactored to use batch rendering 2019-02-04 18:27:49 -06:00
Michal Štrba d8a6e4b962
Merge pull request #13 from zcking/feature/tilemap-example
tilemap example added
2019-02-04 01:05:29 +01:00
Zachary King 3006c34671 removed level.json 2019-02-03 16:43:57 -06:00
Zachary King d611719af4 removed unneeded global variable 2019-02-03 16:40:49 -06:00
Zachary King b13a2c82ec updated screenshot preview 2019-02-03 16:37:45 -06:00
Zachary King 837695c0af load 'scene' data from tmx file render accordingly 2019-02-03 16:35:31 -06:00
Zachary King 1de5ec5af8 tilemap example added 2019-02-03 10:22:25 -06:00
Michal Štrba 070f96227a
Merge pull request #12 from jwangsadinata/fix-sudoku-text-creation
sudoku: optimize text creation of sudoku numbers
2019-02-03 14:20:43 +01:00
Jason Wangsadinata 91dc0b2643 sudoku: optimize text creation of sudoku numbers
This commit optimizes the text creation of sudoku numbers re-using the
`text.Text` used for printing the numbers to the batch.

Fixes #7.
2019-02-03 19:47:05 +07:00
Michal Štrba 6dea3ebe47
Merge pull request #10 from basilarchia/master
make a clean file that just is for parsing the command line
2019-02-03 12:54:30 +01:00
Jeff Carr 1f99b7ee04 junk
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-01-15 08:37:22 -08:00
Jeff Carr 25c0ba5c87 a bit better code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-01-15 08:29:59 -08:00
Jeff Carr aa46ffffe4 remove junk
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-01-15 08:17:07 -08:00
Jeff Carr 3ad06351ae finally runs 2019-01-15 08:05:59 -08:00
Jeff Carr 9d39c2dbcb print the executable name correctly
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-01-09 04:30:11 -08:00
Jeff Carr 8f5d223b36 add both examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-01-09 04:19:12 -08:00
Jeff Carr 466083852c make a clean file that just is for parsing the command line
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-01-09 04:13:45 -08:00
Michal Štrba ba4c6901ed
Merge pull request #9 from basilarchia/master
set filename,width,height and drift from the command line
2019-01-08 23:16:46 +01:00
Jeff Carr 80982259a0 set filename,width,height and drift from the command line
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-01-02 08:10:40 -08:00
Michal Štrba c732821123
Merge pull request #8 from basilarchia/master
Add another glsl example file 'planetfall'
2018-12-07 00:11:38 +01:00
Jeff Carr da1c53e20d Add another glsl example file 'planetfall' 2018-12-04 16:52:10 -08:00
Robin Eklind 03d92b87ba
Merge pull request #6 from rvi64/patch-1
shader: fix wavy build
2018-11-22 11:24:06 +01:00
rvi64 b2cb0e681a
shader: fix wavy build 2018-11-22 05:34:14 +02:00
Robin Eklind 1070f77d30
Merge pull request #5 from dbriemann/master
fix md formatting
2018-11-01 12:11:01 +01:00
David Linus Briemann c02f66edcc fix md formatting 2018-11-01 11:25:02 +01:00
Michal Štrba 3720651f29
Merge pull request #4 from dbriemann/master
Simple Gophermark
2018-10-31 17:41:16 +01:00
David Linus Briemann 967f11c56b add screenie to markdown 2018-10-31 14:38:20 +01:00
David Linus Briemann 47bd4a71e8 remove binary.. 2018-10-31 14:36:32 +01:00
David Linus Briemann c5b7c6aac7 add gophermark example 2018-10-31 14:36:04 +01:00
Michal Štrba e4d7f8619e
fix image paths in shader/README.md 2018-10-11 17:56:52 +02:00
Michal Štrba 67b4a8f84d
Merge pull request #3 from thegtproject/shader-examples
added shader examples
2018-10-10 13:43:04 +02:00
Brandon 76ae43c154 added shader examples 2018-10-08 08:16:35 -06:00
Michal Štrba db0af37aa2
Merge pull request #2 from Chillance/master
shadertoy seascape shader example
2018-10-07 21:30:17 +02:00
Chillance 4bbbbcbfe6 Updated parameter names. 2018-10-07 21:20:55 +02:00
Chillance 99aeaab533 Variable updates to follow a standardized glsl variable naming convention and shader updates. 2018-10-07 17:15:34 +02:00