Added dialogue engine v1

This commit is contained in:
magicalfeyfenny 2021-06-04 00:01:32 -04:00
parent 9b0a0b5369
commit 9ff4641278
31 changed files with 413 additions and 10 deletions

View File

@ -0,0 +1,43 @@
dialogue_flag = 0;
dialogue_mode = true;
loopdoop = 0;
textspew = "";
texttarget = "";
actor_left = "";
actor_right = "";
spewlength = 0;
last_active = 0;
text_advance_ready = -1;
name_test = ds_queue_create();
text_test = ds_queue_create();
active_test = ds_queue_create();
if (dialogue_flag == 0) {
ds_queue_enqueue(name_test,
"", "",
"Wriggle", "Mystia",
"Wriggle", "Mystia",
"Wriggle", "Mystia",
"Wriggle", "Mystia",
"Wriggle", "Mystia"
);
ds_queue_enqueue(text_test,
"",
"So, what are you up to?",
"on this fine day of Tuesday",
"not much my good binch",
"just drinking my soup",
"cool cool"
);
ds_queue_enqueue(active_test,
0,
0,
0,
1,
1,
0
);
dialogue_flag++;
}

View File

@ -0,0 +1,31 @@
if (dialogue_mode) {
//TODO: Draw left active character, transparent if "last active"
// draw_sprite_ext( actor_left
//TODO: Draw right active character, transparent if "last active"
// draw_sprite_ext( actor_right
// Draw dialogue box
draw_self();
//TODO: Draw current active character's name
if ( last_active == 0 ) {
draw_text( 128, 640, actor_left );
}
if ( last_active == 1 ) {
draw_set_halign( fa_right );
draw_text( 1080, 640, actor_right );
draw_set_halign( fa_left );
}
//TODO: Draw current active character's text, adding one character at a time
draw_text( 128, 480, textspew );
//TODO: If the current text has reached completion, draw an arrow in the corner
if (text_advance_ready == 1) {
loopdoop++;
draw_sprite( spr_text_arrow, round((loopdoop % 160) / 20), 1088, 608 );
}
}

View File

@ -0,0 +1,42 @@
if (dialogue_mode) {
if (text_advance_ready == -1 && !ds_queue_empty(name_test) && !ds_queue_empty(name_test) && !ds_queue_empty(active_test)) {
text_advance_ready = 0;
actor_left = ds_queue_dequeue(name_test);
actor_right = "";
if (!ds_queue_empty(name_test)) {
actor_right = ds_queue_dequeue(name_test);
}
texttarget = ds_queue_dequeue(text_test);
textspew = "";
spewlength = 1;
last_active = ds_queue_dequeue(active_test);
}
if (text_advance_ready == 0 ) {
textspew += string_char_at(texttarget, spewlength);
spewlength++;
if (keyboard_check_pressed( ord("Z") ) ) {
textspew = texttarget;
keyboard_clear(ord("Z"));
}
if (textspew == texttarget) {
text_advance_ready = 1;
}
}
if (text_advance_ready == 1) {
if (keyboard_check_pressed( ord("Z") ) ) {
text_advance_ready = -1;
if (ds_queue_empty(name_test) || ds_queue_empty(text_test) || ds_queue_empty(active_test)) {
dialogue_mode = false;
}
}
}
}

View File

@ -0,0 +1,38 @@
{
"spriteId": {
"name": "spr_text_box",
"path": "sprites/spr_text_box/spr_text_box.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":8,"collisionObjectId":null,"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",},
],
"properties": [],
"overriddenProperties": [],
"parent": {
"name": "thpj3",
"path": "thpj3.yyp",
},
"resourceVersion": "1.0",
"name": "obj_dialogue",
"tags": [],
"resourceType": "GMObject",
}

View File

@ -0,0 +1,56 @@
{
"isDnd": false,
"volume": 1.0,
"parentRoom": null,
"views": [
{"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1366,"hview":768,"xport":0,"yport":0,"wport":1366,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,},
{"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1366,"hview":768,"xport":0,"yport":0,"wport":1366,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,},
{"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1366,"hview":768,"xport":0,"yport":0,"wport":1366,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,},
{"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1366,"hview":768,"xport":0,"yport":0,"wport":1366,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,},
{"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1366,"hview":768,"xport":0,"yport":0,"wport":1366,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,},
{"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1366,"hview":768,"xport":0,"yport":0,"wport":1366,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,},
{"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1366,"hview":768,"xport":0,"yport":0,"wport":1366,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,},
{"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1366,"hview":768,"xport":0,"yport":0,"wport":1366,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,},
],
"layers": [
{"instances":[
{"properties":[],"isDnd":false,"objectId":{"name":"obj_dialogue","path":"objects/obj_dialogue/obj_dialogue.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":96.0,"y":448.0,"resourceVersion":"1.0","name":"inst_1ED821BC","tags":[],"resourceType":"GMRInstance",},
],"visible":true,"depth":0,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Instances","tags":[],"resourceType":"GMRInstanceLayer",},
{"spriteId":null,"colour":4278190080,"x":0,"y":0,"htiled":false,"vtiled":false,"hspeed":0.0,"vspeed":0.0,"stretch":false,"animationFPS":15.0,"animationSpeedType":0,"userdefinedAnimFPS":false,"visible":true,"depth":100,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Background","tags":[],"resourceType":"GMRBackgroundLayer",},
],
"inheritLayers": false,
"creationCodeFile": "",
"inheritCode": false,
"instanceCreationOrder": [
{"name":"inst_1ED821BC","path":"rooms/Room3/Room3.yy",},
],
"inheritCreationOrder": false,
"sequenceId": null,
"roomSettings": {
"inheritRoomSettings": false,
"Width": 1280,
"Height": 720,
"persistent": false,
},
"viewSettings": {
"inheritViewSettings": false,
"enableViews": false,
"clearViewBackground": false,
"clearDisplayBuffer": true,
},
"physicsSettings": {
"inheritPhysicsSettings": false,
"PhysicsWorld": false,
"PhysicsWorldGravityX": 0.0,
"PhysicsWorldGravityY": 10.0,
"PhysicsWorldPixToMetres": 0.1,
},
"parent": {
"name": "thpj3",
"path": "thpj3.yyp",
},
"resourceVersion": "1.0",
"name": "Room3",
"tags": [],
"resourceType": "GMRoom",
}

View File

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 203 B

View File

@ -24,12 +24,12 @@
"gridX": 0,
"gridY": 0,
"frames": [
{"compositeImage":{"FrameId":{"name":"78a8461a-21b2-4fa5-b12c-7e3bbf41dcd3","path":"sprites/Sprite5/Sprite5.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"78a8461a-21b2-4fa5-b12c-7e3bbf41dcd3","path":"sprites/Sprite5/Sprite5.yy",},"LayerId":{"name":"4a28f0b4-4f63-40fe-8c94-253391ee96a1","path":"sprites/Sprite5/Sprite5.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"Sprite5","path":"sprites/Sprite5/Sprite5.yy",},"resourceVersion":"1.0","name":"78a8461a-21b2-4fa5-b12c-7e3bbf41dcd3","tags":[],"resourceType":"GMSpriteFrame",},
{"compositeImage":{"FrameId":{"name":"82d298fd-0c66-42e4-bbd6-a1ea9b9c23f1","path":"sprites/Sprite7/Sprite7.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"82d298fd-0c66-42e4-bbd6-a1ea9b9c23f1","path":"sprites/Sprite7/Sprite7.yy",},"LayerId":{"name":"b2046bc7-37f9-401b-b711-c59dc3018c19","path":"sprites/Sprite7/Sprite7.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"Sprite7","path":"sprites/Sprite7/Sprite7.yy",},"resourceVersion":"1.0","name":"82d298fd-0c66-42e4-bbd6-a1ea9b9c23f1","tags":[],"resourceType":"GMSpriteFrame",},
],
"sequence": {
"spriteId": {"name":"Sprite5","path":"sprites/Sprite5/Sprite5.yy",},
"spriteId": {"name":"Sprite7","path":"sprites/Sprite7/Sprite7.yy",},
"timeUnits": 1,
"playback": 1,
"playbackSpeed": 30.0,
@ -41,7 +41,7 @@
"moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore<MomentsEventKeyframe>",},
"tracks": [
{"name":"frames","spriteId":null,"keyframes":{"Keyframes":[
{"id":"ed001de7-d894-4e89-aa33-bad627b81e5c","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"78a8461a-21b2-4fa5-b12c-7e3bbf41dcd3","path":"sprites/Sprite5/Sprite5.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
{"id":"59a5cd20-6c83-4df3-a73f-1aa6acedc239","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"82d298fd-0c66-42e4-bbd6-a1ea9b9c23f1","path":"sprites/Sprite7/Sprite7.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
],"resourceVersion":"1.0","resourceType":"KeyframeStore<SpriteFrameKeyframe>",},"trackColour":0,"inheritsTrackColour":true,"builtinName":0,"traits":0,"interpolation":1,"tracks":[],"events":[],"modifiers":[],"isCreationTrack":false,"resourceVersion":"1.0","tags":[],"resourceType":"GMSpriteFramesTrack",},
],
"visibleRange": null,
@ -58,14 +58,14 @@
"yorigin": 0,
"eventToFunction": {},
"eventStubScript": null,
"parent": {"name":"Sprite5","path":"sprites/Sprite5/Sprite5.yy",},
"parent": {"name":"Sprite7","path":"sprites/Sprite7/Sprite7.yy",},
"resourceVersion": "1.3",
"name": "Sprite5",
"name": "Sprite7",
"tags": [],
"resourceType": "GMSequence",
},
"layers": [
{"visible":true,"isLocked":false,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"4a28f0b4-4f63-40fe-8c94-253391ee96a1","tags":[],"resourceType":"GMImageLayer",},
{"visible":true,"isLocked":false,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"b2046bc7-37f9-401b-b711-c59dc3018c19","tags":[],"resourceType":"GMImageLayer",},
],
"nineSlice": null,
"parent": {
@ -73,7 +73,7 @@
"path": "thpj3.yyp",
},
"resourceVersion": "1.0",
"name": "Sprite5",
"name": "Sprite7",
"tags": [],
"resourceType": "GMSprite",
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 B

View File

@ -0,0 +1,107 @@
{
"bboxMode": 0,
"collisionKind": 1,
"type": 0,
"origin": 0,
"preMultiplyAlpha": false,
"edgeFiltering": false,
"collisionTolerance": 0,
"swfPrecision": 2.525,
"bbox_left": 9,
"bbox_right": 54,
"bbox_top": 2,
"bbox_bottom": 63,
"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":"c67da8c3-ab67-4516-b154-f87a1f147963","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"c67da8c3-ab67-4516-b154-f87a1f147963","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":{"name":"c0b76f7a-4640-4940-8b19-eb26bd42704a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"c67da8c3-ab67-4516-b154-f87a1f147963","tags":[],"resourceType":"GMSpriteFrame",},
{"compositeImage":{"FrameId":{"name":"19f0cda6-5273-4f75-bcfe-4dfd1dc61abe","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"19f0cda6-5273-4f75-bcfe-4dfd1dc61abe","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":{"name":"c0b76f7a-4640-4940-8b19-eb26bd42704a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"19f0cda6-5273-4f75-bcfe-4dfd1dc61abe","tags":[],"resourceType":"GMSpriteFrame",},
{"compositeImage":{"FrameId":{"name":"b6a073cc-9746-4d92-827d-2b3696a01f8b","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"b6a073cc-9746-4d92-827d-2b3696a01f8b","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":{"name":"c0b76f7a-4640-4940-8b19-eb26bd42704a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"b6a073cc-9746-4d92-827d-2b3696a01f8b","tags":[],"resourceType":"GMSpriteFrame",},
{"compositeImage":{"FrameId":{"name":"bcd5a379-c0fb-4e14-96f4-c2b0a0bb0c87","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"bcd5a379-c0fb-4e14-96f4-c2b0a0bb0c87","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":{"name":"c0b76f7a-4640-4940-8b19-eb26bd42704a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"bcd5a379-c0fb-4e14-96f4-c2b0a0bb0c87","tags":[],"resourceType":"GMSpriteFrame",},
{"compositeImage":{"FrameId":{"name":"31178065-8104-4227-bf61-a5fe3f6d63ea","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"31178065-8104-4227-bf61-a5fe3f6d63ea","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":{"name":"c0b76f7a-4640-4940-8b19-eb26bd42704a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"31178065-8104-4227-bf61-a5fe3f6d63ea","tags":[],"resourceType":"GMSpriteFrame",},
{"compositeImage":{"FrameId":{"name":"6d7b8f33-60e5-485e-9be7-d0351344784a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"6d7b8f33-60e5-485e-9be7-d0351344784a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":{"name":"c0b76f7a-4640-4940-8b19-eb26bd42704a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"6d7b8f33-60e5-485e-9be7-d0351344784a","tags":[],"resourceType":"GMSpriteFrame",},
{"compositeImage":{"FrameId":{"name":"bae2d041-e589-49e3-84d3-83768ada8bc0","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"bae2d041-e589-49e3-84d3-83768ada8bc0","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":{"name":"c0b76f7a-4640-4940-8b19-eb26bd42704a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"bae2d041-e589-49e3-84d3-83768ada8bc0","tags":[],"resourceType":"GMSpriteFrame",},
{"compositeImage":{"FrameId":{"name":"f97a54a2-6122-4805-9a82-15ee0fbe0f95","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"f97a54a2-6122-4805-9a82-15ee0fbe0f95","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"LayerId":{"name":"c0b76f7a-4640-4940-8b19-eb26bd42704a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","name":"f97a54a2-6122-4805-9a82-15ee0fbe0f95","tags":[],"resourceType":"GMSpriteFrame",},
],
"sequence": {
"spriteId": {"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},
"timeUnits": 1,
"playback": 1,
"playbackSpeed": 3.0,
"playbackSpeedType": 0,
"autoRecord": true,
"volume": 1.0,
"length": 8.0,
"events": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore<MessageEventKeyframe>",},
"moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore<MomentsEventKeyframe>",},
"tracks": [
{"name":"frames","spriteId":null,"keyframes":{"Keyframes":[
{"id":"05443017-dc37-426c-9fa3-3bba7774fae2","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"c67da8c3-ab67-4516-b154-f87a1f147963","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
{"id":"78f0e0e3-427c-4bd9-8cfd-f5bf240dd7f7","Key":1.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"19f0cda6-5273-4f75-bcfe-4dfd1dc61abe","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
{"id":"2df4bf60-43c2-4091-84d5-5c2b7d661399","Key":2.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"b6a073cc-9746-4d92-827d-2b3696a01f8b","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
{"id":"a861335e-144b-43d1-a93a-205faa6cc2f0","Key":3.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"bcd5a379-c0fb-4e14-96f4-c2b0a0bb0c87","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
{"id":"419b985c-a616-4c7d-b1d4-618cd6b9876d","Key":4.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"31178065-8104-4227-bf61-a5fe3f6d63ea","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
{"id":"d0980910-fe58-4ccd-b5f4-25cdc4aeea16","Key":5.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"6d7b8f33-60e5-485e-9be7-d0351344784a","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
{"id":"2b4541de-5845-4ed7-97e6-4dedaa50900f","Key":6.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"bae2d041-e589-49e3-84d3-83768ada8bc0","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
{"id":"4bc160f7-8ac4-4441-b8dd-5daef1c821ca","Key":7.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"f97a54a2-6122-4805-9a82-15ee0fbe0f95","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
],"resourceVersion":"1.0","resourceType":"KeyframeStore<SpriteFrameKeyframe>",},"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": 0,
"yorigin": 0,
"eventToFunction": {},
"eventStubScript": null,
"parent": {"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},
"resourceVersion": "1.3",
"name": "spr_text_arrow",
"tags": [],
"resourceType": "GMSequence",
},
"layers": [
{"visible":true,"isLocked":false,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"c0b76f7a-4640-4940-8b19-eb26bd42704a","tags":[],"resourceType":"GMImageLayer",},
],
"nineSlice": null,
"parent": {
"name": "thpj3",
"path": "thpj3.yyp",
},
"resourceVersion": "1.0",
"name": "spr_text_arrow",
"tags": [],
"resourceType": "GMSprite",
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,81 @@
{
"bboxMode": 0,
"collisionKind": 1,
"type": 0,
"origin": 0,
"preMultiplyAlpha": false,
"edgeFiltering": false,
"collisionTolerance": 0,
"swfPrecision": 2.525,
"bbox_left": 7,
"bbox_right": 1090,
"bbox_top": 8,
"bbox_bottom": 245,
"HTile": false,
"VTile": false,
"For3D": false,
"width": 1100,
"height": 256,
"textureGroupId": {
"name": "Default",
"path": "texturegroups/Default",
},
"swatchColours": null,
"gridX": 0,
"gridY": 0,
"frames": [
{"compositeImage":{"FrameId":{"name":"78a8461a-21b2-4fa5-b12c-7e3bbf41dcd3","path":"sprites/spr_text_box/spr_text_box.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"78a8461a-21b2-4fa5-b12c-7e3bbf41dcd3","path":"sprites/spr_text_box/spr_text_box.yy",},"LayerId":{"name":"4a28f0b4-4f63-40fe-8c94-253391ee96a1","path":"sprites/spr_text_box/spr_text_box.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
{"FrameId":{"name":"78a8461a-21b2-4fa5-b12c-7e3bbf41dcd3","path":"sprites/spr_text_box/spr_text_box.yy",},"LayerId":{"name":"7209b092-0821-411d-9466-90957c4210d6","path":"sprites/spr_text_box/spr_text_box.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"spr_text_box","path":"sprites/spr_text_box/spr_text_box.yy",},"resourceVersion":"1.0","name":"78a8461a-21b2-4fa5-b12c-7e3bbf41dcd3","tags":[],"resourceType":"GMSpriteFrame",},
],
"sequence": {
"spriteId": {"name":"spr_text_box","path":"sprites/spr_text_box/spr_text_box.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<MessageEventKeyframe>",},
"moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore<MomentsEventKeyframe>",},
"tracks": [
{"name":"frames","spriteId":null,"keyframes":{"Keyframes":[
{"id":"ed001de7-d894-4e89-aa33-bad627b81e5c","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"78a8461a-21b2-4fa5-b12c-7e3bbf41dcd3","path":"sprites/spr_text_box/spr_text_box.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
],"resourceVersion":"1.0","resourceType":"KeyframeStore<SpriteFrameKeyframe>",},"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": 0,
"yorigin": 0,
"eventToFunction": {},
"eventStubScript": null,
"parent": {"name":"spr_text_box","path":"sprites/spr_text_box/spr_text_box.yy",},
"resourceVersion": "1.3",
"name": "spr_text_box",
"tags": [],
"resourceType": "GMSequence",
},
"layers": [
{"visible":true,"isLocked":true,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"4a28f0b4-4f63-40fe-8c94-253391ee96a1","tags":[],"resourceType":"GMImageLayer",},
{"visible":true,"isLocked":true,"blendMode":0,"opacity":100.0,"displayName":"Layer 1","resourceVersion":"1.0","name":"7209b092-0821-411d-9466-90957c4210d6","tags":[],"resourceType":"GMImageLayer",},
],
"nineSlice": null,
"parent": {
"name": "thpj3",
"path": "thpj3.yyp",
},
"resourceVersion": "1.0",
"name": "spr_text_box",
"tags": [],
"resourceType": "GMSprite",
}

View File

@ -3,18 +3,22 @@
{"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_disclaimer","path":"objects/obj_disclaimer/obj_disclaimer.yy",},"order":2,},
{"id":{"name":"Sprite7","path":"sprites/Sprite7/Sprite7.yy",},"order":9,},
{"id":{"name":"obj_title_moon","path":"objects/obj_title_moon/obj_title_moon.yy",},"order":1,},
{"id":{"name":"spr_title_star","path":"sprites/spr_title_star/spr_title_star.yy",},"order":8,},
{"id":{"name":"rm_disclaimer","path":"rooms/rm_disclaimer/rm_disclaimer.yy",},"order":3,},
{"id":{"name":"obj_title_text","path":"objects/obj_title_text/obj_title_text.yy",},"order":4,},
{"id":{"name":"spr_title_bg","path":"sprites/spr_title_bg/spr_title_bg.yy",},"order":6,},
{"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":9,},
{"id":{"name":"spr_text_arrow","path":"sprites/spr_text_arrow/spr_text_arrow.yy",},"order":7,},
{"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":7,},
{"id":{"name":"obj_title_star","path":"objects/obj_title_star/obj_title_star.yy",},"order":3,},
{"id":{"name":"Sprite5","path":"sprites/Sprite5/Sprite5.yy",},"order":1,},
{"id":{"name":"spr_text_box","path":"sprites/spr_text_box/spr_text_box.yy",},"order":1,},
{"id":{"name":"obj_title_title","path":"objects/obj_title_title/obj_title_title.yy",},"order":5,},
{"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":8,},
{"id":{"name":"rm_title","path":"rooms/rm_title/rm_title.yy",},"order":0,},
],
"Options": [
@ -31,6 +35,7 @@
"children": [],
},
"RoomOrderNodes": [
{"roomId":{"name":"Room3","path":"rooms/Room3/Room3.yy",},},
{"roomId":{"name":"rm_disclaimer","path":"rooms/rm_disclaimer/rm_disclaimer.yy",},},
{"roomId":{"name":"rm_title","path":"rooms/rm_title/rm_title.yy",},},
],