From fbed697b6853b83d378dab43159264909223c2a9 Mon Sep 17 00:00:00 2001 From: magicalfeyfenny Date: Tue, 8 Jun 2021 01:27:44 -0400 Subject: [PATCH] added bullet class and patterns script --- .../obj_bullet_test/obj_bullet_test.yy | 37 ++++++++ .../Collision_obj_player_shot.gml | 5 + .../Collision_obj_wriggle.gml | 6 ++ .../obj_enemy_bullet_parent/Create_0.gml | 1 + .../obj_enemy_bullet_parent/Step_0.gml | 20 ++++ .../obj_enemy_bullet_parent.yy | 35 +++++++ .../obj_enemy_parent.yy | 36 ++++++++ thpj3/objects/obj_enemy_parent/Create_0.gml | 3 +- thpj3/objects/obj_enemy_parent/Step_0.gml | 8 ++ thpj3/objects/obj_enemy_test/Create_0.gml | 4 + thpj3/objects/obj_enemy_test/Step_0.gml | 9 ++ .../objects/obj_enemy_test/obj_enemy_test.yy | 5 +- thpj3/objects/obj_wriggle/Step_0.gml | 2 + .../scripts/scr_initialize/scr_initialize.gml | 2 + .../scr_pattern_fire/scr_pattern_fire.gml | 19 ++++ .../scr_pattern_fire/scr_pattern_fire.yy | 12 +++ .../078aef8f-8e85-4de4-8c81-bff953e5b65b.png | Bin 0 -> 192 bytes .../0bd3ae89-2550-41c8-8380-366520a6149c.png | Bin 0 -> 190 bytes .../c4bca663-234e-40d7-bea4-ab550fc0a58d.png | Bin 0 -> 193 bytes .../122e66f5-b202-4588-9dcf-7cb4d06adf29.png | Bin 0 -> 192 bytes .../122e66f5-b202-4588-9dcf-7cb4d06adf29.png | Bin 0 -> 190 bytes .../122e66f5-b202-4588-9dcf-7cb4d06adf29.png | Bin 0 -> 193 bytes .../spr_bullet_test/spr_bullet_test.yy | 87 ++++++++++++++++++ thpj3/thpj3.yyp | 4 + 24 files changed, 293 insertions(+), 2 deletions(-) create mode 100644 thpj3/objects/obj_bullet_test/obj_bullet_test.yy create mode 100644 thpj3/objects/obj_enemy_bullet_parent/Collision_obj_player_shot.gml create mode 100644 thpj3/objects/obj_enemy_bullet_parent/Collision_obj_wriggle.gml create mode 100644 thpj3/objects/obj_enemy_bullet_parent/Create_0.gml create mode 100644 thpj3/objects/obj_enemy_bullet_parent/Step_0.gml create mode 100644 thpj3/objects/obj_enemy_bullet_parent/obj_enemy_bullet_parent.yy create mode 100644 thpj3/objects/obj_enemy_bullet_parent/obj_enemy_parent.yy create mode 100644 thpj3/objects/obj_enemy_test/Create_0.gml create mode 100644 thpj3/objects/obj_enemy_test/Step_0.gml create mode 100644 thpj3/scripts/scr_pattern_fire/scr_pattern_fire.gml create mode 100644 thpj3/scripts/scr_pattern_fire/scr_pattern_fire.yy create mode 100644 thpj3/sprites/spr_bullet_test/078aef8f-8e85-4de4-8c81-bff953e5b65b.png create mode 100644 thpj3/sprites/spr_bullet_test/0bd3ae89-2550-41c8-8380-366520a6149c.png create mode 100644 thpj3/sprites/spr_bullet_test/c4bca663-234e-40d7-bea4-ab550fc0a58d.png create mode 100644 thpj3/sprites/spr_bullet_test/layers/078aef8f-8e85-4de4-8c81-bff953e5b65b/122e66f5-b202-4588-9dcf-7cb4d06adf29.png create mode 100644 thpj3/sprites/spr_bullet_test/layers/0bd3ae89-2550-41c8-8380-366520a6149c/122e66f5-b202-4588-9dcf-7cb4d06adf29.png create mode 100644 thpj3/sprites/spr_bullet_test/layers/c4bca663-234e-40d7-bea4-ab550fc0a58d/122e66f5-b202-4588-9dcf-7cb4d06adf29.png create mode 100644 thpj3/sprites/spr_bullet_test/spr_bullet_test.yy diff --git a/thpj3/objects/obj_bullet_test/obj_bullet_test.yy b/thpj3/objects/obj_bullet_test/obj_bullet_test.yy new file mode 100644 index 0000000..8214ea8 --- /dev/null +++ b/thpj3/objects/obj_bullet_test/obj_bullet_test.yy @@ -0,0 +1,37 @@ +{ + "spriteId": { + "name": "spr_bullet_test", + "path": "sprites/spr_bullet_test/spr_bullet_test.yy", + }, + "solid": false, + "visible": true, + "spriteMaskId": null, + "persistent": false, + "parentObjectId": { + "name": "obj_enemy_bullet_parent", + "path": "objects/obj_enemy_bullet_parent/obj_enemy_bullet_parent.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_bullet_test", + "tags": [], + "resourceType": "GMObject", +} \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_bullet_parent/Collision_obj_player_shot.gml b/thpj3/objects/obj_enemy_bullet_parent/Collision_obj_player_shot.gml new file mode 100644 index 0000000..083a6fa --- /dev/null +++ b/thpj3/objects/obj_enemy_bullet_parent/Collision_obj_player_shot.gml @@ -0,0 +1,5 @@ +hp -= other.damage; + +with (other) { + instance_destroy(); +} \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_bullet_parent/Collision_obj_wriggle.gml b/thpj3/objects/obj_enemy_bullet_parent/Collision_obj_wriggle.gml new file mode 100644 index 0000000..3c2bb0b --- /dev/null +++ b/thpj3/objects/obj_enemy_bullet_parent/Collision_obj_wriggle.gml @@ -0,0 +1,6 @@ +if (!other.invuln) { + with (other) { + emergency = 15; + } +} +instance_destroy(); \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_bullet_parent/Create_0.gml b/thpj3/objects/obj_enemy_bullet_parent/Create_0.gml new file mode 100644 index 0000000..a2b300a --- /dev/null +++ b/thpj3/objects/obj_enemy_bullet_parent/Create_0.gml @@ -0,0 +1 @@ +temp_speed = 0; \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_bullet_parent/Step_0.gml b/thpj3/objects/obj_enemy_bullet_parent/Step_0.gml new file mode 100644 index 0000000..39c1625 --- /dev/null +++ b/thpj3/objects/obj_enemy_bullet_parent/Step_0.gml @@ -0,0 +1,20 @@ +if ( obj_wriggle.bombing || obj_wriggle.respawn ) { + if ( obj_wriggle.hyper_time ) { +//TODO: create a point item if during a hyper + } + instance_destroy(); +} + +if ( obj_wriggle.emergency ) { + temp_speed = speed; + speed = 0; +} +if ( !obj_wriggle.emergency && temp_speed ) { + speed = temp_speed; + temp_speed = 0; +} + + +if ( x < BOUNDARY_LEFT - 128 || x > BOUNDARY_RIGHT + 128 || y < BOUNDARY_TOP - 128 || y > BOUNDARY_BOTTOM + 128 ) { + instance_destroy(); +} \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_bullet_parent/obj_enemy_bullet_parent.yy b/thpj3/objects/obj_enemy_bullet_parent/obj_enemy_bullet_parent.yy new file mode 100644 index 0000000..3579b60 --- /dev/null +++ b/thpj3/objects/obj_enemy_bullet_parent/obj_enemy_bullet_parent.yy @@ -0,0 +1,35 @@ +{ + "spriteId": null, + "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",}, + {"isDnD":false,"eventNum":0,"eventType":4,"collisionObjectId":{"name":"obj_wriggle","path":"objects/obj_wriggle/obj_wriggle.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + ], + "properties": [], + "overriddenProperties": [], + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "obj_enemy_bullet_parent", + "tags": [], + "resourceType": "GMObject", +} \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_bullet_parent/obj_enemy_parent.yy b/thpj3/objects/obj_enemy_bullet_parent/obj_enemy_parent.yy new file mode 100644 index 0000000..b96d180 --- /dev/null +++ b/thpj3/objects/obj_enemy_bullet_parent/obj_enemy_parent.yy @@ -0,0 +1,36 @@ +{ + "spriteId": null, + "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":4,"collisionObjectId":{"name":"obj_player_shot","path":"objects/obj_player_shot/obj_player_shot.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + {"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + {"isDnD":false,"eventNum":0,"eventType":4,"collisionObjectId":{"name":"obj_wriggle","path":"objects/obj_wriggle/obj_wriggle.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + ], + "properties": [], + "overriddenProperties": [], + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "obj_enemy_parent", + "tags": [], + "resourceType": "GMObject", +} \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_parent/Create_0.gml b/thpj3/objects/obj_enemy_parent/Create_0.gml index 137f114..20f1c38 100644 --- a/thpj3/objects/obj_enemy_parent/Create_0.gml +++ b/thpj3/objects/obj_enemy_parent/Create_0.gml @@ -1 +1,2 @@ -hp = 10; \ No newline at end of file +hp = 10; +temp_speed = 0; \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_parent/Step_0.gml b/thpj3/objects/obj_enemy_parent/Step_0.gml index 0440f7b..d295eb7 100644 --- a/thpj3/objects/obj_enemy_parent/Step_0.gml +++ b/thpj3/objects/obj_enemy_parent/Step_0.gml @@ -1,3 +1,11 @@ if ( hp <= 0 ) { instance_destroy(); +} +if ( obj_wriggle.emergency ) { + temp_speed = speed; + speed = 0; +} +if ( !obj_wriggle.emergency && temp_speed ) { + speed = temp_speed; + temp_speed = 0; } \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_test/Create_0.gml b/thpj3/objects/obj_enemy_test/Create_0.gml new file mode 100644 index 0000000..39ad4e7 --- /dev/null +++ b/thpj3/objects/obj_enemy_test/Create_0.gml @@ -0,0 +1,4 @@ +// Inherit the parent event +event_inherited(); + +pattern_delay = 10; \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_test/Step_0.gml b/thpj3/objects/obj_enemy_test/Step_0.gml new file mode 100644 index 0000000..ffe4734 --- /dev/null +++ b/thpj3/objects/obj_enemy_test/Step_0.gml @@ -0,0 +1,9 @@ +// Inherit the parent event +event_inherited(); + +pattern_delay -= (1 + obj_wriggle.hyper_tier); + +if ( pattern_delay <= 0 ) { + scr_pattern_fire( PATTERN_STREAM, 5, obj_bullet_test ); + pattern_delay = 10; +} \ No newline at end of file diff --git a/thpj3/objects/obj_enemy_test/obj_enemy_test.yy b/thpj3/objects/obj_enemy_test/obj_enemy_test.yy index fde9726..56d3f7e 100644 --- a/thpj3/objects/obj_enemy_test/obj_enemy_test.yy +++ b/thpj3/objects/obj_enemy_test/obj_enemy_test.yy @@ -23,7 +23,10 @@ "physicsStartAwake": true, "physicsKinematic": false, "physicsShapePoints": [], - "eventList": [], + "eventList": [ + {"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, + ], "properties": [], "overriddenProperties": [], "parent": { diff --git a/thpj3/objects/obj_wriggle/Step_0.gml b/thpj3/objects/obj_wriggle/Step_0.gml index 8b56e5d..d9d2f3d 100644 --- a/thpj3/objects/obj_wriggle/Step_0.gml +++ b/thpj3/objects/obj_wriggle/Step_0.gml @@ -33,6 +33,8 @@ if ( hyper_current > HYPER_MAX ) { } if ( emergency == 0 ) { lives_current -= 1; + bombs_current = BOMBS_INIT; + hyper_current += HYPER_COST; respawn = RESPAWN_TIMER; x = SPAWN_X; y = SPAWN_Y; diff --git a/thpj3/scripts/scr_initialize/scr_initialize.gml b/thpj3/scripts/scr_initialize/scr_initialize.gml index 0b29508..aebb32a 100644 --- a/thpj3/scripts/scr_initialize/scr_initialize.gml +++ b/thpj3/scripts/scr_initialize/scr_initialize.gml @@ -53,6 +53,8 @@ #macro SHOT_OPTION_DAMAGE 1 #macro SHOT_OPTION_SPEED 20 +#macro PATTERN_STREAM 0 + function scr_initialize() { randomize(); } \ No newline at end of file diff --git a/thpj3/scripts/scr_pattern_fire/scr_pattern_fire.gml b/thpj3/scripts/scr_pattern_fire/scr_pattern_fire.gml new file mode 100644 index 0000000..86d5779 --- /dev/null +++ b/thpj3/scripts/scr_pattern_fire/scr_pattern_fire.gml @@ -0,0 +1,19 @@ +/// @function: scr_pattern_fire( _pattern, _speed, _bullet ); +/// @param _pattern {real} +/// @param _speed {real} +/// @param _bullet {object} + + +function scr_pattern_fire( _pattern, _speed, _bullet ) { + switch ( _pattern ) { + case PATTERN_STREAM: + exy = instance_create_layer( x, y, "Instances", _bullet ); + with (exy) { + speed = _speed + obj_wriggle.hyper_tier; + direction = point_direction( x, y, obj_wriggle.x, obj_wriggle.y ); + } + break; + default: + break; + } +} \ No newline at end of file diff --git a/thpj3/scripts/scr_pattern_fire/scr_pattern_fire.yy b/thpj3/scripts/scr_pattern_fire/scr_pattern_fire.yy new file mode 100644 index 0000000..734f649 --- /dev/null +++ b/thpj3/scripts/scr_pattern_fire/scr_pattern_fire.yy @@ -0,0 +1,12 @@ +{ + "isDnD": false, + "isCompatibility": false, + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "scr_pattern_fire", + "tags": [], + "resourceType": "GMScript", +} \ No newline at end of file diff --git a/thpj3/sprites/spr_bullet_test/078aef8f-8e85-4de4-8c81-bff953e5b65b.png b/thpj3/sprites/spr_bullet_test/078aef8f-8e85-4de4-8c81-bff953e5b65b.png new file mode 100644 index 0000000000000000000000000000000000000000..35b91bce087a0517e35e6f7abd6e1aac664086c4 GIT binary patch literal 192 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a)4c25__kcv6Ui4M&F8yRMv=U_Qe zBUWB1k3 zk%qg}*3465Tadvpvn7vv)5`>2h5m*+V$5IJH>u5dG-G?Z1WUX=<8jU#Y&o+M7$Ob3 qCQmR`WKKCMQP+^^B<}o-nITUr)yQh{qj^9lF?hQAxvXD?CTde+whE|wEdql)0Ut;tgEFLG-u@BTKuhR!tBdaU!UG$zfrns o0{7V~LQYE#?e{gd5Gj_hXSIp9iPT{J0(20Ar>mdKI;Vst0Jd65s{jB1 literal 0 HcmV?d00001 diff --git a/thpj3/sprites/spr_bullet_test/c4bca663-234e-40d7-bea4-ab550fc0a58d.png b/thpj3/sprites/spr_bullet_test/c4bca663-234e-40d7-bea4-ab550fc0a58d.png new file mode 100644 index 0000000000000000000000000000000000000000..77f5cad0ff0d697ab9b47ab51b0d097a76213651 GIT binary patch literal 193 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a)44o?@ykcv6Ui4M&F8yRMv=U_Qe zBUW;B{-^L{iH0?utg#>Gd-eyI)FegpF6v~Ro%Ag-E#X)CEzJ!Qo7BW&x)O6rd^PGE z!g|(mu3p~Bs3GN`w(xdSj#UKn3FU-(1BXA2YdDw9Q1$O?%umv=@H=3ZaGAwi(9^JM p@&r>w=9Hrnbq$$L;?B>Q8Sc9jIh@-$c`?vU44$rjF6*2UngFjXL#qG) literal 0 HcmV?d00001 diff --git a/thpj3/sprites/spr_bullet_test/layers/078aef8f-8e85-4de4-8c81-bff953e5b65b/122e66f5-b202-4588-9dcf-7cb4d06adf29.png b/thpj3/sprites/spr_bullet_test/layers/078aef8f-8e85-4de4-8c81-bff953e5b65b/122e66f5-b202-4588-9dcf-7cb4d06adf29.png new file mode 100644 index 0000000000000000000000000000000000000000..35b91bce087a0517e35e6f7abd6e1aac664086c4 GIT binary patch literal 192 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a)4c25__kcv6Ui4M&F8yRMv=U_Qe zBUWB1k3 zk%qg}*3465Tadvpvn7vv)5`>2h5m*+V$5IJH>u5dG-G?Z1WUX=<8jU#Y&o+M7$Ob3 qCQmR`WKKCMQP+^^B<}o-nITUr)yQh{qj^9lF?hQAxvXD?CTde+whE|wEdql)0Ut;tgEFLG-u@BTKuhR!tBdaU!UG$zfrns o0{7V~LQYE#?e{gd5Gj_hXSIp9iPT{J0(20Ar>mdKI;Vst0Jd65s{jB1 literal 0 HcmV?d00001 diff --git a/thpj3/sprites/spr_bullet_test/layers/c4bca663-234e-40d7-bea4-ab550fc0a58d/122e66f5-b202-4588-9dcf-7cb4d06adf29.png b/thpj3/sprites/spr_bullet_test/layers/c4bca663-234e-40d7-bea4-ab550fc0a58d/122e66f5-b202-4588-9dcf-7cb4d06adf29.png new file mode 100644 index 0000000000000000000000000000000000000000..77f5cad0ff0d697ab9b47ab51b0d097a76213651 GIT binary patch literal 193 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a)44o?@ykcv6Ui4M&F8yRMv=U_Qe zBUW;B{-^L{iH0?utg#>Gd-eyI)FegpF6v~Ro%Ag-E#X)CEzJ!Qo7BW&x)O6rd^PGE z!g|(mu3p~Bs3GN`w(xdSj#UKn3FU-(1BXA2YdDw9Q1$O?%umv=@H=3ZaGAwi(9^JM p@&r>w=9Hrnbq$$L;?B>Q8Sc9jIh@-$c`?vU44$rjF6*2UngFjXL#qG) literal 0 HcmV?d00001 diff --git a/thpj3/sprites/spr_bullet_test/spr_bullet_test.yy b/thpj3/sprites/spr_bullet_test/spr_bullet_test.yy new file mode 100644 index 0000000..0cf9e40 --- /dev/null +++ b/thpj3/sprites/spr_bullet_test/spr_bullet_test.yy @@ -0,0 +1,87 @@ +{ + "bboxMode": 2, + "collisionKind": 2, + "type": 0, + "origin": 4, + "preMultiplyAlpha": false, + "edgeFiltering": false, + "collisionTolerance": 0, + "swfPrecision": 2.525, + "bbox_left": 1, + "bbox_right": 10, + "bbox_top": 1, + "bbox_bottom": 10, + "HTile": false, + "VTile": false, + "For3D": false, + "width": 12, + "height": 12, + "textureGroupId": { + "name": "Default", + "path": "texturegroups/Default", + }, + "swatchColours": null, + "gridX": 0, + "gridY": 0, + "frames": [ + {"compositeImage":{"FrameId":{"name":"c4bca663-234e-40d7-bea4-ab550fc0a58d","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[ + {"FrameId":{"name":"c4bca663-234e-40d7-bea4-ab550fc0a58d","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"LayerId":{"name":"122e66f5-b202-4588-9dcf-7cb4d06adf29","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",}, + ],"parent":{"name":"spr_bullet_test","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"resourceVersion":"1.0","name":"c4bca663-234e-40d7-bea4-ab550fc0a58d","tags":[],"resourceType":"GMSpriteFrame",}, + {"compositeImage":{"FrameId":{"name":"078aef8f-8e85-4de4-8c81-bff953e5b65b","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[ + {"FrameId":{"name":"078aef8f-8e85-4de4-8c81-bff953e5b65b","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"LayerId":{"name":"122e66f5-b202-4588-9dcf-7cb4d06adf29","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",}, + ],"parent":{"name":"spr_bullet_test","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"resourceVersion":"1.0","name":"078aef8f-8e85-4de4-8c81-bff953e5b65b","tags":[],"resourceType":"GMSpriteFrame",}, + {"compositeImage":{"FrameId":{"name":"0bd3ae89-2550-41c8-8380-366520a6149c","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[ + {"FrameId":{"name":"0bd3ae89-2550-41c8-8380-366520a6149c","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"LayerId":{"name":"122e66f5-b202-4588-9dcf-7cb4d06adf29","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",}, + ],"parent":{"name":"spr_bullet_test","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"resourceVersion":"1.0","name":"0bd3ae89-2550-41c8-8380-366520a6149c","tags":[],"resourceType":"GMSpriteFrame",}, + ], + "sequence": { + "spriteId": {"name":"spr_bullet_test","path":"sprites/spr_bullet_test/spr_bullet_test.yy",}, + "timeUnits": 1, + "playback": 1, + "playbackSpeed": 10.0, + "playbackSpeedType": 0, + "autoRecord": true, + "volume": 1.0, + "length": 3.0, + "events": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore",}, + "tracks": [ + {"name":"frames","spriteId":null,"keyframes":{"Keyframes":[ + {"id":"eb42b16f-b252-4da5-9a80-1fcb4fa6c566","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"c4bca663-234e-40d7-bea4-ab550fc0a58d","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe",}, + {"id":"509ef5a8-967a-413c-9332-d05c525787b1","Key":1.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"078aef8f-8e85-4de4-8c81-bff953e5b65b","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe",}, + {"id":"39dd8e0a-8a2e-4e99-929c-70c324c48a06","Key":2.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"0bd3ae89-2550-41c8-8380-366520a6149c","path":"sprites/spr_bullet_test/spr_bullet_test.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": 6, + "yorigin": 6, + "eventToFunction": {}, + "eventStubScript": null, + "parent": {"name":"spr_bullet_test","path":"sprites/spr_bullet_test/spr_bullet_test.yy",}, + "resourceVersion": "1.3", + "name": "spr_bullet_test", + "tags": [], + "resourceType": "GMSequence", + }, + "layers": [ + {"visible":true,"isLocked":false,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"122e66f5-b202-4588-9dcf-7cb4d06adf29","tags":[],"resourceType":"GMImageLayer",}, + ], + "nineSlice": null, + "parent": { + "name": "thpj3", + "path": "thpj3.yyp", + }, + "resourceVersion": "1.0", + "name": "spr_bullet_test", + "tags": [], + "resourceType": "GMSprite", +} \ No newline at end of file diff --git a/thpj3/thpj3.yyp b/thpj3/thpj3.yyp index baf5d35..f250482 100644 --- a/thpj3/thpj3.yyp +++ b/thpj3/thpj3.yyp @@ -9,6 +9,7 @@ {"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":"obj_bullet_test","path":"objects/obj_bullet_test/obj_bullet_test.yy",},"order":27,}, {"id":{"name":"spr_fluff","path":"sprites/spr_fluff/spr_fluff.yy",},"order":25,}, {"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,}, @@ -17,9 +18,11 @@ {"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_enemy_bullet_parent","path":"objects/obj_enemy_bullet_parent/obj_enemy_bullet_parent.yy",},"order":26,}, {"id":{"name":"obj_enemy_test","path":"objects/obj_enemy_test/obj_enemy_test.yy",},"order":24,}, {"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":"spr_bullet_test","path":"sprites/spr_bullet_test/spr_bullet_test.yy",},"order":28,}, {"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,}, @@ -31,6 +34,7 @@ {"id":{"name":"fn_GUI","path":"fonts/fn_GUI/fn_GUI.yy",},"order":22,}, {"id":{"name":"obj_title_star","path":"objects/obj_title_star/obj_title_star.yy",},"order":2,}, {"id":{"name":"spr_text_box","path":"sprites/spr_text_box/spr_text_box.yy",},"order":2,}, + {"id":{"name":"scr_pattern_fire","path":"scripts/scr_pattern_fire/scr_pattern_fire.yy",},"order":29,}, {"id":{"name":"obj_title_title","path":"objects/obj_title_title/obj_title_title.yy",},"order":4,}, {"id":{"name":"obj_title_screen","path":"objects/obj_title_screen/obj_title_screen.yy",},"order":5,}, {"id":{"name":"obj_dialogue","path":"objects/obj_dialogue/obj_dialogue.yy",},"order":0,},