mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
examples/resources: Add more resources (#552)
This commit is contained in:
parent
cff14cbbd4
commit
b08f259674
@ -22,6 +22,12 @@
|
||||
//go:generate file2byteslice -package=images -input=../_resources/images/tile.png -output=./images/tile.go -var=Tile_png
|
||||
//go:generate file2byteslice -package=images -input=../_resources/images/tiles.png -output=./images/tiles.go -var=Tiles_png
|
||||
//go:generate file2byteslice -package=images -input=../_resources/images/ui.png -output=./images/ui.go -var=UI_png
|
||||
//go:generate file2byteslice -package=blocks -input=../_resources/images/blocks/background.png -output=./images/blocks/background.go -var=Background_png
|
||||
//go:generate file2byteslice -package=blocks -input=../_resources/images/blocks/blocks.png -output=./images/blocks/blocks.go -var=Blocks_png
|
||||
//go:generate file2byteslice -package=platformer -input=../_resources/images/platformer/background.png -output=./images/platformer/background.go -var=Background_png
|
||||
//go:generate file2byteslice -package=platformer -input=../_resources/images/platformer/left.png -output=./images/platformer/left.go -var=Left_png
|
||||
//go:generate file2byteslice -package=platformer -input=../_resources/images/platformer/mainchar.png -output=./images/platformer/mainchar.go -var=MainChar_png
|
||||
//go:generate file2byteslice -package=platformer -input=../_resources/images/platformer/right.png -output=./images/platformer/right.go -var=Right_png
|
||||
//go:generate gofmt -s -w .
|
||||
|
||||
package resources
|
||||
|
6
examples/resources/images/blocks/background.go
Normal file
6
examples/resources/images/blocks/background.go
Normal file
@ -0,0 +1,6 @@
|
||||
// Code generated by file2byteslice. DO NOT EDIT.
|
||||
// (gofmt is fine after generating)
|
||||
|
||||
package blocks
|
||||
|
||||
var Background_png = []byte("\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00 \x00\x00\x00 \b\x02\x00\x00\x00\xfc\x18\xed\xa3\x00\x00\x00\tpHYs\x00\x00\v\x13\x00\x00\v\x13\x01\x00\x9a\x9c\x18\x00\x00\x00<IDATH\xc7\xedѱ\r\x000\b\x03A\xc8J\xec\xbf\x01\x9e\xc9̀\x944\xd1\u007fmt\x05\xd9ݱ\xa9\xaaV\xfb\x13\x8f\x03\x00\x00\x00\x00\xb8Q\xda^\x1dH\xe2\a\x00\x00\x00\x00\xff\x01\x03\xd79\b\xa0\u007fq\xb3\xbb\x00\x00\x00\x00IEND\xaeB`\x82")
|
6
examples/resources/images/blocks/blocks.go
Normal file
6
examples/resources/images/blocks/blocks.go
Normal file
@ -0,0 +1,6 @@
|
||||
// Code generated by file2byteslice. DO NOT EDIT.
|
||||
// (gofmt is fine after generating)
|
||||
|
||||
package blocks
|
||||
|
||||
var Blocks_png = []byte("\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00F\x00\x00\x00\n\b\x06\x00\x00\x00\t\xb4(\x93\x00\x00\x00lIDATH\x89핱\r\xc00\b\x04?\x91{\x0f\xc3\x06\fô\xfe\x99\x9c\"JI\xf8\xde\\\xe5\xe2\x04\xd65\\{\xad\x8d\x02\x92\xb0\xb0J\x03I\xc04\xcf,4\x0fڼ\x10\xf7N\x9f\x927\xbe\x87\xf2A\xc93\xd5\x13\xf7\x8a\xf3 z\xee.y\xf7\xafq0\x1d&\xa1\xc3$t\x98\x84\x0e\x93\xd0a\x12:L\xc2 Y\xdeu\xe0\xbd\xed'y\x0f\x13\x1f^}\x06\u007f\x19\xfa\x00\x00\x00\x00IEND\xaeB`\x82")
|
6
examples/resources/images/platformer/background.go
Normal file
6
examples/resources/images/platformer/background.go
Normal file
File diff suppressed because one or more lines are too long
6
examples/resources/images/platformer/left.go
Normal file
6
examples/resources/images/platformer/left.go
Normal file
File diff suppressed because one or more lines are too long
6
examples/resources/images/platformer/mainchar.go
Normal file
6
examples/resources/images/platformer/mainchar.go
Normal file
File diff suppressed because one or more lines are too long
6
examples/resources/images/platformer/right.go
Normal file
6
examples/resources/images/platformer/right.go
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user