diff --git a/thpj3/objects/obj_option_shot/obj_option_shot.yy b/thpj3/objects/obj_option_shot/obj_option_shot.yy new file mode 100644 index 0000000..e01c85a --- /dev/null +++ b/thpj3/objects/obj_option_shot/obj_option_shot.yy @@ -0,0 +1,37 @@ +{ + "spriteId": { + "name": "spr_option_shot", + "path": "sprites/spr_option_shot/spr_option_shot.yy", + }, + "solid": false, + "visible": true, + "spriteMaskId": null, + "persistent": false, + "parentObjectId": { + "name": "obj_player_shot", + "path": "objects/obj_player_shot/obj_player_shot.yy", + }, + "physicsObject": false, + "physicsSensor": false, + "physicsShape": 1, + "physicsGroup": 1, + "physicsDensity": 0.5, + "physicsRestitution": 0.1, + "physicsLinearDamping": 0.1, + "physicsAngularDamping": 0.1, + "physicsFriction": 0.2, + "physicsStartAwake": true, + "physicsKinematic": false, + "physicsShapePoints": [], + "eventList": [], + "properties": [], + "overriddenProperties": [], + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "obj_option_shot", + "tags": [], + "resourceType": "GMObject", +} \ No newline at end of file diff --git a/thpj3/objects/obj_option_shot/obj_player_shot.yy b/thpj3/objects/obj_option_shot/obj_player_shot.yy new file mode 100644 index 0000000..31d1fbd --- /dev/null +++ b/thpj3/objects/obj_option_shot/obj_player_shot.yy @@ -0,0 +1,34 @@ +{ + "spriteId": { + "name": "spr_player_shot", + "path": "sprites/spr_player_shot/spr_player_shot.yy", + }, + "solid": false, + "visible": true, + "spriteMaskId": null, + "persistent": false, + "parentObjectId": null, + "physicsObject": false, + "physicsSensor": false, + "physicsShape": 1, + "physicsGroup": 1, + "physicsDensity": 0.5, + "physicsRestitution": 0.1, + "physicsLinearDamping": 0.1, + "physicsAngularDamping": 0.1, + "physicsFriction": 0.2, + "physicsStartAwake": true, + "physicsKinematic": false, + "physicsShapePoints": [], + "eventList": [], + "properties": [], + "overriddenProperties": [], + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "obj_player_shot", + "tags": [], + "resourceType": "GMObject", +} \ No newline at end of file diff --git a/thpj3/objects/obj_options/Step_0.gml b/thpj3/objects/obj_options/Step_0.gml index 6409eea..4de3b25 100644 --- a/thpj3/objects/obj_options/Step_0.gml +++ b/thpj3/objects/obj_options/Step_0.gml @@ -2,7 +2,7 @@ if ( keyboard_check( vk_shift ) ) { x_target = obj_wriggle.x + ( obj_wriggle.face_dir * OPTION_FORWARD ); y_target = obj_wriggle.y + ( side_modifier * OPTION_SIDE_FOCUS ); } else { - x_target = obj_wriggle.x; + x_target = obj_wriggle.x + ( obj_wriggle.face_dir * OPTION_FORWARD * .75 ); y_target = obj_wriggle.y + ( side_modifier * OPTION_SIDE_UNFOC ); } diff --git a/thpj3/objects/obj_player_shot/Step_0.gml b/thpj3/objects/obj_player_shot/Step_0.gml new file mode 100644 index 0000000..3cce568 --- /dev/null +++ b/thpj3/objects/obj_player_shot/Step_0.gml @@ -0,0 +1,3 @@ +if ( x > BOUNDARY_RIGHT + 128 || x < BOUNDARY_LEFT - 128 || y > BOUNDARY_BOTTOM + 128 || y < BOUNDARY_TOP - 128 ) { + instance_destroy(); +} \ No newline at end of file diff --git a/thpj3/objects/obj_player_shot/obj_player_shot.yy b/thpj3/objects/obj_player_shot/obj_player_shot.yy new file mode 100644 index 0000000..8998c00 --- /dev/null +++ b/thpj3/objects/obj_player_shot/obj_player_shot.yy @@ -0,0 +1,36 @@ +{ + "spriteId": { + "name": "spr_player_shot", + "path": "sprites/spr_player_shot/spr_player_shot.yy", + }, + "solid": false, + "visible": true, + "spriteMaskId": null, + "persistent": false, + "parentObjectId": null, + "physicsObject": false, + "physicsSensor": false, + "physicsShape": 1, + "physicsGroup": 1, + "physicsDensity": 0.5, + "physicsRestitution": 0.1, + "physicsLinearDamping": 0.1, + "physicsAngularDamping": 0.1, + "physicsFriction": 0.2, + "physicsStartAwake": true, + "physicsKinematic": false, + "physicsShapePoints": [], + "eventList": [ + {"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + ], + "properties": [], + "overriddenProperties": [], + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "obj_player_shot", + "tags": [], + "resourceType": "GMObject", +} \ No newline at end of file diff --git a/thpj3/objects/obj_wriggle/Create_0.gml b/thpj3/objects/obj_wriggle/Create_0.gml index 00c4ed8..c18a8c5 100644 --- a/thpj3/objects/obj_wriggle/Create_0.gml +++ b/thpj3/objects/obj_wriggle/Create_0.gml @@ -13,13 +13,14 @@ hyper_time = 0; hyper_tier = 0; h_move = 0; v_move = 0; +shoot_delay = 0; -var top_option = instance_create_layer(x,y,"Instances", obj_options); +top_option = instance_create_layer(x,y,"Instances", obj_options); with (top_option) { side_modifier = TOP; } -var bottom_option = instance_create_layer(x,y,"Instances", obj_options); +bottom_option = instance_create_layer(x,y,"Instances", obj_options); with (bottom_option) { side_modifier = BOTTOM; } \ No newline at end of file diff --git a/thpj3/objects/obj_wriggle/Step_0.gml b/thpj3/objects/obj_wriggle/Step_0.gml index 2d9190b..e643fbd 100644 --- a/thpj3/objects/obj_wriggle/Step_0.gml +++ b/thpj3/objects/obj_wriggle/Step_0.gml @@ -4,6 +4,7 @@ invuln--; recovery--; emergency--; hyper_time--; +shoot_delay--; h_move = 0; v_move = 0; @@ -107,6 +108,42 @@ if ( !emergency && !recovery ) { face_dir = RIGHT; } if ( input_shot_left || input_shot_right ) { -//TODO: shoot in facing direction + if ( shoot_delay <= 0 ) { + shoot_delay = SHOT_DELAY; + var shooty = instance_create_layer( x + (face_dir * 10), y + (TOP * 10), "Instances", obj_player_shot); + with (shooty) { + face_dir = other.face_dir; + damage = SHOT_PLAYER_DAMAGE; + speed = SHOT_PLAYER_SPEED; + direction = 270 + (90 * face_dir); + image_angle = direction; + } + var shooty = instance_create_layer( x + (face_dir * 10), y + (BOTTOM * 10), "Instances", obj_player_shot); + with (shooty) { + face_dir = other.face_dir; + damage = SHOT_PLAYER_DAMAGE; + speed = SHOT_PLAYER_SPEED; + direction = 270 + (90 * face_dir); + image_angle = direction; + } + for (var i = 0; i < 40; i += 10) { + var shotia = instance_create_layer( top_option.x, top_option.y, "Instances", obj_option_shot); + with (shotia) { + face_dir = other.face_dir; + damage = SHOT_OPTION_DAMAGE; + speed = SHOT_OPTION_SPEED; + direction = point_direction( other.x, other.y, other.top_option.x, other.top_option.y ) - (i * face_dir); + image_angle = direction; + } + var shotia = instance_create_layer( bottom_option.x, bottom_option.y, "Instances", obj_option_shot); + with (shotia) { + face_dir = other.face_dir; + damage = SHOT_OPTION_DAMAGE; + speed = SHOT_OPTION_SPEED; + direction = point_direction( other.x, other.y, other.bottom_option.x, other.bottom_option.y ) + (i * face_dir); + image_angle = direction; + } + } + } } } \ No newline at end of file diff --git a/thpj3/scripts/scr_initialize/scr_initialize.gml b/thpj3/scripts/scr_initialize/scr_initialize.gml index efa3704..f7e8fea 100644 --- a/thpj3/scripts/scr_initialize/scr_initialize.gml +++ b/thpj3/scripts/scr_initialize/scr_initialize.gml @@ -13,6 +13,10 @@ #macro LEFT_ACTOR 0 #macro RIGHT_ACTOR 1 +#macro BOUNDARY_LEFT 32 +#macro BOUNDARY_RIGHT 1248 +#macro BOUNDARY_TOP 32 +#macro BOUNDARY_BOTTOM 688 #macro LEFT -1 #macro RIGHT 1 @@ -34,16 +38,15 @@ #macro HYPER_TIER_2 2 #macro HYPER_TIER_3 3 -#macro BOUNDARY_LEFT 32 -#macro BOUNDARY_RIGHT 1248 -#macro BOUNDARY_TOP 32 -#macro BOUNDARY_BOTTOM 688 - #macro OPTION_FORWARD 100 #macro OPTION_SIDE_UNFOC 100 #macro OPTION_SIDE_FOCUS 20 - +#macro SHOT_DELAY 3 +#macro SHOT_PLAYER_DAMAGE 5 +#macro SHOT_PLAYER_SPEED 20 +#macro SHOT_OPTION_DAMAGE 1 +#macro SHOT_OPTION_SPEED 20 function scr_initialize() { randomize(); diff --git a/thpj3/sprites/spr_option_shot/1f9b7adb-aef9-40aa-852f-e77cb1201a46.png b/thpj3/sprites/spr_option_shot/1f9b7adb-aef9-40aa-852f-e77cb1201a46.png new file mode 100644 index 0000000..f7005ba Binary files /dev/null and b/thpj3/sprites/spr_option_shot/1f9b7adb-aef9-40aa-852f-e77cb1201a46.png differ diff --git a/thpj3/sprites/spr_option_shot/layers/1f9b7adb-aef9-40aa-852f-e77cb1201a46/37edec12-b46c-4996-a941-c44e3aefd992.png b/thpj3/sprites/spr_option_shot/layers/1f9b7adb-aef9-40aa-852f-e77cb1201a46/37edec12-b46c-4996-a941-c44e3aefd992.png new file mode 100644 index 0000000..f7005ba Binary files /dev/null and b/thpj3/sprites/spr_option_shot/layers/1f9b7adb-aef9-40aa-852f-e77cb1201a46/37edec12-b46c-4996-a941-c44e3aefd992.png differ diff --git a/thpj3/sprites/spr_option_shot/spr_option_shot.yy b/thpj3/sprites/spr_option_shot/spr_option_shot.yy new file mode 100644 index 0000000..7559b6d --- /dev/null +++ b/thpj3/sprites/spr_option_shot/spr_option_shot.yy @@ -0,0 +1,79 @@ +{ + "bboxMode": 0, + "collisionKind": 1, + "type": 0, + "origin": 4, + "preMultiplyAlpha": false, + "edgeFiltering": false, + "collisionTolerance": 0, + "swfPrecision": 2.525, + "bbox_left": 8, + "bbox_right": 31, + "bbox_top": 7, + "bbox_bottom": 24, + "HTile": false, + "VTile": false, + "For3D": false, + "width": 32, + "height": 32, + "textureGroupId": { + "name": "Default", + "path": "texturegroups/Default", + }, + "swatchColours": null, + "gridX": 0, + "gridY": 0, + "frames": [ + {"compositeImage":{"FrameId":{"name":"1f9b7adb-aef9-40aa-852f-e77cb1201a46","path":"sprites/spr_option_shot/spr_option_shot.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[ + {"FrameId":{"name":"1f9b7adb-aef9-40aa-852f-e77cb1201a46","path":"sprites/spr_option_shot/spr_option_shot.yy",},"LayerId":{"name":"37edec12-b46c-4996-a941-c44e3aefd992","path":"sprites/spr_option_shot/spr_option_shot.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",}, + ],"parent":{"name":"spr_option_shot","path":"sprites/spr_option_shot/spr_option_shot.yy",},"resourceVersion":"1.0","name":"1f9b7adb-aef9-40aa-852f-e77cb1201a46","tags":[],"resourceType":"GMSpriteFrame",}, + ], + "sequence": { + "spriteId": {"name":"spr_option_shot","path":"sprites/spr_option_shot/spr_option_shot.yy",}, + "timeUnits": 1, + "playback": 1, + "playbackSpeed": 30.0, + "playbackSpeedType": 0, + "autoRecord": true, + "volume": 1.0, + "length": 1.0, + "events": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "tracks": [ + {"name":"frames","spriteId":null,"keyframes":{"Keyframes":[ + {"id":"c6454a01-c016-4629-829f-641bb2627805","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"1f9b7adb-aef9-40aa-852f-e77cb1201a46","path":"sprites/spr_option_shot/spr_option_shot.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe",}, + ],"resourceVersion":"1.0","resourceType":"KeyframeStore",},"trackColour":0,"inheritsTrackColour":true,"builtinName":0,"traits":0,"interpolation":1,"tracks":[],"events":[],"modifiers":[],"isCreationTrack":false,"resourceVersion":"1.0","tags":[],"resourceType":"GMSpriteFramesTrack",}, + ], + "visibleRange": null, + "lockOrigin": false, + "showBackdrop": true, + "showBackdropImage": false, + "backdropImagePath": "", + "backdropImageOpacity": 0.5, + "backdropWidth": 1366, + "backdropHeight": 768, + "backdropXOffset": 0.0, + "backdropYOffset": 0.0, + "xorigin": 16, + "yorigin": 16, + "eventToFunction": {}, + "eventStubScript": null, + "parent": {"name":"spr_option_shot","path":"sprites/spr_option_shot/spr_option_shot.yy",}, + "resourceVersion": "1.3", + "name": "spr_option_shot", + "tags": [], + "resourceType": "GMSequence", + }, + "layers": [ + {"visible":true,"isLocked":false,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"37edec12-b46c-4996-a941-c44e3aefd992","tags":[],"resourceType":"GMImageLayer",}, + ], + "nineSlice": null, + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "spr_option_shot", + "tags": [], + "resourceType": "GMSprite", +} \ No newline at end of file diff --git a/thpj3/sprites/spr_player_shot/0db8d50d-5b50-4e61-95c9-9c4a7775f05d.png b/thpj3/sprites/spr_player_shot/0db8d50d-5b50-4e61-95c9-9c4a7775f05d.png new file mode 100644 index 0000000..da11271 Binary files /dev/null and b/thpj3/sprites/spr_player_shot/0db8d50d-5b50-4e61-95c9-9c4a7775f05d.png differ diff --git a/thpj3/sprites/spr_player_shot/layers/0db8d50d-5b50-4e61-95c9-9c4a7775f05d/74e04539-a659-429b-8758-3c93a2085793.png b/thpj3/sprites/spr_player_shot/layers/0db8d50d-5b50-4e61-95c9-9c4a7775f05d/74e04539-a659-429b-8758-3c93a2085793.png new file mode 100644 index 0000000..da11271 Binary files /dev/null and b/thpj3/sprites/spr_player_shot/layers/0db8d50d-5b50-4e61-95c9-9c4a7775f05d/74e04539-a659-429b-8758-3c93a2085793.png differ diff --git a/thpj3/sprites/spr_player_shot/spr_player_shot.yy b/thpj3/sprites/spr_player_shot/spr_player_shot.yy new file mode 100644 index 0000000..874e43e --- /dev/null +++ b/thpj3/sprites/spr_player_shot/spr_player_shot.yy @@ -0,0 +1,79 @@ +{ + "bboxMode": 0, + "collisionKind": 1, + "type": 0, + "origin": 4, + "preMultiplyAlpha": false, + "edgeFiltering": false, + "collisionTolerance": 0, + "swfPrecision": 2.525, + "bbox_left": 10, + "bbox_right": 56, + "bbox_top": 3, + "bbox_bottom": 60, + "HTile": false, + "VTile": false, + "For3D": false, + "width": 64, + "height": 64, + "textureGroupId": { + "name": "Default", + "path": "texturegroups/Default", + }, + "swatchColours": null, + "gridX": 0, + "gridY": 0, + "frames": [ + {"compositeImage":{"FrameId":{"name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","path":"sprites/spr_player_shot/spr_player_shot.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[ + {"FrameId":{"name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","path":"sprites/spr_player_shot/spr_player_shot.yy",},"LayerId":{"name":"74e04539-a659-429b-8758-3c93a2085793","path":"sprites/spr_player_shot/spr_player_shot.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",}, + ],"parent":{"name":"spr_player_shot","path":"sprites/spr_player_shot/spr_player_shot.yy",},"resourceVersion":"1.0","name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","tags":[],"resourceType":"GMSpriteFrame",}, + ], + "sequence": { + "spriteId": {"name":"spr_player_shot","path":"sprites/spr_player_shot/spr_player_shot.yy",}, + "timeUnits": 1, + "playback": 1, + "playbackSpeed": 30.0, + "playbackSpeedType": 0, + "autoRecord": true, + "volume": 1.0, + "length": 1.0, + "events": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "tracks": [ + {"name":"frames","spriteId":null,"keyframes":{"Keyframes":[ + {"id":"a2f61cfa-22d9-465b-9a36-216d431782ac","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","path":"sprites/spr_player_shot/spr_player_shot.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe",}, + ],"resourceVersion":"1.0","resourceType":"KeyframeStore",},"trackColour":0,"inheritsTrackColour":true,"builtinName":0,"traits":0,"interpolation":1,"tracks":[],"events":[],"modifiers":[],"isCreationTrack":false,"resourceVersion":"1.0","tags":[],"resourceType":"GMSpriteFramesTrack",}, + ], + "visibleRange": null, + "lockOrigin": false, + "showBackdrop": true, + "showBackdropImage": false, + "backdropImagePath": "", + "backdropImageOpacity": 0.5, + "backdropWidth": 1366, + "backdropHeight": 768, + "backdropXOffset": 0.0, + "backdropYOffset": 0.0, + "xorigin": 32, + "yorigin": 32, + "eventToFunction": {}, + "eventStubScript": null, + "parent": {"name":"spr_player_shot","path":"sprites/spr_player_shot/spr_player_shot.yy",}, + "resourceVersion": "1.3", + "name": "spr_player_shot", + "tags": [], + "resourceType": "GMSequence", + }, + "layers": [ + {"visible":true,"isLocked":false,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"74e04539-a659-429b-8758-3c93a2085793","tags":[],"resourceType":"GMImageLayer",}, + ], + "nineSlice": null, + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "spr_player_shot", + "tags": [], + "resourceType": "GMSprite", +} \ No newline at end of file diff --git a/thpj3/sprites/spr_player_shot12/0db8d50d-5b50-4e61-95c9-9c4a7775f05d.png b/thpj3/sprites/spr_player_shot12/0db8d50d-5b50-4e61-95c9-9c4a7775f05d.png new file mode 100644 index 0000000..da11271 Binary files /dev/null and b/thpj3/sprites/spr_player_shot12/0db8d50d-5b50-4e61-95c9-9c4a7775f05d.png differ diff --git a/thpj3/sprites/spr_player_shot12/layers/0db8d50d-5b50-4e61-95c9-9c4a7775f05d/74e04539-a659-429b-8758-3c93a2085793.png b/thpj3/sprites/spr_player_shot12/layers/0db8d50d-5b50-4e61-95c9-9c4a7775f05d/74e04539-a659-429b-8758-3c93a2085793.png new file mode 100644 index 0000000..da11271 Binary files /dev/null and b/thpj3/sprites/spr_player_shot12/layers/0db8d50d-5b50-4e61-95c9-9c4a7775f05d/74e04539-a659-429b-8758-3c93a2085793.png differ diff --git a/thpj3/sprites/spr_player_shot12/spr_player_shot.yy b/thpj3/sprites/spr_player_shot12/spr_player_shot.yy new file mode 100644 index 0000000..874e43e --- /dev/null +++ b/thpj3/sprites/spr_player_shot12/spr_player_shot.yy @@ -0,0 +1,79 @@ +{ + "bboxMode": 0, + "collisionKind": 1, + "type": 0, + "origin": 4, + "preMultiplyAlpha": false, + "edgeFiltering": false, + "collisionTolerance": 0, + "swfPrecision": 2.525, + "bbox_left": 10, + "bbox_right": 56, + "bbox_top": 3, + "bbox_bottom": 60, + "HTile": false, + "VTile": false, + "For3D": false, + "width": 64, + "height": 64, + "textureGroupId": { + "name": "Default", + "path": "texturegroups/Default", + }, + "swatchColours": null, + "gridX": 0, + "gridY": 0, + "frames": [ + {"compositeImage":{"FrameId":{"name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","path":"sprites/spr_player_shot/spr_player_shot.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[ + {"FrameId":{"name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","path":"sprites/spr_player_shot/spr_player_shot.yy",},"LayerId":{"name":"74e04539-a659-429b-8758-3c93a2085793","path":"sprites/spr_player_shot/spr_player_shot.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",}, + ],"parent":{"name":"spr_player_shot","path":"sprites/spr_player_shot/spr_player_shot.yy",},"resourceVersion":"1.0","name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","tags":[],"resourceType":"GMSpriteFrame",}, + ], + "sequence": { + "spriteId": {"name":"spr_player_shot","path":"sprites/spr_player_shot/spr_player_shot.yy",}, + "timeUnits": 1, + "playback": 1, + "playbackSpeed": 30.0, + "playbackSpeedType": 0, + "autoRecord": true, + "volume": 1.0, + "length": 1.0, + "events": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "tracks": [ + {"name":"frames","spriteId":null,"keyframes":{"Keyframes":[ + {"id":"a2f61cfa-22d9-465b-9a36-216d431782ac","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","path":"sprites/spr_player_shot/spr_player_shot.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe",}, + ],"resourceVersion":"1.0","resourceType":"KeyframeStore",},"trackColour":0,"inheritsTrackColour":true,"builtinName":0,"traits":0,"interpolation":1,"tracks":[],"events":[],"modifiers":[],"isCreationTrack":false,"resourceVersion":"1.0","tags":[],"resourceType":"GMSpriteFramesTrack",}, + ], + "visibleRange": null, + "lockOrigin": false, + "showBackdrop": true, + "showBackdropImage": false, + "backdropImagePath": "", + "backdropImageOpacity": 0.5, + "backdropWidth": 1366, + "backdropHeight": 768, + "backdropXOffset": 0.0, + "backdropYOffset": 0.0, + "xorigin": 32, + "yorigin": 32, + "eventToFunction": {}, + "eventStubScript": null, + "parent": {"name":"spr_player_shot","path":"sprites/spr_player_shot/spr_player_shot.yy",}, + "resourceVersion": "1.3", + "name": "spr_player_shot", + "tags": [], + "resourceType": "GMSequence", + }, + "layers": [ + {"visible":true,"isLocked":false,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"74e04539-a659-429b-8758-3c93a2085793","tags":[],"resourceType":"GMImageLayer",}, + ], + "nineSlice": null, + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "spr_player_shot", + "tags": [], + "resourceType": "GMSprite", +} \ No newline at end of file diff --git a/thpj3/sprites/spr_player_shot12/spr_player_shot12.yy b/thpj3/sprites/spr_player_shot12/spr_player_shot12.yy new file mode 100644 index 0000000..af71749 --- /dev/null +++ b/thpj3/sprites/spr_player_shot12/spr_player_shot12.yy @@ -0,0 +1,79 @@ +{ + "bboxMode": 0, + "collisionKind": 1, + "type": 0, + "origin": 4, + "preMultiplyAlpha": false, + "edgeFiltering": false, + "collisionTolerance": 0, + "swfPrecision": 2.525, + "bbox_left": 10, + "bbox_right": 56, + "bbox_top": 3, + "bbox_bottom": 60, + "HTile": false, + "VTile": false, + "For3D": false, + "width": 64, + "height": 64, + "textureGroupId": { + "name": "Default", + "path": "texturegroups/Default", + }, + "swatchColours": null, + "gridX": 0, + "gridY": 0, + "frames": [ + {"compositeImage":{"FrameId":{"name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","path":"sprites/spr_player_shot12/spr_player_shot12.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[ + {"FrameId":{"name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","path":"sprites/spr_player_shot12/spr_player_shot12.yy",},"LayerId":{"name":"74e04539-a659-429b-8758-3c93a2085793","path":"sprites/spr_player_shot12/spr_player_shot12.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",}, + ],"parent":{"name":"spr_player_shot12","path":"sprites/spr_player_shot12/spr_player_shot12.yy",},"resourceVersion":"1.0","name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","tags":[],"resourceType":"GMSpriteFrame",}, + ], + "sequence": { + "spriteId": {"name":"spr_player_shot12","path":"sprites/spr_player_shot12/spr_player_shot12.yy",}, + "timeUnits": 1, + "playback": 1, + "playbackSpeed": 30.0, + "playbackSpeedType": 0, + "autoRecord": true, + "volume": 1.0, + "length": 1.0, + "events": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "tracks": [ + {"name":"frames","spriteId":null,"keyframes":{"Keyframes":[ + {"id":"2a4d77bf-e2bf-4473-a8ac-5af0ae7f432a","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"0db8d50d-5b50-4e61-95c9-9c4a7775f05d","path":"sprites/spr_player_shot12/spr_player_shot12.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe",}, + ],"resourceVersion":"1.0","resourceType":"KeyframeStore",},"trackColour":0,"inheritsTrackColour":true,"builtinName":0,"traits":0,"interpolation":1,"tracks":[],"events":[],"modifiers":[],"isCreationTrack":false,"resourceVersion":"1.0","tags":[],"resourceType":"GMSpriteFramesTrack",}, + ], + "visibleRange": null, + "lockOrigin": false, + "showBackdrop": true, + "showBackdropImage": false, + "backdropImagePath": "", + "backdropImageOpacity": 0.5, + "backdropWidth": 1366, + "backdropHeight": 768, + "backdropXOffset": 0.0, + "backdropYOffset": 0.0, + "xorigin": 32, + "yorigin": 32, + "eventToFunction": {}, + "eventStubScript": null, + "parent": {"name":"spr_player_shot12","path":"sprites/spr_player_shot12/spr_player_shot12.yy",}, + "resourceVersion": "1.3", + "name": "spr_player_shot", + "tags": [], + "resourceType": "GMSequence", + }, + "layers": [ + {"visible":true,"isLocked":false,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"74e04539-a659-429b-8758-3c93a2085793","tags":[],"resourceType":"GMImageLayer",}, + ], + "nineSlice": null, + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "spr_player_shot12", + "tags": [], + "resourceType": "GMSprite", +} \ No newline at end of file diff --git a/thpj3/thpj3.yyp b/thpj3/thpj3.yyp index 517e247..0706f36 100644 --- a/thpj3/thpj3.yyp +++ b/thpj3/thpj3.yyp @@ -3,9 +3,11 @@ {"id":{"name":"fn_disclaimer","path":"fonts/fn_disclaimer/fn_disclaimer.yy",},"order":1,}, {"id":{"name":"fn_title_text","path":"fonts/fn_title_text/fn_title_text.yy",},"order":0,}, {"id":{"name":"obj_options","path":"objects/obj_options/obj_options.yy",},"order":15,}, + {"id":{"name":"spr_player_shot","path":"sprites/spr_player_shot/spr_player_shot.yy",},"order":18,}, {"id":{"name":"obj_disclaimer","path":"objects/obj_disclaimer/obj_disclaimer.yy",},"order":2,}, {"id":{"name":"spr_wriggle_hitbox","path":"sprites/spr_wriggle_hitbox/spr_wriggle_hitbox.yy",},"order":9,}, {"id":{"name":"obj_title_moon","path":"objects/obj_title_moon/obj_title_moon.yy",},"order":1,}, + {"id":{"name":"obj_option_shot","path":"objects/obj_option_shot/obj_option_shot.yy",},"order":21,}, {"id":{"name":"spr_title_star","path":"sprites/spr_title_star/spr_title_star.yy",},"order":7,}, {"id":{"name":"scr_dialogue_start","path":"scripts/scr_dialogue_start/scr_dialogue_start.yy",},"order":10,}, {"id":{"name":"rm_disclaimer","path":"rooms/rm_disclaimer/rm_disclaimer.yy",},"order":3,}, @@ -14,9 +16,12 @@ {"id":{"name":"obj_wriggle","path":"objects/obj_wriggle/obj_wriggle.yy",},"order":11,}, {"id":{"name":"spr_title_bg","path":"sprites/spr_title_bg/spr_title_bg.yy",},"order":5,}, {"id":{"name":"spr_wriggle","path":"sprites/spr_wriggle/spr_wriggle.yy",},"order":14,}, + {"id":{"name":"obj_player_shot","path":"objects/obj_player_shot/obj_player_shot.yy",},"order":17,}, + {"id":{"name":"spr_option_shot","path":"sprites/spr_option_shot/spr_option_shot.yy",},"order":19,}, {"id":{"name":"Room3","path":"rooms/Room3/Room3.yy",},"order":6,}, {"id":{"name":"spr_title_title","path":"sprites/spr_title_title/spr_title_title.yy",},"order":8,}, {"id":{"name":"scr_initialize","path":"scripts/scr_initialize/scr_initialize.yy",},"order":12,}, + {"id":{"name":"spr_player_shot12","path":"sprites/spr_player_shot12/spr_player_shot12.yy",},"order":20,}, {"id":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"order":1,}, {"id":{"name":"fn_contact","path":"fonts/fn_contact/fn_contact.yy",},"order":0,}, {"id":{"name":"spr_title_moon","path":"sprites/spr_title_moon/spr_title_moon.yy",},"order":6,},