Commit Graph

76 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
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
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
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
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
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
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
Jeff Carr da1c53e20d Add another glsl example file 'planetfall' 2018-12-04 16:52:10 -08:00
David Linus Briemann c02f66edcc fix md formatting 2018-11-01 11:25:02 +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
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
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
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
bcamp1 b895bbd6b1 Simplified variable declaration 2018-03-10 16:04:01 -07:00
Branson Camp 862907a849 Added go-jetpack
Remove .DS_Store

Added screenshot

Added README.md
2018-03-10 16:00:37 -07:00
Nathan 6178d3ef7c addressing PR feedback 2018-01-18 20:44:54 -05:00
Nathan 17c9db7140 adds a game of life example 2018-01-18 19:52:52 -05:00
Michal Štrba 435cc32abf Merge pull request #87 from svera/parallax-scroll
Parallax scroll
2018-01-12 12:59:03 +01:00
Michal Štrba d857351eeb Merge pull request #86 from svera/update-image
Update image
2018-01-12 12:57:11 +01:00
Sergio Vera Castellano 47b78a7c85 Removed unneeded parentheses 2018-01-12 12:52:50 +01:00
Sergio Vera Castellano f32d37d688 Removed unneeded parentheses 2018-01-12 12:51:07 +01:00
Sergio Vera Castellano 0daccce0f1 Added new image 2018-01-12 12:48:09 +01:00
Sergio Vera Castellano 95a0f895b2 Fixed image positioning 2018-01-12 12:47:16 +01:00
Michal Štrba 1cd42aacbd Merge pull request #85 from svera/parallax-scroll
Parallax scroll (fixes #75)
2018-01-12 12:44:11 +01:00