-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2f05ea
commit 7672950
Showing
36 changed files
with
270 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Main-Class: edu.cornell.gdiac.game.desktop.DesktopLauncher | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"textures": { | ||
"shared:earth" : { | ||
"file": "shared/earthtile.png", | ||
"wrapU": "repeated", | ||
"wrapV": "repeated" | ||
}, | ||
"shared:steel" : { | ||
"file": "shared/steeltile.png", | ||
"wrapU": "repeated", | ||
"wrapV": "repeated" | ||
}, | ||
"shared:goal": "shared/goaldoor.png", | ||
"platform:cat": "platform/cat.png", | ||
"platform:deadCat": "platform/deadCat.png", | ||
"platform:rope": "platform/ropebridge.png", | ||
"platform:barrier": "platform/barrier.png", | ||
"platform:bullet": "platform/bullet.png", | ||
"platform:spikes": "platform/spikes.png", | ||
"platform:button": "platform/button.png", | ||
"platform:flamethrower": "platform/flamethrower.png", | ||
"platform:flame": "platform/flame.png", | ||
"platform:laserLeft": "platform/laser_left.png", | ||
"platform:laserBeam": "platform/laserbeam.png", | ||
"platform:laserRight": "platform/laser_right.png", | ||
"platform:background": "platform/labBkg_concept.png" | ||
}, | ||
"jsons" : { | ||
"platform:constants_l1": "platform/constants_l1.json", | ||
"platform:constants_l2": "platform/constants_l2.json" | ||
}, | ||
"sounds" : { | ||
"platform:jump" : "platform/jump.mp3", | ||
"platform:pew" : "platform/pew.mp3", | ||
"platform:plop" : "platform/plop.mp3", | ||
"platform:meow" : "platform/meow.mp3" | ||
}, | ||
"fonts": { | ||
"shared:retro": { | ||
"file": "shared/RetroGame.ttf", | ||
"size": 64 | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"textures": { | ||
"background": "shared/loading.png", | ||
"play": "shared/play.png", | ||
"progress": { | ||
"file": "shared/progressbar.png", | ||
"atlas": { | ||
"background" : [16, 0, 216, 30], | ||
"backleft" : [0, 0, 15, 30], | ||
"backright" : [384, 0, 400, 30], | ||
"foreground" : [16, 40, 216, 70], | ||
"foreleft" : [0, 40, 16, 70], | ||
"foreright" : [384, 40, 400, 70] | ||
} | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 86 additions & 0 deletions
86
desktop/out/production/resources/platform/constants_l1.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"defaults" : { | ||
"gravity" : -14.7, | ||
"friction": 0.4, | ||
"density" : 0.0, | ||
"restitution": 0.1, | ||
"volume": 0.8 | ||
}, | ||
"goal" : { | ||
"pos": [34.5, 3.5], | ||
"density": 0.0, | ||
"friction": 0.0, | ||
"restitution": 0.0 | ||
}, | ||
"ret_goal" : { | ||
"pos": [-20,-20], //temp impossible | ||
"density": 0.0, | ||
"friction": 0.0, | ||
"restitution": 0.0 | ||
}, | ||
"cat" : { | ||
"pos": [1.0, 2.0], | ||
"ret_pos": [31.5, 2.0], | ||
"shrink": [0.7, 0.95], | ||
"force": 30.0, | ||
"damping": 30.0, | ||
"density": 1.0, | ||
"friction": 0.0, | ||
"maxspeed": 6.5, | ||
"jump_force": 1.6, | ||
"jump_damping": 0.8, | ||
"dash_force": 1.5, | ||
"ground_sensor": { | ||
"shrink" : 0.6, | ||
"height" : 0.05 | ||
}, | ||
"side_sensor": { | ||
"shrink" : 0.6, | ||
"width": 0.2 | ||
} | ||
}, | ||
"spike" : { | ||
"spikes": [], | ||
"sensor_height_scale": 1, | ||
"sensor_width_scale": 0.5, | ||
"sensor_offset": [0, 0], | ||
"solid_offset":[0, -0.25], | ||
"solid_height_scale": 0.5, | ||
"solid_width_scale": 1, | ||
"offset": [ | ||
0.5, | ||
0.5 | ||
] | ||
}, | ||
"activator": { | ||
"body_shape" : [-0.03125, 0.2, 0.96875, 0.2, 0.66875, 0.3, 0.26875, 0.3], | ||
"sensor_shape" : [-0.03125, 0.2, 0.96875, 0.2, 0.96875, 0.6, -0.03125, 0.6], | ||
"friction" : 0.4, | ||
"offset": [0.03125, -0.2], | ||
"activators": [ | ||
] | ||
}, | ||
"box": { | ||
"friction" : 0.9, | ||
"mass" : 200, | ||
"boxes" : [ | ||
] | ||
}, | ||
"flamethrower": { | ||
"flamethrowers" : [ | ||
] | ||
}, | ||
"laser" : { | ||
"lasers" : [ | ||
] | ||
}, | ||
"walls": [ | ||
[0.0, 2.0, 0.0, 17.0, -1.0, 17.0, -1.0, 2], //invisible left side | ||
[30.0, 7.0, 32.0, 7.0, 32.0, 17.0, 30.0, 17.0], //left | ||
[0, 17.0, 32.0, 17.0, 32.0, 18.0, 0, 18.0] //top | ||
], | ||
"platforms": [ | ||
|
||
[0.0, 2.0, 35.0, 2.0, 35.0, 0.0, 0.0, 0.0] //main platform | ||
] | ||
} |
120 changes: 120 additions & 0 deletions
120
desktop/out/production/resources/platform/constants_l2.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
{ | ||
"defaults" : { | ||
"gravity" : -14.7, | ||
"friction": 0.4, | ||
"density" : 0.0, | ||
"restitution": 0.1, | ||
"volume": 0.8 | ||
}, | ||
"goal" : { | ||
"pos": [-20, -20], //temp impossible to exit | ||
"density": 0.0, | ||
"friction": 0.0, | ||
"restitution": 0.0 | ||
}, | ||
"ret_goal" : { | ||
"pos": [-2.5, 3.5], | ||
"density": 0.0, | ||
"friction": 0.0, | ||
"restitution": 0.0 | ||
}, | ||
"cat" : { | ||
"pos": [0.5, 2.0], | ||
"ret_pos": [-20,-20], //temp impossible | ||
"shrink": [0.7, 0.95], | ||
"force": 30.0, | ||
"damping": 30.0, | ||
"density": 1.0, | ||
"friction": 0.0, | ||
"maxspeed": 6.5, | ||
"jump_force": 1.5, | ||
"jump_damping": 0.8, | ||
"dash_force": 1.5, | ||
"sensor": { | ||
"shrink": 0.9 | ||
}, | ||
"ground_sensor": { | ||
"shrink" : 0.6, | ||
"height" : 0.05 | ||
}, | ||
"side_sensor": { | ||
"shrink" : 0.6, | ||
"width": 0.2 | ||
} | ||
}, | ||
"spike" : { | ||
"spikes": | ||
[{"pos" : [10, 1], "angle": 0, "active": true, "activatorID": "button1"}, | ||
{"pos" : [11, 1], "angle": 0, "active": true, "activatorID": "button1"}, | ||
{"pos" : [17, 1], "angle": 0, "active": false, "activatorID": "button1"}, | ||
{"pos" : [29, 4], "angle": 90, "active": true, "activatorID": "button2"}, | ||
{"pos" : [29, 3], "angle": 90, "active": true, "activatorID": "button2"}, | ||
{"pos" : [29, 2], "angle": 90, "active": true, "activatorID": "button2"}], | ||
"sensor_height_scale": 1, | ||
"sensor_width_scale": 0.5, | ||
"sensor_offset": [0, 0], | ||
"solid_offset":[0, -0.25], | ||
"solid_height_scale": 0.5, | ||
"solid_width_scale": 1, | ||
"offset": [ | ||
0.5, | ||
0.5 | ||
] | ||
}, | ||
"activator": { | ||
"body_shape" : [-0.03125, 0.2, 0.96875, 0.2, 0.66875, 0.3, 0.26875, 0.3], | ||
"sensor_shape" : [-0.03125, 0.2, 0.96875, 0.2, 0.96875, 0.6, -0.03125, 0.6], | ||
"friction" : 0.4, | ||
"offset": [0.03125, -0.2], | ||
"activators": [ | ||
{"pos": [4, 2], "type": "button","id" : "button1"}, | ||
{"pos": [13, 5], "type": "switch","id" : "button2"} | ||
] | ||
|
||
}, | ||
"box": { | ||
"friction" : 0.9, | ||
"mass" : 200, | ||
"boxes" : [ | ||
{"pos" : [7.5, 4]} | ||
] | ||
}, | ||
"flamethrower": { | ||
"flamethrowers" : [ | ||
{"pos" : [24, 3.8], "angle" : 0} | ||
] | ||
}, | ||
"laser": { | ||
"lasers" : [ | ||
{"pos" : [20, 12.5]} | ||
] | ||
}, | ||
"walls": [ | ||
// [0.0, 2.0, 0.0, 5.0, -1.0, 3.5], //invisible entrance wall | ||
[32.0, 18.0, 32.0, 17.0, 2.0, 17.0, //top-left | ||
2.0, 7.0, 0.0, 7.0, 0.0, 18.0], | ||
[30.0, 2.0, 32.0, 2.0, 32.0, 13.0, 30.0, 13.0] //right | ||
[32.0, 13.0, 33.0, 13.0, 33.0, 17.0, 32.0, 17.0]//invisible exit wall (don't want to loop this time around) | ||
], | ||
"platforms": [ | ||
|
||
[-2.5, 2.0, 10.0, 2.0, 10.0, 1.0, 18.0, 1.0, | ||
18.0, 2.0, 32.0, 2.0, 32.0, 0.0, -2.5, 0.0], //main platform | ||
[18.0, 13.0, 20.0, 13.0, 20.0, 12.0, 28.0, 12.0, | ||
28.0, 13.0, 30.0, 13.0, 30.0, 11.0, 18.0, 11.0] //top spike platform | ||
[17.0, 3.5, 20.0, 3.5, 20.0, 4.0, 17.0, 4.0], //first | ||
[13.0, 5.0, 15.0, 5.0, 15.0, 4.5, 13.0, 4.5], //second | ||
[14.0, 8.0, 16.0, 8.0, 16.0, 7.5, 14.0, 7.5], //third | ||
[16.0, 10.0, 18.0, 10.0, 18.0, 9.5, 16.0, 9.5] //fourth | ||
// [ 1.0, 3.0, 6.0, 3.0, 6.0, 2.5, 1.0, 2.5], | ||
// [ 6.0, 4.0, 9.0, 4.0, 9.0, 2.5, 6.0, 2.5], | ||
// [23.0, 4.0,31.0, 4.0,31.0, 2.5,23.0, 2.5], | ||
// [26.0, 5.5,28.0, 5.5,28.0, 5.0,26.0, 5.0], | ||
// [29.0, 7.0,31.0, 7.0,31.0, 6.5,29.0, 6.5], | ||
// [24.0, 8.5,27.0, 8.5,27.0, 8.0,24.0, 8.0], | ||
// [29.0,10.0,31.0,10.0,31.0, 9.5,29.0, 9.5], | ||
// [23.0,11.5,27.0,11.5,27.0,11.0,23.0,11.0], | ||
// [19.0,12.5,23.0,12.5,23.0,12.0,19.0,12.0], | ||
// [ 1.0,12.5, 7.0,12.5, 7.0,12.0, 1.0,12.0] | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.