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
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
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
Chillance
16e4c45283
Added newline to put animated gif on a new line.
2018-10-07 16:08:46 +02:00
Chillance
e5d5ae4d32
Added links.
2018-10-07 16:04:29 +02:00
Chillance
4291ffb4f0
Added seascape shader example.
2018-10-07 15:59:47 +02:00
faiface
b56a517782
make a README
2018-09-07 18:00:48 +02:00
Robin Eklind
bc29868459
Update import paths.
...
Automated using:
find . -type f | grep -v "\.git" | xargs -I '{}' sar -i "github.com/faiface/pixel/examples/" "github.com/faiface/pixel-examples/" "{}"
With the sar tool, https://godoc.org/github.com/mewkiz/cmd/sar
Updates faiface/pixel#135 .
2018-09-04 00:12:02 +02:00
Robin Eklind
d8311efa94
Add README and LICENSE
2018-09-03 23:33:14 +02:00
Nanite Factory
d50fdb3565
add community example: amidakuji
2018-08-26 21:45:01 +09:00
Jason Wangsadinata
1f3ab6edb9
add sudoku community example
...
This commit adds a simple sudoku community example that demonstrates the
use of text batching and imdraw drawing capabilities.
2018-07-03 22:49:30 +07:00
Brandon
31192ae8e8
fixed accessing png files from disk every frame
2018-06-25 11:51:55 -06:00
David Linus Briemann
f33825d48e
adjusts VideoMode and associated function to pull request change requests.
2018-05-04 18:03:25 +02:00
David Linus Briemann
f11f8fd3c4
adds a community example for the usage of video modes
2018-05-03 20:52:42 +02:00