Last active
August 15, 2017 10:54
-
-
Save M3ales/fe836c1074ba3c9e4dddbb5c4f31121b to your computer and use it in GitHub Desktop.
Proposed Entity Storage per Level in Json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"level": | |
{ | |
"seed":"askdaoko23kfwifsjd30892jwe" | |
} | |
"entity": | |
{ | |
{ | |
"id":"player" | |
"active":true | |
"components": | |
[ | |
{ | |
"id":"sprite" | |
"args": | |
[ | |
"texture":"/core/texture/humanoid.png" | |
] | |
{ | |
"id":"transform" | |
"args": | |
[ | |
{ | |
"x":5; | |
"y":5; | |
} | |
] | |
}, | |
{ | |
"id":"playerMovement" | |
}, | |
{ | |
"id":"inventory" | |
} | |
] | |
} | |
{ | |
"id":"torch" | |
"active":true | |
"components": | |
[ | |
{ | |
"id":"light" | |
}, | |
{ | |
"id":"transform" | |
"args": | |
[ | |
{ | |
"x":500; | |
"y":2; | |
} | |
] | |
}, | |
{ | |
"id":"sprite" | |
"args": | |
[ | |
"texture":"/core/texture/items.png" | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment