Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jungle assets #3730

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added libs/device/backgrounds/jungle1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added libs/device/backgrounds/jungle2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions libs/device/jungle/crate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"width": 16,
"height": 16,
"tags": "tile"
}
Binary file added libs/device/jungle/crate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions libs/device/jungle/crate2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"width": 16,
"height": 16,
"tags": "tile"
}
Binary file added libs/device/jungle/crate2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions libs/device/jungle/leafBlock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"width": 16,
"height": 16,
"tags": "tile"
}
Binary file added libs/device/jungle/leafBlock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions libs/device/jungle/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"width": 16,
"height": 16,
"blockIdentity": "images._image",
"creator": "image.ofBuffer",
"star": {
"namespace": "sprites.jungle",
"mimeType": "image/x-mkcd-f4"
},
"tags": "misc jungle"
}
2 changes: 2 additions & 0 deletions libs/device/pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
"sprites.swamp.jres",
"sprites.skillmap.ts",
"sprites.skillmap.jres",
"sprites.jungle.ts",
"sprites.jungle.jres",
"storySprites.ts",
"storySprites.jres",
"startup.ts",
Expand Down
2 changes: 2 additions & 0 deletions libs/device/sprites.background.jres

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions libs/device/sprites.background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ namespace sprites.background {
export const fossils = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._image
//% tags="background"
export const jungle1 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._image
//% tags="background"
export const jungle2 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._image
//% tags="background"
export const lanterns = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._image
//% tags="background"
Expand Down
19 changes: 19 additions & 0 deletions libs/device/sprites.jungle.jres
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"*": {
"namespace": "sprites.jungle",
"mimeType": "image/x-mkcd-f4",
"dataEncoding": "base64"
},
"crate": {
"data": "hwQQABAAAAD//////////7/du93d3b37v9273d3dvfvf7t3v7u7e/d/r3b6729v937vd7u7d2/3fu92+293e/d+73e7d7d7937vd3t3u3v3fu93b7bvb/d+73dvu7t793+vd67672/3f7t3v7u7e/b/du93d3b37v9273d3dvfv//////////w==",
"tilemapTile": true
},
"crate2": {
"data": "hwQQABAAAAD//////////y/dRFVVVUX0L91EVVVVRfTf7lXv7u5e9d/rVe5b7lT137tV7lteVPXfu1W+W1VU9d+7VVRVRV7137tVVBFFXvXfu1W+G1VU9d+7Ve5bXlT13+tV7lvuVPXf7lXv7u5e9S/dRFVVVUX0L91EVVVVRfT//////////w==",
"tilemapTile": true
},
"leafBlock": {
"data": "hwQQABAAAACAiP//iIj/AIh2d/dmdvgPaIZ294h3aPZoiHeGeGeP9vhohoh294/2/3dn+Hdohv9vd3f3j3Z3//hodnePaHb3+Gh2d49odvdvd3f3j3Z3//93Z/h3aIb/+GiGiHb3j/ZoiHeGeGeP9miGdveId2j2iHZ392Z2+A+AiP//iIj/AA==",
"tilemapTile": true
}
}
11 changes: 11 additions & 0 deletions libs/device/sprites.jungle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace sprites.jungle {
//% fixedInstance jres blockIdentity=images._image
//% tags="tile misc jungle"
export const crate = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._image
//% tags="tile misc jungle"
export const crate2 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._image
//% tags="tile misc jungle"
export const leafBlock = image.ofBuffer(hex``);
}