https://github.com/imerr/ld36
Ludum Dare 36
https://github.com/imerr/ld36
Last synced: over 1 year ago
JSON representation
Ludum Dare 36
- Host: GitHub
- URL: https://github.com/imerr/ld36
- Owner: imerr
- Created: 2016-08-27T00:51:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-29T01:38:20.000Z (almost 10 years ago)
- Last Synced: 2025-02-24T16:58:47.297Z (over 1 year ago)
- Language: C++
- Size: 440 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LD36
Ludum Dare 36
level format:
```
{
"texture": "assets/images/pyramid2.png", // texture for everything
"backgroundTexture": "...", // path to background texture, optional - if not specified the desert one is loaded
"preview": [LEFT, TOP, WIDTH, HEIGHT], // cutout that will be displayed as preview, optional
"size": [68, 58], // size of the preview - will be scaled to fit the container
"_c": "The scale saves us doing even more calculations by hand", // comment
"scale": 5, // scale, simple multiplier
"parts": [
{
"area": [0, 50, 62, 8], // left, top, width, height of the part
"goal": [0, 0], // goal position, top left of the part, relative to the top left corner of the first part
"attach": [[25, 0], [-25, 0]], // two positions where the "ropes" are attached, relative to the center of the part
"shapes": [[0, 0, 62, 8]] // all the physics shapes (rectangles) - left, top, width, height, relative to the center of the part (note: 1px is going to be cut off after scaling due to box2d)
},
]
}
```