Jam release
This commit is contained in:
parent
421c06eabe
commit
3f41182c76
|
@ -0,0 +1,77 @@
|
|||
2
|
||||
4
|
||||
0
|
||||
noname
|
||||
0
|
||||
noname
|
||||
It was the mornin' of the 100th annual Gensokyo State Fair.#Folks came from all around to bring their goods#to the the grand market on the Scarlet sisters' lawn.
|
||||
2
|
||||
2
|
||||
0
|
||||
noname
|
||||
0
|
||||
noname
|
||||
Gensokyo, of course, isn't a state per se.#Flandre had simply started the tradition of a 'state fair'#because she thought it would be fun after#Patchouli had shown the sisters an Outside World film#she had borrowed from Sanae to study.
|
||||
2
|
||||
3
|
||||
0
|
||||
noname
|
||||
0
|
||||
noname
|
||||
It also hasn't been going for a hundred years.#Flandre simply thought it sounded cooler that way.
|
||||
2
|
||||
2
|
||||
0
|
||||
noname
|
||||
0
|
||||
noname
|
||||
It wound up being a very popular idea for youkai#who weren't taken aback by the strangeness of it all.#It was a market only rivaled by Gensokyo's more#traditional festivals, and this one has a twist.
|
||||
2
|
||||
4
|
||||
0
|
||||
noname
|
||||
0
|
||||
noname
|
||||
The Scarlets (well, mostly Sakuya if we're bein' honest)#go all out with the decorations.#From the center of the fairgrounds,#you'd think you'd've been spirited away to#the Ol' Wild West.
|
||||
2
|
||||
4
|
||||
0
|
||||
noname
|
||||
0
|
||||
noname
|
||||
This meant a lot of folk try to fit in best they can.#Even cranky ol' Reimu's wearin' a sheriff's badge.
|
||||
2
|
||||
4
|
||||
0
|
||||
noname
|
||||
0
|
||||
noname
|
||||
I was, of course, chillin', takin' it easy.#I had some yakitori Mokou was sellin'.#I had my trusty lasso.#Everything was lookin' mighty peaceful in my patch of dust.
|
||||
1
|
||||
4
|
||||
0
|
||||
noname
|
||||
0
|
||||
Kutaka
|
||||
Egads! My precious yukkuris!#They have escaped!
|
||||
2
|
||||
4
|
||||
0
|
||||
Reimu
|
||||
0
|
||||
Kutaka
|
||||
A cry for help!#I glanced at Reimu, who shrugged.#"It's my day off".#I looked at my lasso and knew what I must do.
|
||||
2
|
||||
4
|
||||
0
|
||||
noname
|
||||
0
|
||||
noname
|
||||
Only the strongest cowboys could hope to tussle and#wrangle up something so slippery as a yukkuri.
|
||||
0
|
||||
4
|
||||
0
|
||||
Cirno
|
||||
0
|
||||
noname
|
||||
It's up to I, the Baka Vaquera Cirno, to save this fair!
|
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"hinting": 0,
|
||||
"glyphOperations": 0,
|
||||
"interpreter": 0,
|
||||
"pointRounding": 0,
|
||||
"applyKerning": 0,
|
||||
"fontName": "Loma",
|
||||
"styleName": "Regular",
|
||||
"size": 8.0,
|
||||
"bold": false,
|
||||
"italic": false,
|
||||
"charset": 0,
|
||||
"AntiAlias": 1,
|
||||
"first": 0,
|
||||
"last": 0,
|
||||
"sampleText": "abcdef ABCDEF\n0123456789 .,<>\"'&!?\nthe quick brown fox jumps over the lazy dog\nTHE QUICK BROWN FOX JUMPS OVER THE LAZY DOG\nDefault character: ▯ (9647)",
|
||||
"includeTTF": false,
|
||||
"TTFName": "",
|
||||
"textureGroupId": {
|
||||
"name": "Default",
|
||||
"path": "texturegroups/Default",
|
||||
},
|
||||
"ascenderOffset": 0,
|
||||
"ascender": 11,
|
||||
"glyphs": {
|
||||
"32": {"x":2,"y":2,"w":4,"h":17,"character":32,"shift":4,"offset":0,},
|
||||
"33": {"x":24,"y":40,"w":2,"h":17,"character":33,"shift":3,"offset":1,},
|
||||
"34": {"x":18,"y":40,"w":4,"h":17,"character":34,"shift":4,"offset":0,},
|
||||
"35": {"x":10,"y":40,"w":6,"h":17,"character":35,"shift":6,"offset":0,},
|
||||
"36": {"x":2,"y":40,"w":6,"h":17,"character":36,"shift":6,"offset":0,},
|
||||
"37": {"x":236,"y":21,"w":10,"h":17,"character":37,"shift":10,"offset":0,},
|
||||
"38": {"x":226,"y":21,"w":8,"h":17,"character":38,"shift":7,"offset":0,},
|
||||
"39": {"x":222,"y":21,"w":2,"h":17,"character":39,"shift":2,"offset":0,},
|
||||
"40": {"x":216,"y":21,"w":4,"h":17,"character":40,"shift":4,"offset":0,},
|
||||
"41": {"x":211,"y":21,"w":3,"h":17,"character":41,"shift":4,"offset":0,},
|
||||
"42": {"x":28,"y":40,"w":4,"h":17,"character":42,"shift":4,"offset":0,},
|
||||
"43": {"x":203,"y":21,"w":6,"h":17,"character":43,"shift":6,"offset":0,},
|
||||
"44": {"x":190,"y":21,"w":3,"h":17,"character":44,"shift":3,"offset":0,},
|
||||
"45": {"x":184,"y":21,"w":4,"h":17,"character":45,"shift":4,"offset":0,},
|
||||
"46": {"x":180,"y":21,"w":2,"h":17,"character":46,"shift":3,"offset":1,},
|
||||
"47": {"x":173,"y":21,"w":5,"h":17,"character":47,"shift":3,"offset":-1,},
|
||||
"48": {"x":165,"y":21,"w":6,"h":17,"character":48,"shift":6,"offset":0,},
|
||||
"49": {"x":159,"y":21,"w":4,"h":17,"character":49,"shift":6,"offset":1,},
|
||||
"50": {"x":151,"y":21,"w":6,"h":17,"character":50,"shift":6,"offset":0,},
|
||||
"51": {"x":143,"y":21,"w":6,"h":17,"character":51,"shift":6,"offset":0,},
|
||||
"52": {"x":135,"y":21,"w":6,"h":17,"character":52,"shift":6,"offset":0,},
|
||||
"53": {"x":195,"y":21,"w":6,"h":17,"character":53,"shift":6,"offset":0,},
|
||||
"54": {"x":34,"y":40,"w":6,"h":17,"character":54,"shift":6,"offset":0,},
|
||||
"55": {"x":42,"y":40,"w":6,"h":17,"character":55,"shift":6,"offset":0,},
|
||||
"56": {"x":50,"y":40,"w":6,"h":17,"character":56,"shift":6,"offset":0,},
|
||||
"57": {"x":231,"y":40,"w":6,"h":17,"character":57,"shift":6,"offset":0,},
|
||||
"58": {"x":227,"y":40,"w":2,"h":17,"character":58,"shift":3,"offset":1,},
|
||||
"59": {"x":222,"y":40,"w":3,"h":17,"character":59,"shift":3,"offset":0,},
|
||||
"60": {"x":214,"y":40,"w":6,"h":17,"character":60,"shift":6,"offset":0,},
|
||||
"61": {"x":206,"y":40,"w":6,"h":17,"character":61,"shift":6,"offset":0,},
|
||||
"62": {"x":198,"y":40,"w":6,"h":17,"character":62,"shift":6,"offset":0,},
|
||||
"63": {"x":190,"y":40,"w":6,"h":17,"character":63,"shift":6,"offset":0,},
|
||||
"64": {"x":177,"y":40,"w":11,"h":17,"character":64,"shift":11,"offset":0,},
|
||||
"65": {"x":167,"y":40,"w":8,"h":17,"character":65,"shift":7,"offset":0,},
|
||||
"66": {"x":158,"y":40,"w":7,"h":17,"character":66,"shift":7,"offset":0,},
|
||||
"67": {"x":148,"y":40,"w":8,"h":17,"character":67,"shift":8,"offset":0,},
|
||||
"68": {"x":138,"y":40,"w":8,"h":17,"character":68,"shift":8,"offset":0,},
|
||||
"69": {"x":129,"y":40,"w":7,"h":17,"character":69,"shift":7,"offset":0,},
|
||||
"70": {"x":120,"y":40,"w":7,"h":17,"character":70,"shift":7,"offset":0,},
|
||||
"71": {"x":110,"y":40,"w":8,"h":17,"character":71,"shift":8,"offset":0,},
|
||||
"72": {"x":100,"y":40,"w":8,"h":17,"character":72,"shift":8,"offset":0,},
|
||||
"73": {"x":94,"y":40,"w":4,"h":17,"character":73,"shift":3,"offset":0,},
|
||||
"74": {"x":87,"y":40,"w":5,"h":17,"character":74,"shift":6,"offset":0,},
|
||||
"75": {"x":77,"y":40,"w":8,"h":17,"character":75,"shift":7,"offset":0,},
|
||||
"76": {"x":69,"y":40,"w":6,"h":17,"character":76,"shift":6,"offset":0,},
|
||||
"77": {"x":58,"y":40,"w":9,"h":17,"character":77,"shift":9,"offset":0,},
|
||||
"78": {"x":125,"y":21,"w":8,"h":17,"character":78,"shift":8,"offset":0,},
|
||||
"79": {"x":114,"y":21,"w":9,"h":17,"character":79,"shift":9,"offset":0,},
|
||||
"80": {"x":105,"y":21,"w":7,"h":17,"character":80,"shift":7,"offset":0,},
|
||||
"81": {"x":182,"y":2,"w":9,"h":17,"character":81,"shift":9,"offset":0,},
|
||||
"82": {"x":167,"y":2,"w":8,"h":17,"character":82,"shift":8,"offset":0,},
|
||||
"83": {"x":158,"y":2,"w":7,"h":17,"character":83,"shift":7,"offset":0,},
|
||||
"84": {"x":149,"y":2,"w":7,"h":17,"character":84,"shift":7,"offset":0,},
|
||||
"85": {"x":139,"y":2,"w":8,"h":17,"character":85,"shift":8,"offset":0,},
|
||||
"86": {"x":129,"y":2,"w":8,"h":17,"character":86,"shift":7,"offset":0,},
|
||||
"87": {"x":116,"y":2,"w":11,"h":17,"character":87,"shift":10,"offset":0,},
|
||||
"88": {"x":106,"y":2,"w":8,"h":17,"character":88,"shift":7,"offset":0,},
|
||||
"89": {"x":96,"y":2,"w":8,"h":17,"character":89,"shift":7,"offset":0,},
|
||||
"90": {"x":87,"y":2,"w":7,"h":17,"character":90,"shift":7,"offset":0,},
|
||||
"91": {"x":177,"y":2,"w":3,"h":17,"character":91,"shift":3,"offset":0,},
|
||||
"92": {"x":81,"y":2,"w":4,"h":17,"character":92,"shift":3,"offset":0,},
|
||||
"93": {"x":70,"y":2,"w":3,"h":17,"character":93,"shift":3,"offset":0,},
|
||||
"94": {"x":63,"y":2,"w":5,"h":17,"character":94,"shift":5,"offset":0,},
|
||||
"95": {"x":53,"y":2,"w":8,"h":17,"character":95,"shift":6,"offset":-1,},
|
||||
"96": {"x":48,"y":2,"w":3,"h":17,"character":96,"shift":4,"offset":0,},
|
||||
"97": {"x":40,"y":2,"w":6,"h":17,"character":97,"shift":6,"offset":0,},
|
||||
"98": {"x":32,"y":2,"w":6,"h":17,"character":98,"shift":6,"offset":0,},
|
||||
"99": {"x":24,"y":2,"w":6,"h":17,"character":99,"shift":6,"offset":0,},
|
||||
"100": {"x":16,"y":2,"w":6,"h":17,"character":100,"shift":6,"offset":0,},
|
||||
"101": {"x":8,"y":2,"w":6,"h":17,"character":101,"shift":6,"offset":0,},
|
||||
"102": {"x":75,"y":2,"w":4,"h":17,"character":102,"shift":3,"offset":0,},
|
||||
"103": {"x":193,"y":2,"w":6,"h":17,"character":103,"shift":6,"offset":0,},
|
||||
"104": {"x":18,"y":21,"w":6,"h":17,"character":104,"shift":6,"offset":0,},
|
||||
"105": {"x":201,"y":2,"w":2,"h":17,"character":105,"shift":2,"offset":0,},
|
||||
"106": {"x":92,"y":21,"w":3,"h":17,"character":106,"shift":2,"offset":-1,},
|
||||
"107": {"x":84,"y":21,"w":6,"h":17,"character":107,"shift":6,"offset":0,},
|
||||
"108": {"x":80,"y":21,"w":2,"h":17,"character":108,"shift":2,"offset":0,},
|
||||
"109": {"x":69,"y":21,"w":9,"h":17,"character":109,"shift":9,"offset":0,},
|
||||
"110": {"x":61,"y":21,"w":6,"h":17,"character":110,"shift":6,"offset":0,},
|
||||
"111": {"x":53,"y":21,"w":6,"h":17,"character":111,"shift":6,"offset":0,},
|
||||
"112": {"x":45,"y":21,"w":6,"h":17,"character":112,"shift":6,"offset":0,},
|
||||
"113": {"x":37,"y":21,"w":6,"h":17,"character":113,"shift":6,"offset":0,},
|
||||
"114": {"x":31,"y":21,"w":4,"h":17,"character":114,"shift":4,"offset":0,},
|
||||
"115": {"x":97,"y":21,"w":6,"h":17,"character":115,"shift":6,"offset":0,},
|
||||
"116": {"x":26,"y":21,"w":3,"h":17,"character":116,"shift":3,"offset":0,},
|
||||
"117": {"x":10,"y":21,"w":6,"h":17,"character":117,"shift":6,"offset":0,},
|
||||
"118": {"x":2,"y":21,"w":6,"h":17,"character":118,"shift":6,"offset":0,},
|
||||
"119": {"x":245,"y":2,"w":8,"h":17,"character":119,"shift":8,"offset":0,},
|
||||
"120": {"x":237,"y":2,"w":6,"h":17,"character":120,"shift":6,"offset":0,},
|
||||
"121": {"x":229,"y":2,"w":6,"h":17,"character":121,"shift":6,"offset":0,},
|
||||
"122": {"x":221,"y":2,"w":6,"h":17,"character":122,"shift":6,"offset":0,},
|
||||
"123": {"x":215,"y":2,"w":4,"h":17,"character":123,"shift":4,"offset":0,},
|
||||
"124": {"x":211,"y":2,"w":2,"h":17,"character":124,"shift":3,"offset":0,},
|
||||
"125": {"x":205,"y":2,"w":4,"h":17,"character":125,"shift":4,"offset":0,},
|
||||
"126": {"x":239,"y":40,"w":6,"h":17,"character":126,"shift":6,"offset":0,},
|
||||
"9647": {"x":247,"y":40,"w":4,"h":17,"character":9647,"shift":6,"offset":1,},
|
||||
},
|
||||
"kerningPairs": [],
|
||||
"ranges": [
|
||||
{"lower":32,"upper":127,},
|
||||
{"lower":9647,"upper":9647,},
|
||||
],
|
||||
"regenerateBitmap": false,
|
||||
"canGenerateBitmap": true,
|
||||
"maintainGms1Font": false,
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "fn_help",
|
||||
"tags": [],
|
||||
"resourceType": "GMFont",
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
/*if (!audio_is_playing(areatheme)) {
|
||||
audio_stop_sound(lovecoloredweh);
|
||||
audio_stop_sound(inaudibledream);
|
||||
audio_stop_sound(mooninginsect);
|
||||
audio_play_sound(areatheme, 0, true);
|
||||
}
|
||||
*/
|
||||
global.camera = view_camera[0];
|
||||
counter = 0;
|
||||
|
||||
depth = -2000
|
||||
|
||||
tutorial_fadeout = 400;
|
||||
|
||||
audio_stop_all();
|
||||
audio_play_sound(tomboydaughter, 0, true);
|
|
@ -0,0 +1,78 @@
|
|||
dx = camera_get_view_x(global.camera);
|
||||
dy = camera_get_view_y(global.camera);
|
||||
|
||||
//debug text
|
||||
/*
|
||||
draw_set_alpha(1);
|
||||
draw_set_halign(fa_left);
|
||||
draw_set_color(c_white);
|
||||
draw_text( 5 + dx, 5 + dy, fps );
|
||||
draw_text( 20 + dx,300 + dy, scr_input_get( INPUT_LEFT ) );
|
||||
draw_text( 70 + dx,300 + dy, scr_input_get( INPUT_RIGHT ) );
|
||||
draw_text( 45 + dx,280 + dy, scr_input_get( INPUT_UP ) );
|
||||
draw_text( 45 + dx,320 + dy, scr_input_get( INPUT_DOWN ) );
|
||||
draw_text(150 + dx,300 + dy, mouse_check_button(mb_left) );
|
||||
draw_text(160 + dx,300 + dy, mouse_check_button(mb_right) );
|
||||
draw_text(210 + dx,305 + dy, scr_input_get( INPUT_SHOT_RIGHT ) );
|
||||
draw_text(215 + dx,320 + dy, scr_input_get( INPUT_BOMB ) );
|
||||
draw_text(190 + dx,305 + dy, scr_input_get( INPUT_SHOT_LEFT ) );
|
||||
*/
|
||||
|
||||
if (!global.cutscene_mode) {
|
||||
draw_set_font(fn_cursive);
|
||||
draw_set_halign(fa_left);
|
||||
draw_text_ext_transformed_color_border( 65 + dx, 5 + dy, floor(obj_player_cirno.score_current), 9, 620, 1, 1, 0, c_silver, c_silver, c_white, c_white, 1, 1, c_black); //6
|
||||
if (obj_player_cirno.lasso_chain >= 1) {
|
||||
draw_set_halign(fa_right);
|
||||
draw_set_alpha(0.5);
|
||||
draw_set_color(c_black);
|
||||
draw_rectangle(620 + dx, 5 + dy, 630 + dx, 105 + dy, false);
|
||||
draw_set_alpha(1);
|
||||
draw_set_color(c_aqua);
|
||||
draw_rectangle(620 + dx, 105 - (max(0,obj_player_cirno.lasso_chaining) / 3) + dy, 630 + dx, 105 + dy, false);
|
||||
draw_set_color(c_black);
|
||||
draw_rectangle(620 + dx, 5 + dy, 630 + dx, 105 + dy, true);
|
||||
draw_set_font(fn_cursivelarge);
|
||||
draw_text_ext_transformed_color_border( 620 + dx, 10 + dy, floor(obj_player_cirno.lasso_chain), 9, 620, 1, 1, 0, c_aqua, c_aqua, c_white, c_white, 1, 1, c_black); //6
|
||||
draw_set_font(fn_cursive);
|
||||
if ( floor(obj_player_cirno.lasso_chain) == 69 ) {
|
||||
draw_text_ext_transformed_color_border( 615 + dx, 40 + dy, "NICE!", 9, 620, 1, 1, 10, c_red, c_red, c_orange, c_orange, 1, 1, c_black);
|
||||
} else {
|
||||
draw_text_ext_transformed_color_border( 615 + dx, 40 + dy, "HIT!", 9, 620, 1, 1, 10, c_red, c_red, c_orange, c_orange, 1, 1, c_black); //6
|
||||
}
|
||||
}
|
||||
draw_sprite(spr_UI_cirno, 0, 0 + dx, 0 + dy);
|
||||
|
||||
draw_sprite(spr_chain_rank, obj_player_cirno.chain_rank, 40 + dx, 20 + dy);
|
||||
draw_set_alpha(0.5);
|
||||
draw_set_color(c_black);
|
||||
draw_rectangle(5 + dx, 350 + dy, 635 + dx, 355 + dy, false);
|
||||
draw_set_alpha(1);
|
||||
if (obj_player_cirno.lasso_chaining <= 0) {
|
||||
draw_set_color(c_red);
|
||||
} else {
|
||||
draw_set_color(c_lime);
|
||||
}
|
||||
draw_rectangle(5 + dx, 350 + dy, 5 + ((obj_player_cirno.game_timer / 3600) * 630) + dx, 355 + dy, false);
|
||||
draw_set_color(c_black);
|
||||
draw_rectangle(5 + dx, 350 + dy, 635 + dx, 355 + dy, true);
|
||||
draw_sprite(spr_hourglass, 0, 5 + dx, 320 + dy)
|
||||
|
||||
//draw tutorial text
|
||||
draw_set_font(fn_help);
|
||||
draw_set_halign(fa_left);
|
||||
draw_text_ext_transformed_color_border( 5 + dx, 345 + dy, "WASD: move, L mouse: prime lasso, R mouse: capture lasso, ESC: end game", 9, 620, 1, 1, 0, c_blue, c_blue, c_blue, c_blue, tutorial_fadeout / 20, 1, c_white); //6
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
tutorial_fadeout--;
|
||||
|
||||
if ( scr_input_get( INPUT_PAUSE ) ) {
|
||||
game_end();
|
||||
}
|
||||
|
||||
counter++
|
||||
|
||||
|
|
@ -22,8 +22,8 @@
|
|||
"physicsShapePoints": [],
|
||||
"eventList": [
|
||||
{"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":8,"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": [],
|
||||
|
@ -32,7 +32,7 @@
|
|||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_dialogue_nvl",
|
||||
"name": "obj_UI",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -1,8 +1,11 @@
|
|||
target = obj_marisa;
|
||||
target = obj_player_cirno;
|
||||
target_camera_x = 0;
|
||||
target_camera_y = 0;
|
||||
|
||||
if ( instance_exists(target) ) {
|
||||
target_camera_x = target.x; target_camera_y = target.y;
|
||||
target_camera_x = target.x;
|
||||
target_camera_y = target.y;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,13 +1,31 @@
|
|||
if ( global.cutscene_mode ) {
|
||||
target = instance_nearest(x, y, obj_cutscene_camera);
|
||||
if (instance_exists( obj_cutscene_camera)) {
|
||||
target = instance_nearest(x, y, obj_cutscene_camera);
|
||||
} else {
|
||||
target = obj_player_cirno;
|
||||
}
|
||||
} else {
|
||||
target = obj_marisa;
|
||||
target = obj_player_cirno;
|
||||
}
|
||||
|
||||
if ( instance_exists(target) ) {
|
||||
target_camera_x = target.x;
|
||||
target_camera_y = target.y;
|
||||
|
||||
if ( mouse_check_button(mb_left) && target.lasso_build) {
|
||||
target_camera_x = (target.x + target.x + mouse_x) / 3;
|
||||
target_camera_y = (target.y + target.y + mouse_y) / 3;
|
||||
}
|
||||
if ( mouse_check_button(mb_right) && target.lasso_contract && target.lasso_stored > 0) {
|
||||
target_camera_x = (target.x + target.x + target.lasso_x) / 3;
|
||||
target_camera_y = (target.y + target.y + target.lasso_y) / 3;
|
||||
}
|
||||
}
|
||||
|
||||
x = x + lengthdir_x( abs(0.2 * (target.x - x)), point_direction(x, y, target.x, target.y) );
|
||||
y = y + lengthdir_y( abs(0.2 * (target.y - y)), point_direction(x, y, target.x, target.y) );
|
||||
|
||||
x = x + lengthdir_x( abs(0.2 * (target_camera_x - x)), point_direction(x, y, target_camera_x, target_camera_y) );
|
||||
y = y + lengthdir_y( abs(0.2 * (target_camera_y - y)), point_direction(x, y, target_camera_x, target_camera_y) );
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
if (!global.cutscene_mode) { global.cutscene_mode = true;
|
||||
global.cutscene_number = CUTSCENE_OPENING;
|
||||
timeline_index = tml_cutscene_explainer;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
global.cutscene_mode = false;global.cutscene_number = CUTSCENE_NOSCENE;
|
||||
global.dialogue_mode = false;
|
||||
timeline_running = false;
|
||||
|
||||
room_goto_next();
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
if (global.cutscene_mode) { if (timeline_running && global.dialogue_mode ) {
|
||||
timeline_running = false;
|
||||
}
|
||||
if (!timeline_running && !global.dialogue_mode ) {
|
||||
timeline_running = true;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_cutscene",
|
||||
"path": "sprites/spr_cutscene/spr_cutscene.yy",
|
||||
},
|
||||
"solid": false,
|
||||
"visible": false,
|
||||
"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":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":1,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":64,"eventType":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
],
|
||||
"properties": [],
|
||||
"overriddenProperties": [],
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_cutscene_explainer",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -1,6 +1,9 @@
|
|||
textspew = "";
|
||||
texttarget = "";
|
||||
textload = "";
|
||||
textlines = ["","","","","","",""];
|
||||
textlinecount = 0;
|
||||
textlinefadein = 0;
|
||||
spewlength = 0;
|
||||
actor_left = "";
|
||||
actor_left_emote = EMOTE_NEUTRAL;
|
||||
|
@ -10,10 +13,15 @@ actor_right_emote = EMOTE_NEUTRAL;
|
|||
actor_right_sprite = -1;
|
||||
last_active = LEFT_ACTOR;
|
||||
text_advance_ready = TEXT_LOADING;
|
||||
|
||||
narrator_alpha = 0;
|
||||
bg_id = BG_NONE;
|
||||
bg_sprite = -1;
|
||||
|
||||
name_test = ds_queue_create();
|
||||
bg_test = ds_queue_create();
|
||||
text_test = ds_queue_create();
|
||||
active_test = ds_queue_create();
|
||||
emote_test = ds_queue_create();
|
||||
|
||||
loopdoop = 0;
|
||||
loopdoop = 0;
|
||||
tutorial_fadeout = 400;
|
|
@ -0,0 +1,81 @@
|
|||
if (global.dialogue_mode) {
|
||||
// Draw background image
|
||||
draw_set_alpha(1);
|
||||
if (bg_sprite != -1) {
|
||||
draw_sprite( bg_sprite, 0, 0, 0 );
|
||||
}
|
||||
|
||||
// Draw character portraits
|
||||
if (last_active == RIGHT_ACTOR || last_active == LEFT_ACTOR) {
|
||||
if ( actor_left_sprite != -1 ) {
|
||||
draw_sprite_ext( actor_left_sprite, 0, camera_get_view_x(view_camera), camera_get_view_y(view_camera), 1, 1, 0, c_white, 1 - (.5 * last_active));
|
||||
}
|
||||
if ( actor_right_sprite != -1 ) {
|
||||
draw_sprite_ext( actor_right_sprite, 0, camera_get_view_x(view_camera) + 640, camera_get_view_y(view_camera), -1, 1, 0, c_white, .5 + (.5 * last_active));
|
||||
}
|
||||
}
|
||||
if (last_active == NARRATOR) {
|
||||
if ( actor_left_sprite != -1 ) {
|
||||
draw_sprite_ext( actor_left_sprite, 0, camera_get_view_x(view_camera), camera_get_view_y(view_camera), 1, 1, 0, c_white, 1);
|
||||
}
|
||||
if ( actor_right_sprite != -1 ) {
|
||||
draw_sprite_ext( actor_right_sprite, 0, camera_get_view_x(view_camera) + 640, camera_get_view_y(view_camera), -1, 1, 0, c_white, 1);
|
||||
}
|
||||
}
|
||||
|
||||
// Draw ADV mode (dialogue box)
|
||||
if (last_active == RIGHT_ACTOR || last_active == LEFT_ACTOR) {
|
||||
narrator_alpha = 0;
|
||||
draw_set_halign(fa_left);
|
||||
draw_sprite(spr_text_box, 0, camera_get_view_x(view_camera) + 30, camera_get_view_y(view_camera) + 220);
|
||||
|
||||
draw_set_font(fn_dialogue_names);
|
||||
draw_set_alpha(1);
|
||||
if ( last_active == LEFT_ACTOR || actor_right = "noname") {
|
||||
draw_set_alpha(0);
|
||||
}
|
||||
if ( actor_right == "___") {
|
||||
draw_text( camera_get_view_x(view_camera) + 85, camera_get_view_y(view_camera) + 225, "???" );
|
||||
} else {
|
||||
draw_text( camera_get_view_x(view_camera) + 85, camera_get_view_y(view_camera) + 225, actor_right );
|
||||
}
|
||||
|
||||
draw_set_alpha(1);
|
||||
if ( last_active == RIGHT_ACTOR || actor_left = "noname" ) {
|
||||
draw_set_alpha(0);
|
||||
}
|
||||
if ( actor_left == "___") {
|
||||
draw_text( camera_get_view_x(view_camera) + 85, camera_get_view_y(view_camera) + 225, "???" );
|
||||
} else {
|
||||
draw_text( camera_get_view_x(view_camera) + 85, camera_get_view_y(view_camera) + 225, actor_left );
|
||||
}
|
||||
draw_set_alpha(1);
|
||||
|
||||
draw_set_font(fn_dialogue_text);
|
||||
draw_text( camera_get_view_x(view_camera) + 75, camera_get_view_y(view_camera) + 265, textspew );
|
||||
}
|
||||
// Draw NVL mode (fade-out full-screen text)
|
||||
if (last_active == NARRATOR) {
|
||||
draw_set_color(c_black);
|
||||
narrator_alpha++;
|
||||
draw_set_alpha(0 + min(0.5, narrator_alpha / 25 ));
|
||||
draw_rectangle(camera_get_view_x(view_camera) - 1, camera_get_view_y(view_camera) - 1, camera_get_view_x(view_camera) + 641, camera_get_view_y(view_camera) + 361, false);
|
||||
draw_set_color(c_white);
|
||||
draw_set_font(fn_dialogue_text);
|
||||
draw_set_halign(fa_center);
|
||||
for(var i = 1; i <= textlinecount + 1; i++) {
|
||||
draw_set_alpha( (-10 - (80 * i) + textlinefadein) / 60 );
|
||||
draw_text(camera_get_view_x(view_camera) + 320, camera_get_view_y(view_camera) + 180 - (20 * textlinecount) + (40 * (i-1)), textlines[i]);
|
||||
}
|
||||
}
|
||||
if (text_advance_ready == TEXT_READY) {
|
||||
loopdoop++;
|
||||
draw_set_alpha(1);
|
||||
draw_sprite( spr_text_arrow, round((loopdoop % 160) / 20), camera_get_view_x(view_camera) + 540, camera_get_view_y(view_camera) + 300 );
|
||||
}
|
||||
|
||||
//draw tutorial text
|
||||
draw_set_font(fn_help);
|
||||
draw_set_halign(fa_left);
|
||||
draw_text_ext_transformed_color_border( 5, 345, "Z: advance text. CTRL: skip", 9, 620, 1, 1, 0, c_blue, c_blue, c_blue, c_blue, tutorial_fadeout / 20, 1, c_white); //6
|
||||
}
|
|
@ -1,6 +1,29 @@
|
|||
tutorial_fadeout--;
|
||||
|
||||
if (global.dialogue_mode) {
|
||||
if (text_advance_ready == TEXT_LOADING && !ds_queue_empty(name_test) && !ds_queue_empty(name_test) && !ds_queue_empty(active_test) && !ds_queue_empty(emote_test)) {
|
||||
if (text_advance_ready == TEXT_LOADING && !ds_queue_empty(name_test) && !ds_queue_empty(name_test) && !ds_queue_empty(active_test) && !ds_queue_empty(emote_test) && !ds_queue_empty(bg_test)) {
|
||||
text_advance_ready = TEXT_TYPING;
|
||||
bg_id = ds_queue_dequeue(bg_test);
|
||||
switch ( bg_id ) {
|
||||
case BG_NONE:
|
||||
bg_sprite = -1;
|
||||
break;
|
||||
case BG_TEST:
|
||||
bg_sprite = spr_bg_test;
|
||||
break;
|
||||
case BG_MISTYLAKE:
|
||||
bg_sprite = spr_bg_mistylake;
|
||||
break;
|
||||
case BG_SDM:
|
||||
bg_sprite = spr_bg_scarletdevilmansion;
|
||||
break;
|
||||
case BG_FAIR:
|
||||
bg_sprite = spr_bg_fairground;
|
||||
break;
|
||||
default:
|
||||
bg_sprite = -1;
|
||||
break;
|
||||
}
|
||||
actor_left = ds_queue_dequeue(name_test);
|
||||
actor_left_emote = ds_queue_dequeue(emote_test);
|
||||
switch ( actor_left_emote ) {
|
||||
|
@ -58,27 +81,50 @@ if (global.dialogue_mode) {
|
|||
textload = ds_queue_dequeue(text_test);
|
||||
texttarget = string_replace_all(textload, "#", "\n" );
|
||||
textspew = "";
|
||||
textlines = [ "", "", "", "", "", "", "" ];
|
||||
textlinecount = 1;
|
||||
spewlength = 1;
|
||||
last_active = ds_queue_dequeue(active_test);
|
||||
}
|
||||
|
||||
if (text_advance_ready == TEXT_TYPING ) {
|
||||
textspew += string_char_at(texttarget, spewlength);
|
||||
audio_play_sound( snd_typewriter, 0, false );
|
||||
spewlength++;
|
||||
if (keyboard_check_pressed(ord("Z"))) {
|
||||
// if ( scr_input_get(INPUT_SHOT_LEFT) || scr_input_get(INPUT_SHOT_RIGHT) ) {
|
||||
textspew = texttarget;
|
||||
keyboard_clear(ord("Z"));
|
||||
if ( last_active == NARRATOR) {
|
||||
for( var i = 1; i <= string_length(texttarget); i++ ) {
|
||||
textlines[textlinecount] += string_char_at(texttarget, spewlength);
|
||||
if (string_char_at(texttarget, spewlength) == "\n") {
|
||||
textlinecount++;
|
||||
}
|
||||
spewlength++;
|
||||
}
|
||||
textlinefadein++;
|
||||
if (keyboard_check_pressed(ord("Z")) || keyboard_check(vk_control)) {
|
||||
textlinefadein = 1000;
|
||||
keyboard_clear(ord("Z"));
|
||||
keyboard_clear(vk_control);
|
||||
}
|
||||
if ( textlinefadein >= 60 + (90 * textlinecount) ) {
|
||||
text_advance_ready = TEXT_READY;
|
||||
}
|
||||
}
|
||||
if (textspew == texttarget) {
|
||||
text_advance_ready = TEXT_READY;
|
||||
|
||||
if (last_active == RIGHT_ACTOR || last_active == LEFT_ACTOR) {
|
||||
textspew += string_char_at(texttarget, spewlength);
|
||||
audio_play_sound( snd_typewriter, 0, false );
|
||||
spewlength++;
|
||||
if (keyboard_check_pressed(ord("Z")) || keyboard_check(vk_control)) {
|
||||
textspew = texttarget;
|
||||
keyboard_clear(ord("Z"));
|
||||
keyboard_clear(vk_control);
|
||||
}
|
||||
if (textspew == texttarget) {
|
||||
text_advance_ready = TEXT_READY;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (text_advance_ready == TEXT_READY) {
|
||||
if ( keyboard_check_pressed(ord("Z"))) {
|
||||
//if ( scr_input_get(INPUT_SHOT_LEFT) || scr_input_get(INPUT_SHOT_RIGHT) ) {
|
||||
if ( keyboard_check_pressed(ord("Z")) || keyboard_check(vk_control)) {
|
||||
textlinefadein = 0;
|
||||
text_advance_ready = TEXT_LOADING;
|
||||
if (ds_queue_empty(name_test) || ds_queue_empty(text_test) || ds_queue_empty(active_test) || ds_queue_empty(emote_test)) {
|
||||
global.dialogue_mode = false;
|
||||
|
@ -95,6 +141,18 @@ if (global.dialogue_mode) {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_controller",
|
||||
"path": "sprites/spr_controller/spr_controller.yy",
|
||||
"name": "spr_cutscene",
|
||||
"path": "sprites/spr_cutscene/spr_cutscene.yy",
|
||||
},
|
||||
"solid": false,
|
||||
"visible": true,
|
||||
|
@ -32,7 +32,7 @@
|
|||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_dialogue_adv",
|
||||
"name": "obj_dialogue",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
if (global.dialogue_mode) {
|
||||
|
||||
if ( actor_left_sprite != -1 ) {
|
||||
draw_sprite_ext( actor_left_sprite, 0, camera_get_view_x(view_camera), camera_get_view_y(view_camera), 1, 1, 0, c_white, 1 - (.5 * last_active));
|
||||
}
|
||||
if ( actor_right_sprite != -1 ) {
|
||||
draw_sprite_ext( actor_right_sprite, 0, camera_get_view_x(view_camera) + 640, camera_get_view_y(view_camera), -1, 1, 0, c_white, .5 + (.5 * last_active));
|
||||
}
|
||||
|
||||
// Draw dialogue box
|
||||
draw_sprite(spr_text_box, 0, camera_get_view_x(view_camera) + 30, camera_get_view_y(view_camera) + 220);
|
||||
|
||||
draw_set_font(fn_dialogue_names);
|
||||
draw_set_alpha(1);
|
||||
if ( last_active == LEFT_ACTOR || actor_right = "noname") {
|
||||
draw_set_alpha(0);
|
||||
}
|
||||
draw_text( camera_get_view_x(view_camera) + 85, camera_get_view_y(view_camera) + 225, actor_right );
|
||||
|
||||
draw_set_alpha(1);
|
||||
if ( last_active == RIGHT_ACTOR || actor_left = "noname") {
|
||||
draw_set_alpha(0);
|
||||
}
|
||||
draw_text( camera_get_view_x(view_camera) + 85, camera_get_view_y(view_camera) + 225, actor_left );
|
||||
draw_set_alpha(1);
|
||||
|
||||
draw_set_font(fn_dialogue_text);
|
||||
draw_text( camera_get_view_x(view_camera) + 75, camera_get_view_y(view_camera) + 265, textspew );
|
||||
|
||||
if (text_advance_ready == TEXT_READY) {
|
||||
loopdoop++;
|
||||
draw_sprite( spr_text_arrow, round((loopdoop % 160) / 20), camera_get_view_x(view_camera) + 540, camera_get_view_y(view_camera) + 300 );
|
||||
}
|
||||
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
counter = 0;
|
||||
countermax = 1200;
|
||||
|
||||
alpha_cycle = 0;
|
|
@ -1,38 +0,0 @@
|
|||
draw_set_alpha(min(.7, alpha_cycle) );
|
||||
draw_set_color(c_black);
|
||||
draw_rectangle(-1, -1, 641, 361, false);
|
||||
|
||||
draw_set_alpha(1);
|
||||
draw_set_color(c_white);
|
||||
draw_set_halign( fa_left );
|
||||
|
||||
draw_set_font( fn_textsmall );
|
||||
draw_text( 2, 2, "Hold 'C' to skip. . ." );
|
||||
|
||||
draw_set_font( fn_textlarge );
|
||||
draw_text_color(30, 40, "Mystia"
|
||||
, c_fuchsia, c_fuchsia, c_white, c_white, alpha_cycle - 1);
|
||||
draw_set_font( fn_textsmall );
|
||||
draw_text_color(45, 70, "See, I'm working on my endurance. I wanna get like super pumped to impress my bugfriend."
|
||||
, c_fuchsia, c_fuchsia, c_white, c_white, alpha_cycle - 2);
|
||||
draw_text_color(45, 90, "So what I need you to do, is, like, shoot me a lot."
|
||||
, c_fuchsia, c_fuchsia, c_white, c_white, alpha_cycle - 3);
|
||||
draw_text_color(45, 110, "Not too much, mind you. Just until I say 'when'~"
|
||||
, c_fuchsia, c_fuchsia, c_white, c_white, alpha_cycle - 4);
|
||||
|
||||
draw_set_font( fn_textlarge );
|
||||
draw_text_color(30, 150, "Youmu"
|
||||
, c_lime, c_lime, c_white, c_white, alpha_cycle - 7);
|
||||
draw_set_font( fn_textsmall );
|
||||
draw_text_color(45, 180, "So, lemme get this straight. You want me, to shoot a strange bird, 'till 'when'?"
|
||||
, c_lime, c_lime, c_white, c_white, alpha_cycle - 8);
|
||||
draw_text_color(45, 200, "...why does Lady Yuyuko have a dinner table set up?"
|
||||
, c_lime, c_lime, c_white, c_white, alpha_cycle - 11);
|
||||
draw_text_color(45, 220, "*sigh* this is my punishment for having a cool sword and ghost powers, i knew it was coming"
|
||||
, c_lime, c_lime, c_white, c_white, alpha_cycle - 15);
|
||||
|
||||
|
||||
draw_text_color(45, 270, "Arrows move, Z shoots"
|
||||
, c_ltgrey, c_ltgrey, c_white, c_white, alpha_cycle - 17);
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
counter++;
|
||||
|
||||
if (counter > 1000) {
|
||||
alpha_cycle = (970 - counter) / 30;
|
||||
} else {
|
||||
alpha_cycle = counter / 30;
|
||||
}
|
||||
|
||||
if ( counter >= countermax ) {
|
||||
room_goto_next();
|
||||
}
|
||||
|
||||
if ( scr_input_get(INPUT_SHOT_RIGHT) ) {
|
||||
counter += 10;
|
||||
}
|
|
@ -10,21 +10,24 @@ draw_text_color( 320, 30, "The following is a fan-created derivative work of To
|
|||
|
||||
draw_set_font( fn_textsmall );
|
||||
draw_set_halign( fa_center );
|
||||
draw_text_color( 320, 230, "JAM DEVELOPMENT BUILD", c_teal, c_teal, c_aqua, c_aqua, alpha_cycle);
|
||||
draw_text_color( 320, 230, "JAM RELEASE BUILD", c_teal, c_teal, c_aqua, c_aqua, alpha_cycle);
|
||||
|
||||
draw_set_halign( fa_right );
|
||||
draw_text_color( 630, 260, "studio_tiny_leaf:\n"
|
||||
+ "https://fenny.space\n"
|
||||
+ "twitter: @magicalfeyfenny\n\n"
|
||||
draw_text_color( 630, 260, "\n\n\n\n"
|
||||
+ "Team Shanghai Alice:\n"
|
||||
+ "https://touhou-project.news/\n"
|
||||
, c_teal, c_teal, c_aqua, c_aqua, alpha_cycle);
|
||||
|
||||
draw_set_halign( fa_left );
|
||||
draw_text_color( 10, 260, "\n"
|
||||
draw_text_color( 10, 260, ""
|
||||
+ "https://fenny.space\n"
|
||||
+ "https://magicalfeyfenny.itch.io\n"
|
||||
+ "twitter: @magicalfeyfenny\n"
|
||||
+ "\n"
|
||||
+ "Source code:\n"
|
||||
+ "https://git.fenny.space/magicalfeyfenny/thsj2022\n\n"
|
||||
+ "Download this game from itch.io!\n"
|
||||
+ "https://magicalfeyfenny.itch.io/thsj2022placeholder\n"
|
||||
+ "https://git.fenny.space/magicalfeyfenny/thsj2022\n"
|
||||
, c_teal, c_teal, c_aqua, c_aqua, alpha_cycle);
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
hp -= SHOT_FLAME_DAMAGE;
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
with (other) {
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
hp -= SHOT_MISSILE_DAMAGE;
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
with (other) {
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
hp -= SHOT_NORMAL_DAMAGE;
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
hp = 10;
|
||||
image_speed = 0;
|
||||
dspeed = 0;
|
||||
|
||||
blast = 0;
|
|
@ -0,0 +1,11 @@
|
|||
obj_player_cirno.lasso_chaining = 300;
|
||||
obj_player_cirno.lasso_chain += 1 + obj_player_cirno.chain_rank;
|
||||
obj_player_cirno.score_current += 100 * obj_player_cirno.lasso_chain * obj_player_cirno.chain_rank;
|
||||
obj_player_cirno.game_timer += 1;
|
||||
if (obj_player_cirno.game_timer > 3600) {
|
||||
obj_player_cirno.game_timer = 3600;
|
||||
}
|
||||
|
||||
effect_create_above(ef_flare, x, y, 1, make_color_rgb(irandom(255), irandom(255), irandom(255)));
|
||||
//audio_play_sound(snd_enemy_destroy, 10, false);
|
||||
|
|
@ -0,0 +1 @@
|
|||
draw_sprite(spr_dropshadow, 0, x, y + 40);draw_self();
|
|
@ -0,0 +1,17 @@
|
|||
image_index = (direction + 22.5) / 45;
|
||||
if (direction + 22.5 >= 360 ) {
|
||||
image_index = 0;
|
||||
}
|
||||
if (hp <= 0) {
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
|
||||
if (!place_meeting( x + lengthdir_x( dspeed, direction ), y, obj_wall ) ) {
|
||||
x += lengthdir_x( dspeed, direction );
|
||||
}
|
||||
if (!place_meeting( x, y + lengthdir_y( dspeed, direction ), obj_wall ) ) {
|
||||
y += lengthdir_y( dspeed, direction );
|
||||
}
|
||||
|
||||
depth = -y;
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_yukkuri_base",
|
||||
"path": "sprites/spr_yukkuri_base/spr_yukkuri_base.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":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":1,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
],
|
||||
"properties": [],
|
||||
"overriddenProperties": [],
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_enemy_parent",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
//do nothing
|
|
@ -22,6 +22,7 @@
|
|||
"physicsShapePoints": [],
|
||||
"eventList": [
|
||||
{"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
],
|
||||
"properties": [],
|
||||
"overriddenProperties": [],
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
if (invuln <= 0) {
|
||||
hp -= 1;
|
||||
invuln = 90;
|
||||
target_speed = 12;
|
||||
dspeed = 12;
|
||||
target_direction = point_direction(other.x,other.y,x,y);
|
||||
direction = target_direction;
|
||||
audio_play_sound(snd_ow, 10, false);
|
||||
}
|
||||
|
||||
if (hp < 1) {
|
||||
global.cutscene_mode = false;
|
||||
global.cutscene_number = CUTSCENE_NOSCENE;
|
||||
global.dialogue_mode = false;
|
||||
room_goto(rm_game);
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
if (invuln <= 0) {
|
||||
hp -= 1;
|
||||
invuln = 90;
|
||||
target_speed = 12;
|
||||
dspeed = 12;
|
||||
target_direction = point_direction(other.x,other.y,x,y);
|
||||
direction = target_direction;
|
||||
audio_play_sound(snd_ow, 10, false);
|
||||
}
|
||||
|
||||
if (hp < 1) {
|
||||
global.cutscene_mode = false;
|
||||
global.cutscene_number = CUTSCENE_NOSCENE;
|
||||
global.dialogue_mode = false;
|
||||
room_goto(rm_game);
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
hp = 10;
|
||||
audio_play_sound(snd_boss_laugh, 10, false);
|
||||
with (other) {
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
if (global.combat_mode && other.expander > 0 && other.expander < 80) {
|
||||
|
||||
|
||||
if (invuln <= 0) {
|
||||
hp -= 1;
|
||||
invuln = 90;
|
||||
target_speed = 12;
|
||||
dspeed = 12;
|
||||
target_direction = point_direction(other.x,other.y,x,y);
|
||||
direction = target_direction;
|
||||
audio_play_sound(snd_ow, 10, false);
|
||||
}
|
||||
|
||||
if (hp < 1) {
|
||||
global.cutscene_mode = false;
|
||||
global.cutscene_number = CUTSCENE_NOSCENE;
|
||||
global.dialogue_mode = false;
|
||||
room_goto(rm_game);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
switch ( ceil(other.image_index) ) { case PLAYER_POWERUP_FLAMES: {
|
||||
powerup_ammo = 500;
|
||||
powerup = PLAYER_POWERUP_FLAMES;
|
||||
break;
|
||||
}
|
||||
case PLAYER_POWERUP_LASER: {
|
||||
powerup_ammo = 50;
|
||||
powerup = PLAYER_POWERUP_LASER;
|
||||
break;
|
||||
}
|
||||
case PLAYER_POWERUP_MISSILE: {
|
||||
powerup_ammo = 200;
|
||||
powerup = PLAYER_POWERUP_MISSILE;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
break;
|
||||
}
|
||||
}
|
||||
with (other) {
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
direction = 0;
|
||||
target_direction = 0;
|
||||
shot_direction = 0;
|
||||
held_shot_direction = -1;
|
||||
delayer = 0;
|
||||
aim = -5 + random(10);
|
||||
dspeed = 0;
|
||||
cycler = 0;
|
||||
lasso_size = 50;
|
||||
lasso_stored = 0;
|
||||
lasso_x = 0;
|
||||
lasso_y = 0;
|
||||
lasso_collide = ds_list_create();
|
||||
lasso_chain = 0;
|
||||
lasso_chaining = 300;
|
||||
chain_rank = 0;
|
||||
lasso_rotator = 0;
|
||||
target_speed = 0;
|
||||
invuln = 0;
|
||||
image_speed = 0;
|
||||
score_current = 0;
|
||||
|
||||
cutscene_mover = false;
|
||||
cutscene_anim = false;
|
||||
cutscene_timer = 0;
|
||||
cut_timer = 0;
|
||||
cutscene_anim_charge = false;
|
||||
|
||||
|
||||
|
||||
game_timer = 3600;
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
lasso_rotator += 12;
|
||||
if (lasso_x > 0 && lasso_y > 0 ) {
|
||||
if (lasso_build) {
|
||||
draw_set_color( c_aqua );
|
||||
draw_set_alpha( 1 );
|
||||
draw_circle( x, y + 40, lasso_size, true);
|
||||
draw_circle( x, y + 40, lasso_size-1, true);
|
||||
draw_circle( x, y + 40, lasso_size+1, true);
|
||||
draw_line( x, y, x + lengthdir_x( lasso_size, lasso_rotator), y + 40 + lengthdir_y( lasso_size, lasso_rotator) );
|
||||
draw_line( x, y, x - 1 + lengthdir_x( lasso_size, lasso_rotator), y - 1 + 40 + lengthdir_y( lasso_size, lasso_rotator) );
|
||||
draw_line( x, y, x + 1 + lengthdir_x( lasso_size, lasso_rotator), y + 1 + 40 + lengthdir_y( lasso_size, lasso_rotator) );
|
||||
} else {
|
||||
if (lasso_contract) {
|
||||
draw_set_color( c_aqua );
|
||||
draw_set_alpha( 0.4 );
|
||||
draw_circle( lasso_x, lasso_y, lasso_stored, false );
|
||||
}
|
||||
draw_set_color(c_aqua);
|
||||
draw_set_alpha( 1);
|
||||
draw_circle( lasso_x, lasso_y, lasso_stored, true);
|
||||
draw_circle( lasso_x, lasso_y, lasso_stored+1, true);
|
||||
draw_circle( lasso_x, lasso_y, lasso_stored-1, true);
|
||||
draw_line( x, y, lasso_x + lengthdir_x( lasso_stored, lasso_rotator), lasso_y + lengthdir_y( lasso_stored, lasso_rotator ) );
|
||||
draw_line( x, y, lasso_x + 1 + lengthdir_x( lasso_stored, lasso_rotator), lasso_y +1 + lengthdir_y( lasso_stored, lasso_rotator ) );
|
||||
draw_line( x, y, lasso_x -1 + lengthdir_x( lasso_stored, lasso_rotator), lasso_y -1+ lengthdir_y( lasso_stored, lasso_rotator ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (invuln > 0 && invuln % 3 == 0) {
|
||||
exit;
|
||||
} else {
|
||||
draw_sprite(spr_dropshadow, 0, x, y + 40);
|
||||
draw_self();
|
||||
}
|
||||
|
|
@ -0,0 +1,247 @@
|
|||
game_timer--;
|
||||
if (game_timer <= 0) {
|
||||
global.scoring = score_current;
|
||||
if (audio_is_playing(snd_player_deathbomb)) {
|
||||
audio_stop_sound(snd_player_deathbomb);
|
||||
}
|
||||
room_goto_next();
|
||||
}
|
||||
|
||||
var up = scr_input_get( INPUT_UP );
|
||||
var down = scr_input_get( INPUT_DOWN );
|
||||
var right = scr_input_get( INPUT_RIGHT );
|
||||
var left = scr_input_get( INPUT_LEFT );
|
||||
lasso_build = mouse_check_button( mb_left );
|
||||
lasso_launch = mouse_check_button_released( mb_left );
|
||||
lasso_contract = mouse_check_button( mb_right );
|
||||
lasso_release = mouse_check_button_released( mb_right );
|
||||
|
||||
|
||||
var move = false;
|
||||
if ( up && down ) {
|
||||
up = false;
|
||||
down = false;
|
||||
}
|
||||
if (left && right ) {
|
||||
left = false;
|
||||
right = false;
|
||||
}
|
||||
|
||||
//8-direction rotation
|
||||
image_index = (direction + 22.5) / 45;
|
||||
if (direction + 22.5 >= 360 ) {
|
||||
image_index = 0;
|
||||
}
|
||||
depth = -y;
|
||||
|
||||
//gameplay actions
|
||||
if (!global.cutscene_mode) {
|
||||
//movement
|
||||
if (( up || down || left || right ) && invuln < 75) {
|
||||
move = true;
|
||||
target_speed = UNFOC_SPEED;
|
||||
if ( left ) {
|
||||
target_direction = 180;
|
||||
image_index = 4;
|
||||
}
|
||||
if ( up ) {
|
||||
target_direction = 90;
|
||||
image_index = 2;
|
||||
}
|
||||
if ( right ) {
|
||||
target_direction = 0;
|
||||
image_index = 0;
|
||||
}
|
||||
if ( down ) {
|
||||
target_direction = 270;
|
||||
image_index = 6;
|
||||
}
|
||||
if ( up && left ) {
|
||||
target_direction = 135;
|
||||
image_index = 3;
|
||||
}
|
||||
if ( up && right ) {
|
||||
target_direction = 45;
|
||||
image_index = 1;
|
||||
}
|
||||
if ( down && right ) {
|
||||
target_direction = 315;
|
||||
image_index = 7;
|
||||
}
|
||||
if ( down && left ) {
|
||||
target_direction = 225;
|
||||
image_index = 5;
|
||||
}
|
||||
direction = target_direction;
|
||||
}
|
||||
if ( move ) {
|
||||
if ( dspeed < target_speed ) {
|
||||
dspeed += 1;
|
||||
} else {
|
||||
dspeed = target_speed;
|
||||
}
|
||||
}
|
||||
|
||||
//lasso mechanics
|
||||
if ( lasso_launch || lasso_contract ) { //cannot build lasso while there is an active lasso
|
||||
lasso_build = false;
|
||||
}
|
||||
if ( lasso_release ) {
|
||||
lasso_contract = false;
|
||||
}
|
||||
if ( invuln >= 75 ) {
|
||||
lasso_build = false;
|
||||
lasso_launch = false;
|
||||
lasso_contract = false;
|
||||
lasso_release = false;
|
||||
lasso_stored = 0;
|
||||
lasso_size = 50;
|
||||
lasso_x = 0;
|
||||
lasso_y = 0;
|
||||
lasso_chaining = 0;
|
||||
}
|
||||
if ( lasso_build ) { //hold left click to build lasso power
|
||||
lasso_size++;
|
||||
if ( lasso_size > 200 ) {
|
||||
lasso_size = 200;
|
||||
}
|
||||
lasso_x = mouse_x;
|
||||
lasso_y = mouse_y;
|
||||
}
|
||||
if ( lasso_launch ) { //release left click to throw the lasso and prime a location
|
||||
lasso_stored = lasso_size;
|
||||
lasso_size = 50;
|
||||
lasso_x = mouse_x;
|
||||
lasso_y = mouse_y;
|
||||
}
|
||||
if ( lasso_contract ) { //hold right click to damage enemies and gain points and chain
|
||||
lasso_stored--;
|
||||
if (!audio_is_playing(snd_player_deathbomb)) {
|
||||
audio_play_sound(snd_player_deathbomb, 0, true);
|
||||
}
|
||||
if (lasso_stored <= 0) {
|
||||
lasso_release = true;
|
||||
}
|
||||
//hurtbox for yukkuris trapped within
|
||||
ds_list_clear(lasso_collide);
|
||||
var hit = collision_circle_list(lasso_x, lasso_y, lasso_stored, obj_enemy_parent, false, true, lasso_collide, false)
|
||||
if (hit > 0) {
|
||||
lasso_chain += hit / 50;
|
||||
score_current += 10 * lasso_chain;
|
||||
for (var l = 0; l < hit; l++) {
|
||||
lasso_collide[|l].hp--;
|
||||
}
|
||||
lasso_chaining = 300;
|
||||
}
|
||||
}
|
||||
if ( lasso_release ) { //release right-click (or run out of lasso power) to retract lasso
|
||||
if (audio_is_playing(snd_player_deathbomb)) {
|
||||
audio_stop_sound(snd_player_deathbomb);
|
||||
}
|
||||
lasso_x = 0;
|
||||
lasso_y = 0;
|
||||
lasso_stored = 0;
|
||||
lasso_size = 50;
|
||||
}
|
||||
|
||||
//chain drop penalty
|
||||
lasso_chaining--;
|
||||
if (lasso_chaining <= 0) {
|
||||
lasso_chain = lasso_chain / 1.02;
|
||||
game_timer -= 5;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
invuln -= 1;
|
||||
|
||||
//friction
|
||||
if ( !move ) {
|
||||
target_speed = 0;
|
||||
if ( dspeed > target_speed ) {
|
||||
dspeed -= 1;
|
||||
} else {
|
||||
dspeed = target_speed;
|
||||
}
|
||||
}
|
||||
|
||||
//collide with solid walls
|
||||
if (!place_meeting( x + lengthdir_x( dspeed, direction ), y, obj_wall ) ) {
|
||||
x += lengthdir_x( dspeed, direction );
|
||||
}
|
||||
if (!place_meeting( x, y + lengthdir_y( dspeed, direction ), obj_wall ) ) {
|
||||
y += lengthdir_y( dspeed, direction );
|
||||
}
|
||||
|
||||
//chain rank determination
|
||||
if ( lasso_chain < 9 ) {
|
||||
chain_rank = RANK_UNRANKED;
|
||||
}
|
||||
if ( lasso_chain >= 9 ) {
|
||||
chain_rank = RANK_E_EASY;
|
||||
}
|
||||
if ( lasso_chain >= 69 ) {
|
||||
chain_rank = RANK_D_DUMMY;
|
||||
}
|
||||
if ( lasso_chain >= 420 ) {
|
||||
chain_rank = RANK_C_CUTIE;
|
||||
}
|
||||
if ( lasso_chain >= 1234 ) {
|
||||
chain_rank = RANK_B_BAKA;
|
||||
}
|
||||
if ( lasso_chain >= 2022 ) {
|
||||
chain_rank = RANK_A_ALIEN;
|
||||
}
|
||||
if ( lasso_chain >= 5555 ) {
|
||||
chain_rank = RANK_S_SWEET;
|
||||
}
|
||||
if ( lasso_chain >= 8008 ) {
|
||||
chain_rank = RANK_SS_SILLY_SPRITE;
|
||||
}
|
||||
if ( lasso_chain >= 12345 ) {
|
||||
chain_rank = RANK_SSS_SMOKIN_STYLIN_SISTER;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//cutscene actions
|
||||
/*
|
||||
if ( global.cutscene_mode ) {
|
||||
switch (global.cutscene_number) {
|
||||
case CUTSCENE_FINAL: {
|
||||
if (cutscene_mover) {
|
||||
move_towards_point( 736, 768, 2.5 );
|
||||
if (x > 734 && x < 738 && y > 766 && y < 770 ) {
|
||||
cutscene_mover = false;
|
||||
speed = 0;
|
||||
direction = 90;
|
||||
}
|
||||
}
|
||||
if (cutscene_anim) {
|
||||
spark = instance_create_layer( x, y, "lyr_ground", obj_master_spark);
|
||||
with (spark) {
|
||||
direction = point_direction( x, y, obj_cutscene_final.x, obj_cutscene_final.y );
|
||||
image_angle = direction;
|
||||
}
|
||||
audio_play_sound(snd_spark, 10, false);
|
||||
cutscene_anim = false;
|
||||
}
|
||||
if (cutscene_anim_charge) {
|
||||
cut_timer++;
|
||||
if (cut_timer % 5 == 0) {
|
||||
var angle = random(360);
|
||||
star = instance_create_layer( x + (64 * dcos(angle)), y + (64 * dsin(angle)), "lyr_ground", obj_marisa_charge_star );
|
||||
with (star) {
|
||||
direction = point_direction(x, y, other.x, other.y);
|
||||
speed = 1.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_player_cirno",
|
||||
"path": "sprites/spr_player_cirno/spr_player_cirno.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",},
|
||||
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
],
|
||||
"properties": [],
|
||||
"overriddenProperties": [],
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_player_cirno",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
if ( instance_number(obj_enemy_parent) < 200 + (obj_player_cirno.chain_rank * 50) ) {
|
||||
repeat( 1 + obj_player_cirno.chain_rank ) {
|
||||
sx = 280 + random(720);
|
||||
sy = 280 + random(720);
|
||||
while ((sx <= obj_player_cirno.x + 96) && (sx >= obj_player_cirno.x - 96) ) {
|
||||
sx = 280 + random(720);
|
||||
}
|
||||
while ((sy <= obj_player_cirno.y + 96) && (sy >= obj_player_cirno.y - 96) ) {
|
||||
sy = 280 + random(720);
|
||||
}
|
||||
randomizer = random(1);
|
||||
if (randomizer < 0.985 && obj_player_cirno.chain_rank >= 0) {
|
||||
instance_create_layer( sx, sy, "lyr_enemies", obj_yukkuri_marisa );
|
||||
} else {
|
||||
if (randomizer < 0.99 && obj_player_cirno.chain_rank >= 1) {
|
||||
instance_create_layer(sx, sy, "lyr_enemies", obj_yukkuri_hina );
|
||||
} else {
|
||||
if (randomizer < 0.995 && obj_player_cirno.chain_rank >= 2) {
|
||||
instance_create_layer(sx, sy, "lyr_enemies", obj_yukkuri_keine );
|
||||
} else {
|
||||
if (randomizer < 1 && obj_player_cirno.chain_rank >= 3) {
|
||||
instance_create_layer(sx, sy, "lyr_enemies", obj_yukkuri_suwako);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_controller",
|
||||
"path": "sprites/spr_controller/spr_controller.yy",
|
||||
},
|
||||
"solid": false,
|
||||
"visible": false,
|
||||
"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": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_spawner",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -1,4 +1,11 @@
|
|||
title_xscale = 1;
|
||||
title_yscale = 1;
|
||||
fade_in_time = 150;
|
||||
title_angle = 0;
|
||||
|
||||
|
||||
audio_stop_all();
|
||||
audio_play_sound(thegensokyo, 0, true);
|
||||
|
||||
title_mode = TITLE_MODE_START_FADEIN;
|
||||
|
||||
|
@ -11,3 +18,5 @@ menu_wait = 5;
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,43 +1,34 @@
|
|||
switch ( title_mode ) {
|
||||
case TITLE_MODE_START_FADEIN: {
|
||||
draw_set_font (fn_cursivelarge);
|
||||
draw_set_halign(fa_center);
|
||||
draw_text_ext_transformed_color_border(190, 100, "Sunflowers", 15, 1000, 1, 1, 25, c_yellow, c_yellow, c_orange, c_orange, ( 100 - title_switch_timer ) / 100, 1, c_maroon );
|
||||
draw_text_ext_transformed_color_border(460, 160, "Rain", 15, 1000, 1, 1, 25, c_dkgray, c_dkgray, c_silver, c_silver, ( 100 - title_switch_timer ) / 100, 1, c_navy );
|
||||
draw_set_font(fn_cursive);
|
||||
draw_text_ext_transformed_color_border(360, 140, "in the", 15, 1000, 1, 1, 0, c_white, c_white, c_white, c_white, ( 100 - title_switch_timer ) / 100, 1, c_black );
|
||||
draw_sprite_ext(spr_title_logo, 0, 320, 180, title_xscale, title_yscale, title_angle, c_white, 1);
|
||||
break;
|
||||
}
|
||||
case TITLE_MODE_START_READY: {
|
||||
draw_set_font (fn_cursivelarge);
|
||||
draw_sprite_ext(spr_title_logo, 0, 320, 180, title_xscale, title_yscale, title_angle, c_white, 1);
|
||||
draw_set_halign(fa_center);
|
||||
draw_text_ext_transformed_color_border(190, 100, "Sunflowers", 15, 1000, 1, 1, 25, c_yellow, c_yellow, c_orange, c_orange, 1, 1, c_maroon );
|
||||
draw_text_ext_transformed_color_border(460, 160, "Rain", 15, 1000, 1, 1, 25, c_dkgray, c_dkgray, c_silver, c_silver, 1, 1, c_navy );
|
||||
draw_set_font(fn_cursive);
|
||||
draw_text_ext_transformed_color_border(360, 140, "in the", 15, 1000, 1, 1, 0, c_silver, c_silver, c_white, c_white, 1, 1, c_black );
|
||||
draw_text_color(320, 250, "~~press any key~~", c_white, c_white, c_white, c_white, dsin(abs(title_switch_timer) * 2) );
|
||||
draw_text_ext_transformed_color_border(320, 250, "== press any key ==", 15, 1000, 1, 1, 0, c_blue, c_blue, c_aqua, c_aqua, dsin(abs(title_switch_timer) * 2), 1, c_white);
|
||||
|
||||
break;
|
||||
}
|
||||
case TITLE_MODE_MENU_FADEIN: {
|
||||
draw_set_font (fn_cursivelarge);
|
||||
draw_set_halign(fa_center);
|
||||
draw_text_ext_transformed_color_border(190 - (100 - (2 * title_switch_timer)), 100 + (50 - (1 * title_switch_timer)), "Sunflowers", 15, 1000, 1, 1, 25 + (760 - (13.2 * title_switch_timer)), c_yellow, c_yellow, c_orange, c_orange, 1, 1, c_maroon );
|
||||
draw_text_ext_transformed_color_border(460 - (280 - (5.6 * title_switch_timer)), 160 - (20 - (0.4 * title_switch_timer)), "Rain", 15, 1000, 1, 1, 25 + (760 - (13.2 * title_switch_timer)), c_dkgray, c_dkgray, c_silver, c_silver, 1, 1, c_navy );
|
||||
draw_set_font(fn_cursive);
|
||||
draw_text_ext_transformed_color_border(360 - (210 - (4.2 * title_switch_timer)), 140 + (100 - (2 * title_switch_timer)), "in the", 15, 1000, 1, 1, 2225 - (44.5 * title_switch_timer), c_silver, c_silver, c_white, c_white, 1, 1, c_black );
|
||||
draw_set_color(c_white);
|
||||
draw_set_alpha(.20 * ((100 - (2 * title_switch_timer)) / 100));
|
||||
draw_sprite_ext(spr_title_logo, 0, 320, 180, title_xscale, title_yscale, title_angle, c_white, 1);
|
||||
draw_set_color(c_teal);
|
||||
draw_set_alpha(.40 * ((100 - (2 * title_switch_timer)) / 100));
|
||||
gpu_set_blendmode(bm_add);
|
||||
draw_triangle(641, -400, 641, 760, 640 - (350 - (7 * title_switch_timer)), 370, false);
|
||||
draw_triangle(641, -600, 641, 960, 640 - (400 - (8 * title_switch_timer)), -30, false);
|
||||
draw_triangle(641, -800, 641, 1160, 640 - (300 - (6 * title_switch_timer)), -5, false);
|
||||
draw_triangle(641, -720, 641, 1080, 640 - (250 - (5 * title_switch_timer)), 365, false);
|
||||
draw_triangle(641, -720, 641, 1080, 640 - (250 - (5 * title_switch_timer)), 365, false);
|
||||
draw_rectangle(-1, 361, 641, 361 - (title_switch_timer/5), false);
|
||||
gpu_set_blendmode(bm_normal);
|
||||
draw_set_alpha(1 * ((100 - (2 * title_switch_timer)) / 100) );
|
||||
draw_set_halign(fa_right);
|
||||
draw_set_font(fn_cursive);
|
||||
//implemented menu functions:
|
||||
draw_set_color(c_black);
|
||||
draw_text( 580 + (3 * TITLE_MENU_CHOICE_NEW_GAME ), 90 + (30 * TITLE_MENU_CHOICE_NEW_GAME ), TITLE_MENU_TEXT_NEW_GAME ); //2
|
||||
draw_text( 580 + (3 * TITLE_MENU_CHOICE_EXIT_GAME ), 90 + (30 * TITLE_MENU_CHOICE_EXIT_GAME ), TITLE_MENU_TEXT_EXIT_GAME ); //6
|
||||
draw_text_ext_transformed_color_border( 580 + (3 * TITLE_MENU_CHOICE_NEW_GAME ), 90 + (30 * TITLE_MENU_CHOICE_NEW_GAME ), TITLE_MENU_TEXT_NEW_GAME ,15, 1000, 1, 1, 0, c_black, c_black, c_black, c_black, 1, 1, c_white); //2
|
||||
draw_text_ext_transformed_color_border( 580 + (3 * TITLE_MENU_CHOICE_EXIT_GAME ), 90 + (30 * TITLE_MENU_CHOICE_EXIT_GAME ), TITLE_MENU_TEXT_EXIT_GAME ,15, 1000, 1, 1, 0, c_black, c_black, c_black, c_black, 1, 1, c_white); //6
|
||||
//unimplemented menu functions:
|
||||
/* draw_set_color(c_gray);
|
||||
draw_text( 580 + (3 * TITLE_MENU_CHOICE_CONTINUE ), 90 + (30 * TITLE_MENU_CHOICE_CONTINUE ), TITLE_MENU_TEXT_CONTINUE ); //1
|
||||
|
@ -48,33 +39,34 @@ switch ( title_mode ) {
|
|||
break;
|
||||
}
|
||||
case TITLE_MODE_MENU_READY: {
|
||||
draw_set_font (fn_cursivelarge);
|
||||
draw_set_halign(fa_center);
|
||||
draw_text_ext_transformed_color_border(90, 150, "Sunflowers", 15, 1000, 1, 1, 65, c_yellow, c_yellow, c_orange, c_orange, 1, 1, c_maroon );
|
||||
draw_text_ext_transformed_color_border(180, 140, "Rain", 15, 1000, 1, 1, 65, c_dkgray, c_dkgray, c_silver, c_silver, 1,1, c_navy );
|
||||
draw_set_font(fn_cursive);
|
||||
draw_text_ext_transformed_color_border(150, 240, "in the", 15, 1000, 1, 1, 65, c_silver, c_silver, c_white, c_white, 1, 1, c_black );
|
||||
draw_set_color(c_white);
|
||||
draw_set_alpha(.20);
|
||||
draw_sprite_ext(spr_title_logo, 0, 320, 180, title_xscale, title_yscale, title_angle, c_white, 1);
|
||||
draw_set_color(c_teal);
|
||||
draw_set_alpha(.40);
|
||||
gpu_set_blendmode(bm_add);
|
||||
draw_triangle(641, -400, 641, 760, 290, 370, false);
|
||||
draw_triangle(641, -600, 641, 960, 240, -30, false);
|
||||
draw_triangle(641, -800, 641, 1160, 340, -5, false);
|
||||
draw_triangle(641, -720, 641, 1080, 390, 365, false);
|
||||
draw_rectangle(-1, 361, 641, 361 - 20, false);
|
||||
gpu_set_blendmode(bm_normal);
|
||||
draw_set_alpha(1);
|
||||
draw_sprite(spr_menuselect, 0, 600 + (3 * menu_position) , 100 + (30 * menu_position) );
|
||||
draw_set_halign(fa_right);
|
||||
draw_set_font(fn_cursive);
|
||||
//implemented menu functions:
|
||||
draw_set_color(c_black);
|
||||
draw_text( 580 + (3 * TITLE_MENU_CHOICE_NEW_GAME ), 90 + (30 * TITLE_MENU_CHOICE_NEW_GAME ), TITLE_MENU_TEXT_NEW_GAME ); //2
|
||||
draw_text( 580 + (3 * TITLE_MENU_CHOICE_EXIT_GAME ), 90 + (30 * TITLE_MENU_CHOICE_EXIT_GAME ), TITLE_MENU_TEXT_EXIT_GAME ); //6
|
||||
draw_text_ext_transformed_color_border( 580 + (3 * TITLE_MENU_CHOICE_NEW_GAME ), 90 + (30 * TITLE_MENU_CHOICE_NEW_GAME ), TITLE_MENU_TEXT_NEW_GAME ,15, 1000, 1, 1, 0, c_black, c_black, c_black, c_black, 1, 1, c_white); //2
|
||||
draw_text_ext_transformed_color_border( 580 + (3 * TITLE_MENU_CHOICE_EXIT_GAME ), 90 + (30 * TITLE_MENU_CHOICE_EXIT_GAME ), TITLE_MENU_TEXT_EXIT_GAME ,15, 1000, 1, 1, 0, c_black, c_black, c_black, c_black, 1, 1, c_white); //6
|
||||
//unimplemented menu functions:
|
||||
/* draw_set_color(c_gray);
|
||||
draw_text( 580 + (3 * TITLE_MENU_CHOICE_CONTINUE ), 90 + (30 * TITLE_MENU_CHOICE_CONTINUE ), TITLE_MENU_TEXT_CONTINUE ); //1
|
||||
draw_text( 580 + (3 * TITLE_MENU_CHOICE_LOAD_GAME ), 90 + (30 * TITLE_MENU_CHOICE_LOAD_GAME ), TITLE_MENU_TEXT_LOAD_GAME ); //3
|
||||
draw_text( 580 + (3 * TITLE_MENU_CHOICE_MUSIC_ROOM ), 90 + (30 * TITLE_MENU_CHOICE_MUSIC_ROOM ), TITLE_MENU_TEXT_MUSIC_ROOM ); //4
|
||||
draw_text( 580 + (3 * TITLE_MENU_CHOICE_OPTIONS ), 90 + (30 * TITLE_MENU_CHOICE_OPTIONS ), TITLE_MENU_TEXT_OPTIONS ); //5
|
||||
*/ draw_set_color(c_white);
|
||||
*/ draw_set_font(fn_help);
|
||||
draw_set_halign(fa_left);
|
||||
draw_text_ext_transformed_color_border( 5, 345, "A and D: up/down. F: select", 9, 620, 1, 1, 0, c_blue, c_blue, c_blue, c_blue, 1, 1, c_white); //6
|
||||
draw_set_color(c_white);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
|
@ -98,6 +90,10 @@ switch ( title_mode ) {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
title_xscale = 1 / max(1, fade_in_time );
|
||||
title_yscale = 1 / max(1, fade_in_time );
|
||||
|
||||
title_angle = 10 * dsin( fade_in_time );
|
||||
|
||||
fade_in_time -= 1;
|
||||
|
||||
|
||||
title_switch_timer -= 1;
|
||||
|
||||
if (title_switch_timer <= 0 && title_mode == TITLE_MODE_START_FADEIN ) {
|
||||
|
@ -20,7 +28,7 @@ if (title_mode == TITLE_MODE_MENU_READY ) {
|
|||
menu_wait--;
|
||||
var input_up = scr_input_get( INPUT_UP );
|
||||
var input_down = scr_input_get( INPUT_DOWN );
|
||||
var input_select = ( scr_input_get( INPUT_SHOT_LEFT ) || scr_input_get(INPUT_SHOT_RIGHT) );
|
||||
var input_select = ( scr_input_get( INPUT_BOMB) );
|
||||
|
||||
if (input_up ) {
|
||||
if (menu_wait < 0) {
|
||||
|
@ -67,3 +75,6 @@ if ( input_select ) {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
countdown = 300;
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
draw_set_alpha( ( 300 - countdown ) / 100 );
|
||||
//draw CG
|
||||
draw_sprite(spr_bg_victory, 0, 0, 0);
|
||||
draw_set_font(fn_cursive);
|
||||
draw_set_halign(fa_left);
|
||||
draw_text_ext_transformed_color_border(20, 330, "Final score: " + string(floor(global.scoring)), 20, 500, 1, 1, 0, c_blue, c_blue, c_aqua, c_aqua, ( 200 - countdown ) / 100, 1, c_white);
|
||||
draw_set_halign(fa_right);
|
||||
draw_text_ext_transformed_color_border(630, 330, "Next rodeo...", 20, 500, 1, 1, 0, c_blue, c_blue, c_aqua, c_aqua, ( 200 - countdown ) / 100, 1, c_white);
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
countdown--;
|
||||
if (countdown < 0 ) {
|
||||
if (scr_input_get( INPUT_ANY )) {
|
||||
global.cutscene_mode = false;
|
||||
global.combat_mode = false;
|
||||
global.dialogue_mode = false;
|
||||
room_goto(rm_title);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_cutscene",
|
||||
"path": "sprites/spr_cutscene/spr_cutscene.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":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":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
],
|
||||
"properties": [],
|
||||
"overriddenProperties": [],
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_victory",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
depth = -1500;
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_wall",
|
||||
"path": "sprites/spr_wall/spr_wall.yy",
|
||||
},
|
||||
"solid": false,
|
||||
"visible": false,
|
||||
"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":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
],
|
||||
"properties": [],
|
||||
"overriddenProperties": [],
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_wall",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
// Inherit the parent event
|
||||
event_inherited();
|
||||
|
||||
hp = 200;
|
||||
image_xscale = 2;
|
||||
image_yscale = 2;
|
||||
spin_collide = ds_list_create();
|
||||
|
||||
direction = random(360);
|
||||
change_timer = 60 + random(120);
|
||||
attack_timer = 120 + random(300);
|
||||
dspeed = 0.1 + random(0.5);
|
||||
|
||||
|
||||
attacking = 0;
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
obj_player_cirno.lasso_chaining = 300;
|
||||
obj_player_cirno.lasso_chain += 5 + (obj_player_cirno.chain_rank * 2);
|
||||
obj_player_cirno.score_current += 10000 * obj_player_cirno.lasso_chain * obj_player_cirno.chain_rank;
|
||||
obj_player_cirno.game_timer += 300;
|
||||
if (obj_player_cirno.game_timer > 3600) {
|
||||
obj_player_cirno.game_timer = 3600;
|
||||
}
|
||||
|
||||
effect_create_above(ef_flare, x, y, 1, make_color_rgb(irandom(255), irandom(255), irandom(255)));
|
||||
audio_play_sound(snd_enemy_destroy, 10, false);
|
||||
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
draw_sprite_ext(spr_dropshadow, 0, x, y + 80, 2, 2, 0, c_white, 1);
|
||||
draw_self();
|
||||
|
||||
if (attack_timer < 60) {
|
||||
draw_set_alpha(0.25);
|
||||
draw_set_color(c_orange);
|
||||
draw_circle(x, y, 150, false);
|
||||
draw_set_alpha(1);
|
||||
draw_circle(x, y, 150, true);
|
||||
}
|
||||
if (attacking) {
|
||||
draw_set_alpha(0.25);
|
||||
draw_set_color(c_red);
|
||||
draw_circle(x, y, 150, false);
|
||||
draw_set_alpha(1);
|
||||
draw_circle(x, y, 150, true);
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
image_index = (direction + 22.5) / 45;
|
||||
if (direction + 22.5 >= 360 ) {
|
||||
image_index = 0;
|
||||
}
|
||||
if (hp <= 0) {
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
if ((change_timer < 120 && !attacking && attack_timer > 60 ) || blast ) {
|
||||
if (!place_meeting( x + lengthdir_x( dspeed, direction ), y, obj_wall ) ) {
|
||||
x += lengthdir_x( dspeed, direction );
|
||||
}
|
||||
if (!place_meeting( x, y + lengthdir_y( dspeed, direction ), obj_wall ) ) {
|
||||
y += lengthdir_y( dspeed, direction );
|
||||
}
|
||||
}
|
||||
|
||||
if (attacking && !blast) {
|
||||
direction += 45;
|
||||
playerhit = collision_circle(x, y, 150, obj_player_cirno, true, true);
|
||||
ds_list_clear(spin_collide);
|
||||
hit = collision_circle_list(x, y, 150, obj_enemy_parent, false, true, spin_collide, false);
|
||||
if (playerhit) {
|
||||
if (audio_is_playing(snd_player_deathbomb)) {
|
||||
audio_stop_sound(snd_player_deathbomb);
|
||||
}
|
||||
audio_play_sound(snd_ow, 1, false);
|
||||
playerhit.invuln = 90;
|
||||
playerhit.dspeed = 12;
|
||||
playerhit.target_direction = point_direction(x,y,playerhit.x,playerhit.y);
|
||||
playerhit.direction = playerhit.target_direction;
|
||||
}
|
||||
if (hit > 0) {
|
||||
for (var l = 0; l < hit; l++) {
|
||||
spin_collide[|l].blast = 12;
|
||||
spin_collide[|l].dspeed = 12;
|
||||
spin_collide[|l].target_direction = point_direction(x,y,spin_collide[|l].x,spin_collide[|l].y);
|
||||
spin_collide[|l].direction = spin_collide[|l].target_direction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
depth = -y;
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
blast--;
|
||||
if (!blast) {
|
||||
change_timer--;
|
||||
attack_timer--;
|
||||
attacking--;
|
||||
}
|
||||
if (blast) {
|
||||
dspeed--;
|
||||
}
|
||||
|
||||
if (change_timer <= 0) {
|
||||
change_timer = 50 + random(150);
|
||||
dspeed = 0.1 + random(0.5);
|
||||
direction = random(360);
|
||||
}
|
||||
|
||||
if (attack_timer <= 0) {
|
||||
audio_play_sound(snd_spin, 1, false);
|
||||
attack_timer = 360 + random(300);
|
||||
attacking = 10;
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_yukkuri_hina",
|
||||
"path": "sprites/spr_yukkuri_hina/spr_yukkuri_hina.yy",
|
||||
},
|
||||
"solid": false,
|
||||
"visible": true,
|
||||
"spriteMaskId": null,
|
||||
"persistent": false,
|
||||
"parentObjectId": {
|
||||
"name": "obj_enemy_parent",
|
||||
"path": "objects/obj_enemy_parent/obj_enemy_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": [
|
||||
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":1,"eventType":3,"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":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":0,"eventType":1,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
],
|
||||
"properties": [],
|
||||
"overriddenProperties": [],
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_yukkuri_hina",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
// Inherit the parent event
|
||||
event_inherited();
|
||||
|
||||
hp = 50;
|
||||
image_xscale = 2;
|
||||
image_yscale = 2;
|
||||
charge_collide = ds_list_create();
|
||||
|
||||
direction = random(360);
|
||||
change_timer = 60 + random(120);
|
||||
attack_timer = 120 + random(300);
|
||||
dspeed = 0.1 + random(0.5);
|
||||
attack_dir = 0;
|
||||
|
||||
attacking = 0;
|
||||
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
obj_player_cirno.lasso_chaining = 300;
|
||||
obj_player_cirno.lasso_chain += 5 + (obj_player_cirno.chain_rank * 2);
|
||||
obj_player_cirno.score_current += 20000 * obj_player_cirno.lasso_chain * obj_player_cirno.chain_rank;
|
||||
obj_player_cirno.game_timer += 300;
|
||||
if (obj_player_cirno.game_timer > 3600) {
|
||||
obj_player_cirno.game_timer = 3600;
|
||||
}
|
||||
|
||||
effect_create_above(ef_flare, x, y, 1, make_color_rgb(irandom(255), irandom(255), irandom(255)));
|
||||
audio_play_sound(snd_enemy_destroy, 10, false);
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
draw_sprite_ext(spr_dropshadow, 0, x, y + 80, 2, 2, 0, c_white, 1);
|
||||
draw_self();
|
||||
|
||||
if (attack_timer < 30 ) {
|
||||
draw_set_alpha(0.25);
|
||||
draw_set_color(c_orange);
|
||||
draw_triangle( x + lengthdir_x(60, attack_dir + 90), y + lengthdir_y(60, attack_dir + 90),
|
||||
x + lengthdir_x(60, attack_dir - 90), y + lengthdir_y(60, attack_dir - 90),
|
||||
x + lengthdir_x(500, attack_dir), y + lengthdir_y(500, attack_dir), false);
|
||||
draw_set_alpha(1);
|
||||
draw_triangle( x + lengthdir_x(60, attack_dir + 90), y + lengthdir_y(60, attack_dir + 90),
|
||||
x + lengthdir_x(60, attack_dir - 90), y + lengthdir_y(60, attack_dir - 90),
|
||||
x + lengthdir_x(500, attack_dir), y + lengthdir_y(500, attack_dir), true);
|
||||
}
|
||||
if (attacking) {
|
||||
draw_set_alpha(0.25);
|
||||
draw_set_color(c_red);
|
||||
draw_circle(x, y, 60, false);
|
||||
draw_set_alpha(1);
|
||||
draw_circle(x, y, 60, true);
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
image_index = (direction + 22.5) / 45;
|
||||
if (direction + 22.5 >= 360 ) {
|
||||
image_index = 0;
|
||||
}
|
||||
if (hp <= 0) {
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
if ((change_timer < 120 && !attacking && attack_timer > 60) || (attacking) || blast ) {
|
||||
if (!place_meeting( x + lengthdir_x( dspeed, direction ), y, obj_wall ) ) {
|
||||
x += lengthdir_x( dspeed, direction );
|
||||
}
|
||||
if (!place_meeting( x, y + lengthdir_y( dspeed, direction ), obj_wall ) ) {
|
||||
y += lengthdir_y( dspeed, direction );
|
||||
}
|
||||
}
|
||||
|
||||
if (attacking && !blast) {
|
||||
playerhit = collision_circle(x, y, 60, obj_player_cirno, true, true);
|
||||
ds_list_clear(charge_collide);
|
||||
hit = collision_circle_list(x, y, 60, obj_enemy_parent, false, true, charge_collide, false);
|
||||
if (playerhit) {
|
||||
if (audio_is_playing(snd_player_deathbomb)) {
|
||||
audio_stop_sound(snd_player_deathbomb);
|
||||
}
|
||||
audio_play_sound(snd_ow, 1, false);
|
||||
playerhit.invuln = 90;
|
||||
playerhit.dspeed = 12;
|
||||
playerhit.target_direction = point_direction(x,y,playerhit.x,playerhit.y);
|
||||
playerhit.direction = playerhit.target_direction;
|
||||
}
|
||||
if (hit > 0) {
|
||||
for (var l = 0; l < hit; l++) {
|
||||
charge_collide[|l].blast = 12;
|
||||
charge_collide[|l].dspeed = 12;
|
||||
charge_collide[|l].target_direction = point_direction(x,y,charge_collide[|l].x,charge_collide[|l].y);
|
||||
charge_collide[|l].direction = charge_collide[|l].target_direction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
depth = -y;
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
blast--;
|
||||
if (!blast) {
|
||||
change_timer--;
|
||||
attack_timer--;
|
||||
attacking--;
|
||||
}
|
||||
if (blast) {
|
||||
dspeed--;
|
||||
}
|
||||
|
||||
if (change_timer <= 0 && !attacking ) {
|
||||
change_timer = 50 + random(150);
|
||||
dspeed = 0.1 + random(0.5);
|
||||
direction = random(360);
|
||||
}
|
||||
if (attack_timer <= 30 && !attacking) {
|
||||
attack_dir = point_direction(x, y, obj_player_cirno.x, obj_player_cirno.y) - 10 + random(20);
|
||||
}
|
||||
|
||||
if (attack_timer <= 0) {
|
||||
audio_play_sound(snd_weee, 1, false);
|
||||
attack_timer = 360 + random(300);
|
||||
attacking = 90;
|
||||
dspeed = 5;
|
||||
direction = attack_dir;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_yukkuri_keine",
|
||||
"path": "sprites/spr_yukkuri_keine/spr_yukkuri_keine.yy",
|
||||
},
|
||||
"solid": false,
|
||||
"visible": true,
|
||||
"spriteMaskId": null,
|
||||
"persistent": false,
|
||||
"parentObjectId": {
|
||||
"name": "obj_enemy_parent",
|
||||
"path": "objects/obj_enemy_parent/obj_enemy_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": [
|
||||
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":1,"eventType":3,"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":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":0,"eventType":1,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
],
|
||||
"properties": [],
|
||||
"overriddenProperties": [],
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_yukkuri_keine",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
// Inherit the parent event
|
||||
event_inherited();
|
||||
|
||||
direction = random(360);
|
||||
change_timer = 60 + random(120);
|
||||
dspeed = 0.1 + random(0.5);
|
|
@ -0,0 +1,17 @@
|
|||
image_index = (direction + 22.5) / 45;
|
||||
if (direction + 22.5 >= 360 ) {
|
||||
image_index = 0;
|
||||
}
|
||||
if (hp <= 0) {
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
if (change_timer < 120 ) {
|
||||
if (!place_meeting( x + lengthdir_x( dspeed, direction ), y, obj_wall ) ) {
|
||||
x += lengthdir_x( dspeed, direction );
|
||||
}
|
||||
if (!place_meeting( x, y + lengthdir_y( dspeed, direction ), obj_wall ) ) {
|
||||
y += lengthdir_y( dspeed, direction );
|
||||
}
|
||||
}
|
||||
depth = -y;
|
|
@ -0,0 +1,15 @@
|
|||
blast--;
|
||||
if (!blast) {
|
||||
change_timer--;
|
||||
}
|
||||
if (blast) {
|
||||
dspeed--;
|
||||
}
|
||||
|
||||
|
||||
if (change_timer <= 0) {
|
||||
change_timer = 50 + random(150);
|
||||
dspeed = 0.1 + random(0.5);
|
||||
direction = random(360);
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_yukkuri_marisa",
|
||||
"path": "sprites/spr_yukkuri_marisa/spr_yukkuri_marisa.yy",
|
||||
},
|
||||
"solid": false,
|
||||
"visible": true,
|
||||
"spriteMaskId": null,
|
||||
"persistent": false,
|
||||
"parentObjectId": {
|
||||
"name": "obj_enemy_parent",
|
||||
"path": "objects/obj_enemy_parent/obj_enemy_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": [
|
||||
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":1,"eventType":3,"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": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_yukkuri_marisa",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
// Inherit the parent event
|
||||
event_inherited();
|
||||
|
||||
hp = 100;
|
||||
image_xscale = 2;
|
||||
image_yscale = 2;
|
||||
slam_collide = ds_list_create();
|
||||
|
||||
direction = random(360);
|
||||
change_timer = 60 + random(120);
|
||||
attack_timer = 120 + random(300);
|
||||
dspeed = 0.1 + random(0.5);
|
||||
attack_x = 0;
|
||||
attack_y = 0;
|
||||
|
||||
attacking = 0;
|
||||
|
||||
soundplayed = false;
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
obj_player_cirno.lasso_chaining = 300;
|
||||
obj_player_cirno.lasso_chain += 5 + (obj_player_cirno.chain_rank * 2);
|
||||
obj_player_cirno.score_current += 20000 * obj_player_cirno.lasso_chain * obj_player_cirno.chain_rank;
|
||||
obj_player_cirno.game_timer += 300;
|
||||
if (obj_player_cirno.game_timer > 3600) {
|
||||
obj_player_cirno.game_timer = 3600;
|
||||
}
|
||||
|
||||
effect_create_above(ef_flare, x, y, 1, make_color_rgb(irandom(255), irandom(255), irandom(255)));
|
||||
audio_play_sound(snd_enemy_destroy, 10, false);
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
if (attack_timer > 90) {
|
||||
draw_sprite_ext(spr_dropshadow, 0, x, y + 80, 2, 2, 0, c_white, 1);
|
||||
draw_self();
|
||||
}
|
||||
|
||||
if (attack_timer < 90 ) {
|
||||
draw_set_alpha(0.25);
|
||||
draw_set_color(c_orange);
|
||||
draw_circle( attack_x, attack_y, 120, false);
|
||||
draw_set_alpha(1);
|
||||
draw_circle( attack_x, attack_y, 120, true);
|
||||
}
|
||||
if (attacking) {
|
||||
draw_set_alpha(0.25);
|
||||
draw_set_color(c_red);
|
||||
draw_circle(x, y, 120, false);
|
||||
draw_set_alpha(1);
|
||||
draw_circle(x, y, 120, true);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
image_index = (direction + 22.5) / 45;
|
||||
if (direction + 22.5 >= 360 ) {
|
||||
image_index = 0;
|
||||
}
|
||||
if (hp <= 0) {
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
if ((change_timer < 120 && !attacking && attack_timer > 60) || (attacking) || blast ) {
|
||||
if (!place_meeting( x + lengthdir_x( dspeed, direction ), y, obj_wall ) ) {
|
||||
x += lengthdir_x( dspeed, direction );
|
||||
}
|
||||
if (!place_meeting( x, y + lengthdir_y( dspeed, direction ), obj_wall ) ) {
|
||||
y += lengthdir_y( dspeed, direction );
|
||||
}
|
||||
}
|
||||
|
||||
if (attacking && !blast) {
|
||||
playerhit = collision_circle(x, y, 120, obj_player_cirno, true, true);
|
||||
ds_list_clear(slam_collide);
|
||||
hit = collision_circle_list(x, y, 120, obj_enemy_parent, false, true, slam_collide, false);
|
||||
if (playerhit) {
|
||||
if (audio_is_playing(snd_player_deathbomb)) {
|
||||
audio_stop_sound(snd_player_deathbomb);
|
||||
}
|
||||
audio_play_sound(snd_ow, 1, false);
|
||||
playerhit.invuln = 90;
|
||||
playerhit.dspeed = 12;
|
||||
playerhit.target_direction = point_direction(x,y,playerhit.x,playerhit.y);
|
||||
playerhit.direction = playerhit.target_direction;
|
||||
}
|
||||
if (hit > 0) {
|
||||
for (var l = 0; l < hit; l++) {
|
||||
slam_collide[|l].blast = 12;
|
||||
slam_collide[|l].dspeed = 12;
|
||||
slam_collide[|l].target_direction = point_direction(x,y,slam_collide[|l].x,slam_collide[|l].y);
|
||||
slam_collide[|l].direction = slam_collide[|l].target_direction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
depth = -y;
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
blast--;
|
||||
if (!blast) {
|
||||
change_timer--;
|
||||
attack_timer--;
|
||||
attacking--;
|
||||
}
|
||||
if (blast) {
|
||||
dspeed--;
|
||||
}
|
||||
|
||||
if (change_timer <= 0 && !attacking ) {
|
||||
change_timer = 50 + random(150);
|
||||
dspeed = 0.1 + random(0.5);
|
||||
direction = random(360);
|
||||
}
|
||||
if (attack_timer <= 90 && attack_timer >= 50 && !attacking) {
|
||||
if (!soundplayed) {
|
||||
audio_play_sound(snd_boing, 1, false);
|
||||
soundplayed = true;
|
||||
}
|
||||
attack_x = obj_player_cirno.x;
|
||||
attack_y = obj_player_cirno.y;
|
||||
}
|
||||
|
||||
if (attack_timer <= 0) {
|
||||
soundplayed = false;
|
||||
attack_timer = 720 + random(300);
|
||||
attacking = 5;
|
||||
x = attack_x;
|
||||
y = attack_y;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"spriteId": {
|
||||
"name": "spr_yukkuri_suwako",
|
||||
"path": "sprites/spr_yukkuri_suwako/spr_yukkuri_suwako.yy",
|
||||
},
|
||||
"solid": false,
|
||||
"visible": true,
|
||||
"spriteMaskId": null,
|
||||
"persistent": false,
|
||||
"parentObjectId": {
|
||||
"name": "obj_enemy_parent",
|
||||
"path": "objects/obj_enemy_parent/obj_enemy_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": [
|
||||
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":1,"eventType":3,"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":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
{"isDnD":false,"eventNum":0,"eventType":1,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||
],
|
||||
"properties": [],
|
||||
"overriddenProperties": [],
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obj_yukkuri_suwako",
|
||||
"tags": [],
|
||||
"resourceType": "GMObject",
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
|
@ -1,16 +1,16 @@
|
|||
{
|
||||
"option_linux_display_name": "Created with GameMaker Studio 2",
|
||||
"option_linux_display_name": "cirno's yukkuri-wranglin' hoedown",
|
||||
"option_linux_version": "1.0.0.0",
|
||||
"option_linux_maintainer_email": "",
|
||||
"option_linux_homepage": "http://www.yoyogames.com",
|
||||
"option_linux_homepage": "https://fenny.space",
|
||||
"option_linux_short_desc": "",
|
||||
"option_linux_long_desc": "",
|
||||
"option_linux_splash_screen": "${base_options_dir}/linux/splash/splash.png",
|
||||
"option_linux_display_splash": false,
|
||||
"option_linux_icon": "${base_options_dir}/linux/icons/64.png",
|
||||
"option_linux_icon": "icons/64.png",
|
||||
"option_linux_start_fullscreen": false,
|
||||
"option_linux_allow_fullscreen": false,
|
||||
"option_linux_interpolate_pixels": true,
|
||||
"option_linux_interpolate_pixels": false,
|
||||
"option_linux_display_cursor": true,
|
||||
"option_linux_sync": false,
|
||||
"option_linux_resize_window": false,
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"option_windows_display_name": "Created with GameMaker Studio 2",
|
||||
"option_windows_display_name": "cirno's yukkuri-wranglin' hoedown",
|
||||
"option_windows_executable_name": "${project_name}.exe",
|
||||
"option_windows_version": "1.0.0.0",
|
||||
"option_windows_company_info": "YoYo Games Ltd",
|
||||
"option_windows_product_info": "Created with GameMaker Studio 2",
|
||||
"option_windows_company_info": "studio_tiny_leaf",
|
||||
"option_windows_product_info": "cirno's yukkuri-wranglin' hoedown",
|
||||
"option_windows_copyright_info": "",
|
||||
"option_windows_description_info": "A GameMaker Studio 2 Game",
|
||||
"option_windows_description_info": "",
|
||||
"option_windows_display_cursor": true,
|
||||
"option_windows_icon": "${base_options_dir}/windows/icons/icon.ico",
|
||||
"option_windows_icon": "icons/icon.ico",
|
||||
"option_windows_save_location": 0,
|
||||
"option_windows_splash_screen": "${base_options_dir}/windows/splash/splash.png",
|
||||
"option_windows_use_splash": false,
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"isDnd": false,
|
||||
"volume": 1.0,
|
||||
"parentRoom": null,
|
||||
"views": [
|
||||
{"inherit":false,"visible":true,"xview":0,"yview":0,"wview":640,"hview":360,"xport":0,"yport":0,"wport":1280,"hport":720,"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":0.0,"y":0.0,"resourceVersion":"1.0","name":"inst_3453CD87","tags":[],"resourceType":"GMRInstance",},
|
||||
{"properties":[],"isDnd":false,"objectId":{"name":"obj_cutscene_explainer","path":"objects/obj_cutscene_explainer/obj_cutscene_explainer.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":64.0,"y":0.0,"resourceVersion":"1.0","name":"inst_278D5B6F","tags":[],"resourceType":"GMRInstance",},
|
||||
],"visible":true,"depth":0,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_controllers","tags":[],"resourceType":"GMRInstanceLayer",},
|
||||
{"spriteId":null,"colour":4286545791,"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,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_canvas","tags":[],"resourceType":"GMRBackgroundLayer",},
|
||||
],
|
||||
"inheritLayers": false,
|
||||
"creationCodeFile": "",
|
||||
"inheritCode": false,
|
||||
"instanceCreationOrder": [
|
||||
{"name":"inst_3453CD87","path":"rooms/rm_explainer/rm_explainer.yy",},
|
||||
{"name":"inst_278D5B6F","path":"rooms/rm_explainer/rm_explainer.yy",},
|
||||
],
|
||||
"inheritCreationOrder": false,
|
||||
"sequenceId": null,
|
||||
"roomSettings": {
|
||||
"inheritRoomSettings": false,
|
||||
"Width": 640,
|
||||
"Height": 360,
|
||||
"persistent": false,
|
||||
},
|
||||
"viewSettings": {
|
||||
"inheritViewSettings": false,
|
||||
"enableViews": true,
|
||||
"clearViewBackground": false,
|
||||
"clearDisplayBuffer": true,
|
||||
},
|
||||
"physicsSettings": {
|
||||
"inheritPhysicsSettings": false,
|
||||
"PhysicsWorld": false,
|
||||
"PhysicsWorldGravityX": 0.0,
|
||||
"PhysicsWorldGravityY": 10.0,
|
||||
"PhysicsWorldPixToMetres": 0.1,
|
||||
},
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "rm_explainer",
|
||||
"tags": [],
|
||||
"resourceType": "GMRoom",
|
||||
}
|
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"isDnd": false,
|
||||
"volume": 1.0,
|
||||
"parentRoom": null,
|
||||
"views": [
|
||||
{"inherit":false,"visible":true,"xview":0,"yview":0,"wview":640,"hview":360,"xport":0,"yport":0,"wport":1280,"hport":720,"hborder":640,"vborder":640,"hspeed":-1,"vspeed":-1,"objectId":{"name":"obj_camera","path":"objects/obj_camera/obj_camera.yy",},},
|
||||
{"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_camera","path":"objects/obj_camera/obj_camera.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":640.0,"y":608.0,"resourceVersion":"1.0","name":"inst_2981EF80","tags":[],"resourceType":"GMRInstance",},
|
||||
{"properties":[],"isDnd":false,"objectId":{"name":"obj_UI","path":"objects/obj_UI/obj_UI.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":0.0,"y":0.0,"resourceVersion":"1.0","name":"inst_13D47038","tags":[],"resourceType":"GMRInstance",},
|
||||
{"properties":[],"isDnd":false,"objectId":{"name":"obj_spawner","path":"objects/obj_spawner/obj_spawner.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":64.0,"y":0.0,"resourceVersion":"1.0","name":"inst_6056B2B3","tags":[],"resourceType":"GMRInstance",},
|
||||
],"visible":true,"depth":0,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_controllers","tags":[],"resourceType":"GMRInstanceLayer",},
|
||||
{"instances":[
|
||||
{"properties":[],"isDnd":false,"objectId":{"name":"obj_player_cirno","path":"objects/obj_player_cirno/obj_player_cirno.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":640.0,"y":736.0,"resourceVersion":"1.0","name":"inst_290B5D45","tags":[],"resourceType":"GMRInstance",},
|
||||
],"visible":true,"depth":100,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_player","tags":[],"resourceType":"GMRInstanceLayer",},
|
||||
{"instances":[],"visible":true,"depth":200,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_enemies","tags":[],"resourceType":"GMRInstanceLayer",},
|
||||
{"instances":[
|
||||
{"properties":[],"isDnd":false,"objectId":{"name":"obj_wall","path":"objects/obj_wall/obj_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":16.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":128.0,"y":128.0,"resourceVersion":"1.0","name":"inst_71DBD2D7","tags":[],"resourceType":"GMRInstance",},
|
||||
{"properties":[],"isDnd":false,"objectId":{"name":"obj_wall","path":"objects/obj_wall/obj_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":16.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":128.0,"y":1088.0,"resourceVersion":"1.0","name":"inst_4DCED8F5","tags":[],"resourceType":"GMRInstance",},
|
||||
{"properties":[],"isDnd":false,"objectId":{"name":"obj_wall","path":"objects/obj_wall/obj_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":14.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":128.0,"y":192.0,"resourceVersion":"1.0","name":"inst_2D0E6467","tags":[],"resourceType":"GMRInstance",},
|
||||
{"properties":[],"isDnd":false,"objectId":{"name":"obj_wall","path":"objects/obj_wall/obj_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":14.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1088.0,"y":192.0,"resourceVersion":"1.0","name":"inst_23DEED15","tags":[],"resourceType":"GMRInstance",},
|
||||
],"visible":true,"depth":300,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_terrain","tags":[],"resourceType":"GMRInstanceLayer",},
|
||||
{"spriteId":{"name":"spr_arena_bg","path":"sprites/spr_arena_bg/spr_arena_bg.yy",},"colour":4294967295,"x":0,"y":0,"htiled":false,"vtiled":false,"hspeed":0.0,"vspeed":0.0,"stretch":false,"animationFPS":30.0,"animationSpeedType":0,"userdefinedAnimFPS":false,"visible":true,"depth":400,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_canvas","tags":[],"resourceType":"GMRBackgroundLayer",},
|
||||
],
|
||||
"inheritLayers": false,
|
||||
"creationCodeFile": "",
|
||||
"inheritCode": false,
|
||||
"instanceCreationOrder": [
|
||||
{"name":"inst_2981EF80","path":"rooms/rm_gameloop/rm_gameloop.yy",},
|
||||
{"name":"inst_13D47038","path":"rooms/rm_gameloop/rm_gameloop.yy",},
|
||||
{"name":"inst_290B5D45","path":"rooms/rm_gameloop/rm_gameloop.yy",},
|
||||
{"name":"inst_71DBD2D7","path":"rooms/rm_gameloop/rm_gameloop.yy",},
|
||||
{"name":"inst_4DCED8F5","path":"rooms/rm_gameloop/rm_gameloop.yy",},
|
||||
{"name":"inst_2D0E6467","path":"rooms/rm_gameloop/rm_gameloop.yy",},
|
||||
{"name":"inst_23DEED15","path":"rooms/rm_gameloop/rm_gameloop.yy",},
|
||||
{"name":"inst_6056B2B3","path":"rooms/rm_gameloop/rm_gameloop.yy",},
|
||||
],
|
||||
"inheritCreationOrder": false,
|
||||
"sequenceId": null,
|
||||
"roomSettings": {
|
||||
"inheritRoomSettings": false,
|
||||
"Width": 1280,
|
||||
"Height": 1280,
|
||||
"persistent": false,
|
||||
},
|
||||
"viewSettings": {
|
||||
"inheritViewSettings": false,
|
||||
"enableViews": true,
|
||||
"clearViewBackground": false,
|
||||
"clearDisplayBuffer": true,
|
||||
},
|
||||
"physicsSettings": {
|
||||
"inheritPhysicsSettings": false,
|
||||
"PhysicsWorld": false,
|
||||
"PhysicsWorldGravityX": 0.0,
|
||||
"PhysicsWorldGravityY": 10.0,
|
||||
"PhysicsWorldPixToMetres": 0.1,
|
||||
},
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "rm_gameloop",
|
||||
"tags": [],
|
||||
"resourceType": "GMRoom",
|
||||
}
|
|
@ -16,7 +16,7 @@
|
|||
{"instances":[
|
||||
{"properties":[],"isDnd":false,"objectId":{"name":"obj_title","path":"objects/obj_title/obj_title.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":0.0,"y":0.0,"resourceVersion":"1.0","name":"inst_7E5FD886","tags":[],"resourceType":"GMRInstance",},
|
||||
],"visible":true,"depth":0,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_UI","tags":[],"resourceType":"GMRInstanceLayer",},
|
||||
{"spriteId":null,"colour":4294967295,"x":0,"y":0,"htiled":false,"vtiled":false,"hspeed":0.0,"vspeed":0.0,"stretch":false,"animationFPS":30.0,"animationSpeedType":0,"userdefinedAnimFPS":false,"visible":true,"depth":100,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_canvas","tags":[],"resourceType":"GMRBackgroundLayer",},
|
||||
{"spriteId":{"name":"spr_bg_fairground","path":"sprites/spr_bg_fairground/spr_bg_fairground.yy",},"colour":4294967295,"x":0,"y":0,"htiled":false,"vtiled":false,"hspeed":0.0,"vspeed":0.0,"stretch":false,"animationFPS":30.0,"animationSpeedType":0,"userdefinedAnimFPS":false,"visible":true,"depth":100,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_canvas","tags":[],"resourceType":"GMRBackgroundLayer",},
|
||||
],
|
||||
"inheritLayers": false,
|
||||
"creationCodeFile": "",
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"isDnd": false,
|
||||
"volume": 1.0,
|
||||
"parentRoom": null,
|
||||
"views": [
|
||||
{"inherit":false,"visible":true,"xview":0,"yview":0,"wview":640,"hview":360,"xport":0,"yport":0,"wport":1280,"hport":720,"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_victory","path":"objects/obj_victory/obj_victory.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":0.0,"y":0.0,"resourceVersion":"1.0","name":"inst_6508D83D","tags":[],"resourceType":"GMRInstance",},
|
||||
],"visible":true,"depth":0,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_UI","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,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"lyr_canvas","tags":[],"resourceType":"GMRBackgroundLayer",},
|
||||
],
|
||||
"inheritLayers": false,
|
||||
"creationCodeFile": "",
|
||||
"inheritCode": false,
|
||||
"instanceCreationOrder": [
|
||||
{"name":"inst_6508D83D","path":"rooms/rm_victory/rm_victory.yy",},
|
||||
],
|
||||
"inheritCreationOrder": false,
|
||||
"sequenceId": null,
|
||||
"roomSettings": {
|
||||
"inheritRoomSettings": false,
|
||||
"Width": 640,
|
||||
"Height": 360,
|
||||
"persistent": false,
|
||||
},
|
||||
"viewSettings": {
|
||||
"inheritViewSettings": false,
|
||||
"enableViews": true,
|
||||
"clearViewBackground": false,
|
||||
"clearDisplayBuffer": true,
|
||||
},
|
||||
"physicsSettings": {
|
||||
"inheritPhysicsSettings": false,
|
||||
"PhysicsWorld": false,
|
||||
"PhysicsWorldGravityX": 0.0,
|
||||
"PhysicsWorldGravityY": 10.0,
|
||||
"PhysicsWorldPixToMetres": 0.1,
|
||||
},
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "rm_victory",
|
||||
"tags": [],
|
||||
"resourceType": "GMRoom",
|
||||
}
|
|
@ -7,10 +7,14 @@ function scr_dialogue_start( _filename ) {
|
|||
if (!instance_exists(obj_dialogue) ) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
//VERSION 2 FILE FORMAT - new variable bg_test
|
||||
//NOT COMPATIBLE WITH PRIOR DIALOGUE SCRIPTS (Wriggle, Sunflowers)
|
||||
|
||||
//file format for dialogue:
|
||||
/*
|
||||
last_active {int} active_test
|
||||
bg_id {int} bg_test
|
||||
actor_left_emote {int} emote_test
|
||||
actor_left {string} name_test
|
||||
actor_right_emote {int} emote_test
|
||||
|
@ -30,6 +34,7 @@ function scr_dialogue_start( _filename ) {
|
|||
|
||||
//clear all queues
|
||||
ds_queue_clear( obj_dialogue.active_test );
|
||||
ds_queue_clear( obj_dialogue.bg_test);
|
||||
ds_queue_clear( obj_dialogue.emote_test );
|
||||
ds_queue_clear( obj_dialogue.name_test );
|
||||
ds_queue_clear( obj_dialogue.text_test );
|
||||
|
@ -41,6 +46,8 @@ function scr_dialogue_start( _filename ) {
|
|||
while (!file_text_eof(file) ) {
|
||||
ds_queue_enqueue( obj_dialogue.active_test, file_text_read_real(file) );
|
||||
file_text_readln(file);
|
||||
ds_queue_enqueue( obj_dialogue.bg_test, file_text_read_real(file) );
|
||||
file_text_readln(file);
|
||||
ds_queue_enqueue( obj_dialogue.emote_test, file_text_read_real(file) );
|
||||
file_text_readln(file);
|
||||
ds_queue_enqueue( obj_dialogue.name_test, file_text_read_string(file) );
|
||||
|
@ -68,4 +75,5 @@ function scr_dialogue_start( _filename ) {
|
|||
obj_dialogue.spewlength = 0;
|
||||
obj_dialogue.last_active = LEFT;
|
||||
obj_dialogue.text_advance_ready = TEXT_LOADING;
|
||||
obj_dialogue.bg_id = BG_NONE;
|
||||
}
|
|
@ -39,6 +39,10 @@
|
|||
#macro SCORE_INIT 2
|
||||
#macro SCORE_ZERO 0
|
||||
|
||||
//particle systems
|
||||
#macro PART_EMIT_CHERRYRAIN 0
|
||||
#macro PART_TYPE_CHERRYFOUNTAIN 0
|
||||
|
||||
//title
|
||||
#macro TITLE_MENU_CHOICES 2
|
||||
// #macro TITLE_MENU_TEXT_CONTINUE "Continue"
|
||||
|
@ -70,49 +74,36 @@
|
|||
#macro EMOTE_OUCH 5
|
||||
#macro LEFT_ACTOR 0
|
||||
#macro RIGHT_ACTOR 1
|
||||
#macro NARRATOR 2
|
||||
#macro BG_NONE 0
|
||||
#macro BG_TEST 1
|
||||
#macro BG_MISTYLAKE 2
|
||||
#macro BG_SDM 3
|
||||
#macro BG_FAIR 4
|
||||
|
||||
//cutscene
|
||||
#macro CUTSCENE_NOSCENE 0
|
||||
#macro CUTSCENE_OPENING 1
|
||||
#macro CUTSCENE_FINAL 4
|
||||
|
||||
//scoring
|
||||
#macro RANK_UNRANKED 0
|
||||
#macro RANK_E_EASY 1
|
||||
#macro RANK_D_DUMMY 2
|
||||
#macro RANK_C_CUTIE 3
|
||||
#macro RANK_B_BAKA 4
|
||||
#macro RANK_A_ALIEN 5
|
||||
#macro RANK_S_SWEET 6
|
||||
#macro RANK_SS_SILLY_SPRITE 7
|
||||
#macro RANK_SSS_SMOKIN_STYLIN_SISTER 8
|
||||
|
||||
//player
|
||||
#macro SPAWN_X 60
|
||||
#macro SPAWN_Y 180
|
||||
#macro FOCUS_SPEED 3
|
||||
#macro UNFOC_SPEED 6
|
||||
#macro SHOT_SPEED 8
|
||||
|
||||
#macro SHOT_NORMAL_DELAY 5
|
||||
#macro SHOT_NORMAL_DAMAGE 5
|
||||
#macro SHOT_NORMAL_SPEED 8
|
||||
#macro SHOT_NORMAL_LIFETIME 50
|
||||
#macro SHOT_FLAME_DELAY 2
|
||||
#macro SHOT_FLAME_DAMAGE 0.5
|
||||
#macro SHOT_FLAME_SPEED 10
|
||||
#macro SHOT_FLAME_FRICTION 0.3
|
||||
#macro SHOT_FLAME_LIFETIME 30
|
||||
#macro SHOT_LASER_DELAY 30
|
||||
#macro SHOT_LASER_LIFETIME 90
|
||||
#macro SHOT_LASER_DAMAGE 1
|
||||
#macro SHOT_LASER_ARM 20
|
||||
#macro SHOT_MISSILE_DELAY 5
|
||||
#macro SHOT_MISSILE_DAMAGE 8
|
||||
#macro SHOT_MISSILE_SPEED 8
|
||||
#macro SHOT_MISSILE_TARGET_DELAY 6
|
||||
#macro SHOT_MISSILE_LIFETIME 50
|
||||
|
||||
#macro PLAYER_POWERUP_NORMAL 0
|
||||
#macro PLAYER_POWERUP_FLAMES 1
|
||||
#macro PLAYER_POWERUP_LASER 2
|
||||
#macro PLAYER_POWERUP_MISSILE 3
|
||||
|
||||
|
||||
//cutscene
|
||||
#macro CUTSCENE_NOSCENE 0
|
||||
#macro CUTSCENE_OPENING 1
|
||||
#macro CUTSCENE_MIDBOSS 2
|
||||
#macro CUTSCENE_BOSS 3
|
||||
#macro CUTSCENE_FINAL 4
|
||||
|
||||
//particle systems
|
||||
#macro PART_EMIT_CHERRYRAIN 0
|
||||
#macro PART_TYPE_CHERRYFOUNTAIN 0
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -125,5 +116,8 @@ function scr_initialize() {
|
|||
global.cutscene_number = CUTSCENE_NOSCENE;
|
||||
global.dialogue_mode = false;
|
||||
global.combat_mode = false;
|
||||
window_set_cursor(cr_none);
|
||||
scr_particles_init();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -32,3 +32,5 @@ var keycheck = false;
|
|||
|
||||
return keycheck;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -10,14 +10,14 @@ function scr_input_init() {
|
|||
global.keyboard = ds_map_create();
|
||||
}
|
||||
|
||||
global.keyboard[? INPUT_UP] = vk_up;
|
||||
global.keyboard[? INPUT_DOWN] = vk_down;
|
||||
global.keyboard[? INPUT_LEFT] = vk_left;
|
||||
global.keyboard[? INPUT_RIGHT] = vk_right;
|
||||
global.keyboard[? INPUT_SHOT_LEFT] = ord("Z");
|
||||
global.keyboard[? INPUT_SHOT_RIGHT] = ord("C");
|
||||
global.keyboard[? INPUT_UP] = ord("W");
|
||||
global.keyboard[? INPUT_DOWN] = ord("S");
|
||||
global.keyboard[? INPUT_LEFT] = ord("A");
|
||||
global.keyboard[? INPUT_RIGHT] = ord("D");
|
||||
global.keyboard[? INPUT_SHOT_LEFT] = ord("Q");
|
||||
global.keyboard[? INPUT_SHOT_RIGHT] = ord("E");
|
||||
global.keyboard[? INPUT_FOCUS] = vk_shift;
|
||||
global.keyboard[? INPUT_BOMB] = ord("X");
|
||||
global.keyboard[? INPUT_BOMB] = ord("F");
|
||||
global.keyboard[? INPUT_PAUSE] = vk_escape;
|
||||
global.keyboard[? INPUT_ANY] = vk_anykey;
|
||||
|
||||
|
@ -69,3 +69,5 @@ function scr_input_init() {
|
|||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -55,9 +55,13 @@ function scr_options_init(){
|
|||
window_set_fullscreen(true);
|
||||
view_set_hport(view_current, WINDOW_BASE_HEIGHT * global.options[? OPTIONS_FULLMULT]);
|
||||
view_set_wport(view_current, WINDOW_BASE_WIDTH * global.options[? OPTIONS_FULLMULT]);
|
||||
window_set_cursor(cr_none);
|
||||
cursor_sprite = asset_get_index( "spr_cursor_" + string(WINDOW_BASE_HEIGHT * global.options[? OPTIONS_FULLMULT]) );
|
||||
} else {
|
||||
window_set_fullscreen(false);
|
||||
view_set_hport(view_current, WINDOW_BASE_HEIGHT * global.options[? OPTIONS_WINDOWMULT]);
|
||||
view_set_wport(view_current, WINDOW_BASE_WIDTH * global.options[? OPTIONS_WINDOWMULT]);
|
||||
cursor_sprite = asset_get_index( "spr_cursor_" + string(WINDOW_BASE_HEIGHT * global.options[? OPTIONS_FULLMULT]) );
|
||||
window_set_cursor(cr_none);
|
||||
}
|
||||
}
|
|
@ -22,7 +22,7 @@ function scr_scores( _mode ) {
|
|||
case SCORE_WRITE:
|
||||
if ( file_exists( working_directory + "scores.txt" ) ) {
|
||||
var file = file_text_open_append( working_directory + "scores.txt" );
|
||||
file_text_write_real( file, obj_player.score_current );
|
||||
file_text_write_real( file, obj_player_cirno.score_current );
|
||||
file_text_writeln(file);
|
||||
file_text_close(file);
|
||||
}
|
||||
|
@ -41,3 +41,4 @@ function scr_scores( _mode ) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"conversionMode": 0,
|
||||
"compression": 0,
|
||||
"volume": 1.0,
|
||||
"preload": false,
|
||||
"bitRate": 128,
|
||||
"sampleRate": 44100,
|
||||
"type": 0,
|
||||
"bitDepth": 1,
|
||||
"audioGroupId": {
|
||||
"name": "audiogroup_default",
|
||||
"path": "audiogroups/audiogroup_default",
|
||||
},
|
||||
"soundFile": "snd_boing.ogg",
|
||||
"duration": 1.044898,
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "snd_boing",
|
||||
"tags": [],
|
||||
"resourceType": "GMSound",
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"conversionMode": 0,
|
||||
"compression": 0,
|
||||
"volume": 1.0,
|
||||
"preload": false,
|
||||
"bitRate": 128,
|
||||
"sampleRate": 44100,
|
||||
"type": 0,
|
||||
"bitDepth": 1,
|
||||
"audioGroupId": {
|
||||
"name": "audiogroup_default",
|
||||
"path": "audiogroups/audiogroup_default",
|
||||
},
|
||||
"soundFile": "snd_enemy_destroy.wav",
|
||||
"duration": 0.267029,
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "snd_enemy_destroy",
|
||||
"tags": [],
|
||||
"resourceType": "GMSound",
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"conversionMode": 0,
|
||||
"compression": 0,
|
||||
"volume": 1.0,
|
||||
"preload": false,
|
||||
"bitRate": 128,
|
||||
"sampleRate": 44100,
|
||||
"type": 0,
|
||||
"bitDepth": 1,
|
||||
"audioGroupId": {
|
||||
"name": "audiogroup_default",
|
||||
"path": "audiogroups/audiogroup_default",
|
||||
},
|
||||
"soundFile": "snd_ow.wav",
|
||||
"duration": 0.615329,
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "snd_ow",
|
||||
"tags": [],
|
||||
"resourceType": "GMSound",
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"conversionMode": 0,
|
||||
"compression": 0,
|
||||
"volume": 1.0,
|
||||
"preload": false,
|
||||
"bitRate": 128,
|
||||
"sampleRate": 44100,
|
||||
"type": 0,
|
||||
"bitDepth": 1,
|
||||
"audioGroupId": {
|
||||
"name": "audiogroup_default",
|
||||
"path": "audiogroups/audiogroup_default",
|
||||
},
|
||||
"soundFile": "snd_player_deathbomb.wav",
|
||||
"duration": 3.173039,
|
||||
"parent": {
|
||||
"name": "player",
|
||||
"path": "folders/player.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "snd_player_deathbomb",
|
||||
"tags": [],
|
||||
"resourceType": "GMSound",
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"conversionMode": 0,
|
||||
"compression": 0,
|
||||
"volume": 1.0,
|
||||
"preload": false,
|
||||
"bitRate": 128,
|
||||
"sampleRate": 44100,
|
||||
"type": 0,
|
||||
"bitDepth": 1,
|
||||
"audioGroupId": {
|
||||
"name": "audiogroup_default",
|
||||
"path": "audiogroups/audiogroup_default",
|
||||
},
|
||||
"soundFile": "snd_spin.ogg",
|
||||
"duration": 1.555737,
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "snd_spin",
|
||||
"tags": [],
|
||||
"resourceType": "GMSound",
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"conversionMode": 0,
|
||||
"compression": 0,
|
||||
"volume": 1.0,
|
||||
"preload": false,
|
||||
"bitRate": 128,
|
||||
"sampleRate": 44100,
|
||||
"type": 0,
|
||||
"bitDepth": 1,
|
||||
"audioGroupId": {
|
||||
"name": "audiogroup_default",
|
||||
"path": "audiogroups/audiogroup_default",
|
||||
},
|
||||
"soundFile": "snd_weee.ogg",
|
||||
"duration": 0.905578,
|
||||
"parent": {
|
||||
"name": "thsj2022",
|
||||
"path": "thsj2022.yyp",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "snd_weee",
|
||||
"tags": [],
|
||||
"resourceType": "GMSound",
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue