<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Tyrant Haxorus]]></provider_name><provider_url><![CDATA[https://tyranthaxorus.wordpress.com]]></provider_url><author_name><![CDATA[tyranthackrous]]></author_name><author_url><![CDATA[https://tyranthaxorus.wordpress.com/author/tyranthackrous/]]></author_url><title><![CDATA[How to Make Basic Invincibility Frames in GameMaker&nbsp;Studio]]></title><type><![CDATA[link]]></type><html><![CDATA[<p><img loading="lazy" data-attachment-id="2425" data-permalink="https://tyranthaxorus.wordpress.com/2016/05/23/how-to-make-player-movement-for-a-platformer-in-gamemaker-studio/gamemaker-studio-logo/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/05/gamemaker-studio-logo.jpg" data-orig-size="1600,900" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="GameMaker-Studio-Logo" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/05/gamemaker-studio-logo.jpg?w=300" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/05/gamemaker-studio-logo.jpg?w=1024" class="  wp-image-2425 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/05/gamemaker-studio-logo.jpg?w=380&#038;h=214" alt="GameMaker-Studio-Logo" width="380" height="214" srcset="https://tyranthaxorus.files.wordpress.com/2016/05/gamemaker-studio-logo.jpg?w=380&amp;h=214 380w, https://tyranthaxorus.files.wordpress.com/2016/05/gamemaker-studio-logo.jpg?w=760&amp;h=428 760w, https://tyranthaxorus.files.wordpress.com/2016/05/gamemaker-studio-logo.jpg?w=150&amp;h=84 150w, https://tyranthaxorus.files.wordpress.com/2016/05/gamemaker-studio-logo.jpg?w=300&amp;h=169 300w" sizes="(max-width: 380px) 100vw, 380px" /></p>
<p>In video games, invincibility frames are the period of time when a player is invulnerable to a game&#8217;s hazards. They allow the player to make a mistake and have enough time to quickly move away from hazards. Without invincibility frames, moments of high challenge become frustrating for players that don&#8217;t have a high level of skill. While not every game requires invincibility frames, they are a feature that grants players a margin of error for how many times they can make a mistake.</p>
<p>To start, create 3 sprites and name them <strong>Spr_Player</strong>, <strong>Spr_Wall</strong> and <strong>Spr_Enemy1</strong>.</p>
<p><img loading="lazy" data-attachment-id="2469" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic1/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic1.png" data-orig-size="163,87" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic1" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic1.png?w=163" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic1.png?w=163" class=" size-full wp-image-2469 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic1.png?w=163&#038;h=87" alt="Tutorial Pic1" width="163" height="87" srcset="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic1.png 163w, https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic1.png?w=150&amp;h=80 150w" sizes="(max-width: 163px) 100vw, 163px" /></p>
<p>Then create 3 objects and name them <strong>Obj_Player</strong>, <strong>Obj_Wall</strong> and <strong>Obj_Enemy1</strong></p>
<p><img loading="lazy" data-attachment-id="2475" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic2/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic2.png" data-orig-size="166,86" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic2" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic2.png?w=166" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic2.png?w=166" class=" size-full wp-image-2475 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic2.png?w=166&#038;h=86" alt="Tutorial Pic2" width="166" height="86" srcset="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic2.png 166w, https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic2.png?w=150&amp;h=78 150w" sizes="(max-width: 166px) 100vw, 166px" /></p>
<p>Select <strong>Obj_Wall</strong> and have Solid turned on</p>
<p><img loading="lazy" data-attachment-id="2479" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic3/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic3.png" data-orig-size="208,169" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic3" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic3.png?w=208" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic3.png?w=208" class=" size-full wp-image-2479 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic3.png?w=208&#038;h=169" alt="Tutorial Pic3" width="208" height="169" srcset="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic3.png 208w, https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic3.png?w=150&amp;h=122 150w" sizes="(max-width: 208px) 100vw, 208px" /></p>
<p>Then open up <strong>Obj_Player</strong> and put in these events:</p>
<p><img loading="lazy" data-attachment-id="2484" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic4/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic4.png" data-orig-size="244,151" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic4" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic4.png?w=244" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic4.png?w=244" class=" size-full wp-image-2484 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic4.png?w=244&#038;h=151" alt="Tutorial Pic4" width="244" height="151" srcset="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic4.png 244w, https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic4.png?w=150&amp;h=93 150w" sizes="(max-width: 244px) 100vw, 244px" /></p>
<p>Now make a sound file with the sound icon.</p>
<p><img loading="lazy" data-attachment-id="2509" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic8/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic8.png" data-orig-size="24,30" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic8" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic8.png?w=24" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic8.png?w=24" class=" size-full wp-image-2509 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic8.png?w=24&#038;h=30" alt="Tutorial Pic8" width="24" height="30" /></p>
<p>Select an MP3 file from your computer and in Target Options, Set it to Stereo and 16 bit.</p>
<p>In the Create event, enter the Control tab on the right. In the Variables section, select Set Variable and put in the following:</p>
<p><img loading="lazy" data-attachment-id="2495" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic5-2/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic51.png" data-orig-size="186,72" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic5" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic51.png?w=186" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic51.png?w=186" class=" size-full wp-image-2495 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic51.png?w=186&#038;h=72" alt="Tutorial Pic5" width="186" height="72" srcset="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic51.png 186w, https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic51.png?w=150&amp;h=58 150w" sizes="(max-width: 186px) 100vw, 186px" /></p>
<p>In the Alarm 0 event, put in the following:</p>
<p><img loading="lazy" data-attachment-id="2501" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic6/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic6.png" data-orig-size="189,69" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic6" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic6.png?w=189" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic6.png?w=189" class=" size-full wp-image-2501 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic6.png?w=189&#038;h=69" alt="Tutorial Pic6" width="189" height="69" srcset="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic6.png 189w, https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic6.png?w=150&amp;h=55 150w" sizes="(max-width: 189px) 100vw, 189px" /></p>
<p>In the Step event, put in the following:</p>
<p><img loading="lazy" data-attachment-id="2504" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic7/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic7.png" data-orig-size="211,356" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic7" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic7.png?w=178" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic7.png?w=211" class=" size-full wp-image-2504 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic7.png?w=211&#038;h=356" alt="Tutorial Pic7" width="211" height="356" srcset="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic7.png 211w, https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic7.png?w=89&amp;h=150 89w" sizes="(max-width: 211px) 100vw, 211px" /></p>
<p>In the Collision event with <strong>Obj_Enemy1, </strong>put in the following:</p>
<p><img loading="lazy" data-attachment-id="2518" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic9/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic9.png" data-orig-size="228,223" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic9" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic9.png?w=228" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic9.png?w=228" class=" size-full wp-image-2518 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic9.png?w=228&#038;h=223" alt="Tutorial Pic9" width="228" height="223" srcset="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic9.png 228w, https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic9.png?w=150&amp;h=147 150w" sizes="(max-width: 228px) 100vw, 228px" /></p>
<p>In the Draw event, put in the following: (For the code icon, put in image_alpha = Flash)</p>
<p><img loading="lazy" data-attachment-id="2525" data-permalink="https://tyranthaxorus.wordpress.com/2016/08/19/how-to-make-basic-invincibility-frames-in-gamemaker-studio/tutorial-pic10/" data-orig-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic10.png" data-orig-size="182,67" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tutorial Pic10" data-image-description="" data-medium-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic10.png?w=182" data-large-file="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic10.png?w=182" class=" size-full wp-image-2525 aligncenter" src="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic10.png?w=182&#038;h=67" alt="Tutorial Pic10" width="182" height="67" srcset="https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic10.png 182w, https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic10.png?w=150&amp;h=55 150w" sizes="(max-width: 182px) 100vw, 182px" /></p>
<p>Once a room has been made and these 3 objects are placed in that room, the player should flash when coming into contact with the enemy and a sound effect will play. Do not hesitate to point out flaws and inaccuracies with this tutorial and I hope this has helped your title in progress.</p>
]]></html><thumbnail_url><![CDATA[https://tyranthaxorus.files.wordpress.com/2016/08/tutorial-pic9.png?fit=440%2C330]]></thumbnail_url><thumbnail_width><![CDATA[228]]></thumbnail_width><thumbnail_height><![CDATA[223]]></thumbnail_height></oembed>