Skip to content

Commit

Permalink
Map Export #61 "data" layerset, only export images for layers with vi…
Browse files Browse the repository at this point in the history
…sible content, smart object export, noodle shop tests
  • Loading branch information
robwalch committed Mar 20, 2013
1 parent c8e4962 commit f2e76d2
Show file tree
Hide file tree
Showing 20 changed files with 1,182 additions and 72 deletions.
975 changes: 975 additions & 0 deletions app/data/noodleshop3S/data.js

Large diffs are not rendered by default.

Binary file added app/data/noodleshop3S/elements/bg.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 app/data/noodleshop3S/elements/floor_1.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 app/data/noodleshop3S/elements/floor_2.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 app/data/noodleshop3S/elements/floor_over_pillar.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 app/data/noodleshop3S/elements/lilpillar.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 app/data/noodleshop3S/elements/pillar2_2.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 app/data/noodleshop3S/elements/railing.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 app/data/noodleshop3S/elements/steptop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 77 additions & 9 deletions app/data/testmap3S/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,81 @@ ec && ec.loadMap({
"width": 1428,
"height": 1002,
"layers": [
{
"name": "bounds",
"elements": [
{
"name": "bounds left",
"mapType": "wall",
"x": 43,
"y": 283,
"z": 0,
"width": 695,
"height": 1410,
"depth": 780,
"regX": 48,
"regY": 995,
"shape": "polygons",
"shapes": [
{
"x": 0,
"y": 0,
"polygons": [
[
[
2,
793
],
[
5,
1393
],
[
137,
799
]
]
]
}
]
},
{
"name": "bounds top",
"mapType": "wall",
"x": 805,
"y": 86,
"z": 0,
"width": 1422,
"height": 875,
"depth": 780,
"regX": 792,
"regY": 798,
"shape": "polygons",
"shapes": [
{
"x": 0,
"y": 0,
"polygons": [
[
[
1,
804
],
[
1409,
872
],
[
966,
718
]
]
]
}
]
}
]
},
{
"name": "background",
"elements": [
Expand Down Expand Up @@ -44,8 +119,7 @@ ec && ec.loadMap({
]
]
}
],
"image": "elements/full_area.png"
]
}
]
},
Expand Down Expand Up @@ -98,12 +172,8 @@ ec && ec.loadMap({
"mapType": "parallax",
"x": 169,
"y": 887,
"z": 0,
"width": 259,
"height": 70,
"depth": 0,
"regX": 0,
"regY": 0,
"image": "elements/little_floor.png"
},
{
Expand Down Expand Up @@ -455,7 +525,5 @@ ec && ec.loadMap({
]
}
],
"entities": [

]
"entities": []
});
Binary file modified app/data/testmap3S/elements/big_box.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 removed app/data/testmap3S/elements/full_area.png
Binary file not shown.
Binary file modified app/data/testmap3S/elements/little_box.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 modified app/data/testmap3S/elements/little_test.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 modified app/data/testmap3S/elements/mixed_box.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
<script src="scripts/controllers/ShadowCloneInput.js"></script>
<!-- endbuild -->

<script src="data/noodleshop3S/data.js"></script>
<script src="data/courtyard/data.js"></script>
<script src="data/testmap/data.js"></script>
<script src="data/testmap2/data.js"></script>
Expand Down
3 changes: 3 additions & 0 deletions app/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,10 @@

cycleMap: function() {
var map;

if (world.map === maps.courtyard) {
map = maps.noodleshop3S;
} else if (world.map === maps.noodleshop3S) {
map = maps.testmap3S;
} else if (world.map === maps.testmap3S) {
map = maps.testmap2;
Expand Down
Binary file modified dev/art/noodleshop3S.psd
Binary file not shown.
Loading

0 comments on commit f2e76d2

Please sign in to comment.