Rivals of Aether

Rivals of Aether

Tutorial Mode
corolla stroker  [developer] 16 Jul, 2021 @ 2:31pm
HOW TO: ADDING YOUR OWN MISSIONS & TIPS
Need more mission examples?
Check out Update.gml of this buddy to look at the preset ones!

MISSIONS (Difficult)
If you know how to code already, it'll be pretty easy to understand!
Other use the preset tutorial codes to help you out with it!

Init.gml
bTut_Missions = true; // This is to enable the feature for your character. bTut_mssn_reset = false; //When repeating the task, you dont want it to complete all at the same time! bTut_mssn_total = 3; //How many trials you want to make for your character. You can add as many as you want. bTut_mssn_title[0] = "Showing Tech / Mechanics"; bTut_mssn_desc[0] = "No Need to Hit Opponent"; bTut_mssn_title[1] = "Variable Specific Combo"; bTut_mssn_desc[1] = "This is an example if let's say your character needs to be at 100 meter for this combo!"; bTut_mssn_title[2] = "Want to repeat something?"; bTut_mssn_desc[2] = "Similar to Rivals' Tutorials"; bTut_mssn_title[2] = "Articles"; bTut_mssn_desc[2] = "Similar to Rivals' Tutorials";

EXAMPLE MISSIONS
Update.gml
if(variable_instance_exists(id,"bTut_mssn_mode") && bTut_mssn_mode) //Checks if mission mode is on! { switch(bTut_mssn) //checks what mission youre on { //Perform Specials case 0: with(oPlayer) { bTut_mssn_cmbo = false; } //If just showing off mechanics put this! bTut_mssn_cmbo_moves[0] = "U-Special"; //Show off U-Special bTut_mssn_cmbo_moves[1] = "Grounded F-Special"; //Show off F-Special! switch(bTut_mssn_part) //This checks what the player is doing! { case 0: if(attack == AT_USPECIAL && state == PS_ATTACK_AIR && window == 2) //Checks if youre in the air with U-Special. missionNext(); //Go to next part of the mission, if the function above goes thru! break; case 1: if(attack == AT_FSPECIAL && state == PS_ATTACK_GROUND) //Make sure that its on the ground! { missionNext();} break; } break; //Jab to Down-Tilt case 1: with(oPlayer) { bTut_mssn_cmbo = (!other.bTut_mssn_finish ? true : false); } //Add this function if its a combo! bTut_mssn_cmbo_moves[0] = "Jab"; //First attack is a Jab bTut_mssn_cmbo_moves[1] = "D-Tilt"; //Into Down Tilt! A Classic switch(bTut_mssn_part) //This checks what the player is doing! { case 0: meter = 100; //Lets you have meter here and resets if you fail the combo. if(attack == AT_JAB && hitpause) { missionNext(); } break; case 1: if(attack == AT_DTILT && hitpause) { missionNext(); } break; } break; //Perform a task three times case 2: with(oPlayer) { bTut_mssn_cmbo = false; } //If just showing off mechanics put this! for(msn_part = 0; msn_part < 3; msn_part++) //A for loop function that lets you repeat the task 3 three times. bTut_mssn_cmbo_moves[msn_part] = "D-Special"; //Just do down special! //You only have one thing to do in this trial! Now repeat it multiple times. if((state == PS_ATTACK_GROUND || state == PS_ATTACK_GROUND) && attack == AT_DSPECIAL) { bTut_mssn_reset = true; //IMPORTANT to set this if doing the same task multiple times. missionNext(); } else bTut_mssn_reset = false; //Lets you do it again after. break; //ARTICLES, same as three tasks at the same time. case 3: with(oPlayer) { bTut_mssn_cmbo = false; } //If just showing off mechanics put this! for(msn_part = 0; msn_part < 3; msn_part++) //A for loop function that lets you repeat the task 3 three times. bTut_mssn_cmbo_moves[msn_part] = "D-Special (Spawn Article)"; //Just do down special! //You only have one thing to do in this trial! Now repeat it multiple times. //If you want to have an article just spawn in three times. with(obj_article1) //check for this bad boy { if(player == other.player) //make sure its yours first uwu { if(state == 2) { other.bTut_mssn_reset = true; //IMPORTANT to set this if doing the same task multiple times. other.missionNext(); } else other.bTut_mssn_reset = false; } } //What if you want the article or a specific hitbox to hit someone? with(asset_get("pHitBox")) { if(attack == AT_DSPECIAL && hbox_num == 2 && has_hit) //Check if D-Special hit with its second hitbox! other.missionNext(); } break; } } //AT THE VERY bottom of the file. #define missionNext() //This lets the buddy know that you are going to the next part of the mission. { if(!bTut_mssn_reset) //Prevents you from completing multiple tasks at the same time! { bTut_mssn_part++; sound_play(asset_get("mfx_coin")); if(array_length(bTut_mssn_cmbo_moves) <= bTut_mssn_part) bTut_mssn_finish = true; } }

TIPS & TRICKS (Easy)
Tips are to show information about your character or to go into more detail about your character's gimmicks!

Init.gml
bTut_Tips = true; // This is to enable the feature for your character. bTut_tips_total = 1; //How many tips you want to show for your character. You can add as many as you want. //EXAMPLE TIP bTut_tips_title[0] = "Wavedashing"; bTut_tips_desc[0] = "When pressing dodge/shield immediately after jumping, within 5 pixels above/below a platform, the game will stick you to it. With it, you can use your airdodge momentum to travel across the stage!";