Skip to content

Commit

Permalink
Forget to add new level files
Browse files Browse the repository at this point in the history
  • Loading branch information
KamiNeko committed Oct 31, 2017
1 parent e4b5f8d commit 8fe4b5b
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 125 deletions.
127 changes: 3 additions & 124 deletions Assets/levels/level01.json
Original file line number Diff line number Diff line change
@@ -1,132 +1,11 @@
{
"StartPosition": "117, 458",
"StartPosition": "75, 410",
"EntityDescriptors": [
{
"EntityName": "flower02",
"Position": "158, 153",
"IsCollidable": true,
"TextureName": "flower02",
"AnimationDescriptor": {
"Active": true,
"AnimationFramesPerSecond": 2,
"SubtextureWidth": 64,
"SubtextureHeight": 64,
"AnimationFrameSets": [
{
"Key": 0,
"Frames": [ 0, 1, 2, 3 ]
}
]
},
"AnimationLoopDescriptor": {
"Active": true,
"Key": 0
}
},
{
"EntityName": "ball",
"Position": "180, 80",
"IsCollidable": true,
"TextureName": "bullet",
"MovementDescriptor": {
"Active": true,
"Speed": 75,
"Positions": [
"180, 80" ,
"245, 155",
"310, 75",
"245, 155"
]
}
},
{
"EntityName": "lighning-01",
"Position": "95, 232",
"IsCollidable": true,
"TextureName": "lightning-01",
"PeriodicVisibilityToggleDescriptor": {
"Active": true,
"SoundEffectName": "lightning",
"TimeInvisible": 3
},
"AnimationDescriptor": {
"Active": true,
"AnimationFramesPerSecond": 30,
"SubtextureWidth": 128,
"SubtextureHeight": 64,
"AnimationFrameSets": [
{
"Key": 0,
"Frames": [ 0, 1 ]
},
{
"Key": 1,
"Frames": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 7, 6, 7, 8, 7, 6, 7, 8, 7, 6, 7, 8, 7, 6, 7, 8 ]
}
]
}
},
{
"EntityName": "platform-01",
"Position": "210, 377",
"IsCollidable": true,
"TextureName": "platform-01",
"MovementDescriptor": {
"Active": true,
"Speed": 50,
"Positions": [
"210, 377" ,
"90, 377"
]
}
},
{
"EntityName": "shooter",
"Position": "300, 380",
"IsCollidable": true,
"TextureName": "shooter",
"MovementDescriptor": {
"Active": true,
"Speed": 50,
"Positions": [
"300, 380" ,
"450, 380"
]
},
"ShooterDescriptor": {
"Active": true,
"Speed": 100,
"Direction": "0, -1",
"Offset": "0, -25",
"BulletCooldownInSeconds": 1
}
},
{
"EntityName": "door-01",
"Position": "548, 313",
"IsCollidable": true,
"TextureName": "door-01",
"DoorDescriptor": {
"Active": true,
"TargetEntityName": "shooter"
}
},
{
"EntityName": "level",
"Position": "320, 240",
"Position": "0, 0",
"IsCollidable": true,
"TextureName": "level01",
"AnimationDescriptor": {
"Active": false,
"StartAnimationFrame": 0,
"StopAnimationFrame": 0,
"AnimationFramesPerSecond": 0,
"SubtextureWidth": 0,
"SubtextureHeight": 0
},
"MovementDescriptor": {
"Active": false
}
"TextureName": "level-01"
}
]
}
98 changes: 98 additions & 0 deletions Assets/levels/level02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"StartPosition": "75, 410",
"EntityDescriptors": [
{
"EntityName": "level-02-obstacle-01",
"Position": "50, 200",
"IsCollidable": true,
"TextureName": "level-02-obstacle",
"MovementDescriptor": {
"Active": true,
"Speed": 100,
"Positions": [
"50, 200" ,
"250, 200"
]
}
},
{
"EntityName": "level-02-obstacle-02",
"Position": "50, 230",
"IsCollidable": true,
"TextureName": "level-02-obstacle",
"MovementDescriptor": {
"Active": true,
"Speed": 100,
"Positions": [
"50, 230" ,
"150, 230"
]
}
},
{
"EntityName": "level-02-obstacle-03",
"Position": "50, 300",
"IsCollidable": true,
"TextureName": "level-02-obstacle",
"MovementDescriptor": {
"Active": true,
"Speed": 100,
"Positions": [
"50, 300" ,
"250, 300"
]
}
},
{
"EntityName": "level-02-obstacle-04",
"Position": "70, 350",
"IsCollidable": true,
"TextureName": "level-02-obstacle",
"MovementDescriptor": {
"Active": true,
"Speed": 100,
"Positions": [
"70, 350" ,
"170, 350"
]
}
},
{
"EntityName": "level-02-obstacle-05",
"Position": "50, 110",
"IsCollidable": true,
"TextureName": "level-02-obstacle",
"MovementDescriptor": {
"Active": true,
"Speed": 150,
"Positions": [
"50, 110", "115, 110",
"50, 110", "115, 110",
"50, 110", "115, 110",

"140, 110",

"50, 110", "115, 110",
"50, 110", "115, 110",

"140, 110",

"50, 110", "115, 110",

"140, 110",

"50, 110", "115, 110",
"50, 110", "115, 110",

"140, 110"
]
}
},
{
"EntityName": "level",
"Position": "0, 0",
"IsCollidable": true,
"TextureName": "level-02"
}
]
}
3 changes: 2 additions & 1 deletion Assets/levels/levels.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[
"level01.json"
"levels/level01.json",
"levels/level02.json"
]

0 comments on commit 8fe4b5b

Please sign in to comment.