TT menu & goal related logic

going to have to clean this up later
main
maylokana 5 years ago
parent 371a73d189
commit 93c5e9d9c3

@ -1285,6 +1285,8 @@
<sound>sound\musCredits</sound>
<sound>sound\musArea8</sound>
<sound>sound\musGenesis</sound>
<sound>sound\musTrialsMenu</sound>
<sound>sound\musTrialsWin</sound>
</sounds>
<sounds name="A4">
<sound>sound\sndA4AlarmLoop</sound>
@ -3391,6 +3393,10 @@
</sprites>
<sprite>sprites\sShipGlow</sprite>
</sprites>
<sprites name="TimeTrial">
<sprite>sprites\sTTButton43</sprite>
<sprite>sprites\sTTButton169</sprite>
</sprites>
</sprites>
<backgrounds name="background">
<background>background\bgScreenGuide</background>
@ -4337,6 +4343,7 @@
<script>scripts\set_map_info.gml</script>
<script>scripts\start_trial.gml</script>
<script>scripts\goal_trial.gml</script>
<script>scripts\draw_timer.gml</script>
</scripts>
</scripts>
<shaders name="shaders">
@ -5384,6 +5391,7 @@
</objects>
<objects name="TimeTrial">
<object>objects\oTrialSelect</object>
<object>objects\oTrialClear</object>
<object>objects\oTrialGoal</object>
<object>objects\oTrialLogic</object>
<object>objects\oTrialAutoad</object>
@ -5394,6 +5402,7 @@
<object>objects\oTTSpring</object>
<object>objects\oTTMissile</object>
<object>objects\oTTSuper</object>
<object>objects\oSkipMain</object>
</objects>
</objects>
<timelines name="timelines">
@ -5820,6 +5829,7 @@
</rooms>
<rooms name="TimeTrial">
<room>rooms\trialselectroom</room>
<room>rooms\trialclearroom</room>
<rooms name="Ingame">
<room>rooms\map0</room>
<room>rooms\map1</room>

@ -220,7 +220,7 @@
<option_changeresolution>false</option_changeresolution>
<option_closeesc>true</option_closeesc>
<option_colordepth>0</option_colordepth>
<option_display_name>AM2R</option_display_name>
<option_display_name>AM2R: Time Trials</option_display_name>
<option_displayerrors>True</option_displayerrors>
<option_ecma>0</option_ecma>
<option_facebook_app_display_name></option_facebook_app_display_name>

@ -0,0 +1,54 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>&lt;undefined&gt;</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>if (global.skip_mMenu == 1){
audio_stop_all();
if (global.results == 1){
room_change(trialclearroom,0);
}else{
room_change(trialselectroom,0);
}
}
</string>
</argument>
</arguments>
</action>
</event>
</events>
<PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints/>
</object>

@ -51,7 +51,7 @@
<string>audio_stop_sound(sndMessage);
sfx_play(sndMessage);
make_notification("New Item","Spring Ball Acquired",140,"","");
global.bomb = 1;
global.jumpball = 1;
instance_destroy();
</string>
</argument>

@ -0,0 +1,109 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>&lt;undefined&gt;</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>oControl.ingame = 0;
mus_change(musTrialsWin);
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="3" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>if (oControl.kMenu1Pressed){
audio_stop_all();
sfx_play(sndMenuMove);
room_change(trialselectroom,0);
}
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="8" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>// set up
draw_set_color(c_white);
draw_set_font(fontGUI2Default);
draw_set_halign(fa_center);
// text
draw_text_border(160,50,"good job beating the course#
right now there isn't a proper clear#
screen so ignore this for now##
press your 'accept' menu button to#
go back to the main menu#
your time was "+time_string(global.end_time));
</string>
</argument>
</arguments>
</action>
</event>
</events>
<PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints/>
</object>

@ -48,9 +48,11 @@
<arguments>
<argument>
<kind>1</kind>
<string>mus_change(musItemAmb);
<string>sfx_play(sndMessage);
mus_stop(oMusicV2.currentbgm);
oTrialLogic.timer_started = -1;
goal_trial(); // the actual goal code
global.end_time = oTrialLogic.timer;
oTrialLogic.alarm[1] = 90;
instance_destroy(); // done with this object so make it not exist
</string>
</argument>

@ -25,12 +25,36 @@
<arguments>
<argument>
<kind>1</kind>
<string>visible = 0; // hide me!
<string>global.clear = 0;
visible = 0; // hide me!
// initially triallogic will merely act as a spawn point but does more than that
alarm[0] = 1; // alarm for spawning samus
// variables
timer_started = 0;
timer = 0; // in tics
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="2" enumb="1">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>goal_trial();
</string>
</argument>
</arguments>
@ -85,6 +109,12 @@ if (timer_started == 0) &amp;&amp; !(oCharacter.state == 33){
mus_change(musEris);
timer_started = 1;
}
if (keyboard_check(vk_alt)){
room_speed = 6;
}else{
room_speed = 60;
}
</string>
</argument>
</arguments>

@ -29,8 +29,13 @@
it's probably not an optimal way of having a menu
i'll live my life how i want to */
audio_stop_sound(musTitle); // a fix so that the og main menu theme stops playing
scroll_x = 0; // background scrolling
cursor_blink = 0; // the visual cursor blinking
// cursor nudges used on the main menu
nudge_x = 0;
nudge_y = 0;
flavor_text = "Flavor text goes here"; // flavor_text used on the bottom of the screen
@ -84,8 +89,18 @@ set_map_info(1,"First Steps",1,"Everyone has to start somewhere, right?",map1,-1
<string>scroll_x += 0.2;
if (scroll_x &gt; 24) then scroll_x = 0;
// cursor blink
++cursor_blink;
if (cursor_blink &gt; 120) then cursor_blink = 0;
// nudge related
if (abs(nudge_x) &gt; 0){
nudge_x /= 1.6;
if (abs(nudge_x) &lt; 0.01) then nudge_x = 0;
}
if (abs(nudge_y) &gt; 0){
nudge_y /= 1.6;
if (abs(nudge_y) &lt; 0.01) then nudge_y = 0;
}
// all the menu stuffs
if (active){
@ -93,22 +108,83 @@ switch (cat){
case 0: // main menu
if (oControl.kDown &amp;&amp; oControl.kDownPushedSteps == 0){
sfx_play(sndMenuMove);
++sel;
nudge_y = 3;
switch (sel){
case 0:
sel = 2;
break;
case 1:
sel = 3;
break;
case 2:
sel = 0;
break;
case 3:
sel = 1;
break;
}
}
if (oControl.kUp &amp;&amp; oControl.kUpPushedSteps == 0){
sfx_play(sndMenuMove);
--sel;
nudge_y = -3;
switch (sel){
case 0:
sel = 2;
break;
case 1:
sel = 3;
break;
case 2:
sel = 0;
break;
case 3:
sel = 1;
break;
}
}
if (oControl.kRight &amp;&amp; oControl.kRightPushedSteps == 0){
sfx_play(sndMenuMove);
nudge_x = 3;
switch (sel){
case 0:
sel = 1;
break;
case 1:
sel = 0;
break;
case 2:
sel = 3;
break;
case 3:
sel = 2;
break;
}
}
if (oControl.kLeft &amp;&amp; oControl.kLeftPushedSteps == 0){
sfx_play(sndMenuMove);
nudge_x = -3;
switch (sel){
case 0:
sel = 1;
break;
case 1:
sel = 0;
break;
case 2:
sel = 3;
break;
case 3:
sel = 2;
break;
}
}
if (sel &gt; 3) then sel = 0;
if (sel &lt; 0) then sel = 3;
if (oControl.kMenu1Pressed){
sfx_play(sndMenuSel);
switch (sel){
case 0:
cat = 1;
map_scroll = 80;
real_scroll = 80;
map_scroll = real_scroll;
break;
case 2:
room_change(rm_options,0);
@ -222,6 +298,7 @@ draw_text_border(300,5,"Align");
switch (cat){
case 0: // main menu
// menu options
/*
draw_set_halign(fa_center);
cursor_blinking(sel,0);
draw_text_border(160,170,"Course Select");
@ -231,6 +308,28 @@ cursor_blinking(sel,2);
draw_text_border(160,190,"Options");
cursor_blinking(sel,3);
draw_text_border(160,200,"Quit Game");
*/
var cx = 160+nudge_x;
var cy = 120+nudge_y;
if (oControl.widescreen){
cursor_blinking(sel,0);
draw_sprite_ext(sTTButton169,0,cx-100,cy-30,1,1,0,draw_get_color(),1);
cursor_blinking(sel,1);
draw_sprite_ext(sTTButton169,1,cx+100,cy-30,1,1,0,draw_get_color(),1);
cursor_blinking(sel,2);
draw_sprite_ext(sTTButton169,2,cx-100,cy+72,1,1,0,draw_get_color(),1);
cursor_blinking(sel,3);
draw_sprite_ext(sTTButton169,3,cx+100,cy+72,1,1,0,draw_get_color(),1);
}else{// 4:3 buttons
cursor_blinking(sel,0);
draw_sprite_ext(sTTButton43,0,cx-75,cy-30,1,1,0,draw_get_color(),1);
cursor_blinking(sel,1);
draw_sprite_ext(sTTButton43,1,cx+75,cy-30,1,1,0,draw_get_color(),1);
cursor_blinking(sel,2);
draw_sprite_ext(sTTButton43,2,cx-75,cy+72,1,1,0,draw_get_color(),1);
cursor_blinking(sel,3);
draw_sprite_ext(sTTButton43,3,cx+75,cy+72,1,1,0,draw_get_color(),1);
}
break;
case 1: // course select
for (var r1 = 0; r1 &lt; available_maps; ++r1){

@ -10,7 +10,7 @@
<persistent>0</persistent>
<colour>0</colour>
<showcolour>-1</showcolour>
<code></code>
<code>global.skip_mMenu = 0;</code>
<enableViews>-1</enableViews>
<clearViewBackground>-1</clearViewBackground>
<clearDisplayBuffer>0</clearDisplayBuffer>

@ -10,7 +10,8 @@
<persistent>0</persistent>
<colour>12632256</colour>
<showcolour>-1</showcolour>
<code>oMusicV2.currentbgm = musCaveAmbience;</code>
<code>// map0 functions as the test room.
oMusicV2.currentbgm = musCaveAmbience;</code>
<enableViews>-1</enableViews>
<clearViewBackground>-1</clearViewBackground>
<clearDisplayBuffer>-1</clearDisplayBuffer>
@ -51,7 +52,7 @@
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
</views>
<instances>
<instance objName="oTrialLogic" x="160" y="608" name="inst_53D1F2D9" locked="0" code="global.powergrip = 0;&#xA;" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oTrialLogic" x="160" y="608" name="inst_53D1F2D9" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSolid8x1" x="32" y="608" name="inst_1903DEA6" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSolid8x1" x="160" y="608" name="inst_E94B1B0F" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSolid8x1" x="288" y="608" name="inst_9CE4BB20" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
@ -106,10 +107,21 @@
<instance objName="oTTHijump" x="128" y="560" name="inst_B7C7DD45" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oTTBomb" x="64" y="560" name="inst_F438F1C7" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSolid2x2" x="96" y="432" name="inst_8887844C" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSpikes1" x="112" y="416" name="inst_2EA38C80" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSpikes1" x="96" y="416" name="inst_7FA7D4D3" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oTTPGrip" x="240" y="304" name="inst_0179079B" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oTTSpring" x="32" y="560" name="inst_EC9FF717" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oTrialGoal" x="96" y="400" name="inst_4DCD0D22" locked="0" code="" scaleX="2" scaleY="2" colour="4294967295" rotation="0"/>
<instance objName="oSolid1" x="2768" y="480" name="inst_417AB220" locked="0" code="" scaleX="1" scaleY="9" colour="4294967295" rotation="0"/>
<instance objName="oSolid1" x="16" y="480" name="inst_A562847F" locked="0" code="" scaleX="1" scaleY="9" colour="4294967295" rotation="0"/>
<instance objName="oSlope1" x="896" y="592" name="inst_77083D6D" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSlope1" x="912" y="576" name="inst_5054554C" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSlope1" x="928" y="560" name="inst_AABA01CD" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSlope1" x="944" y="544" name="inst_B89544CA" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSlope1" x="960" y="528" name="inst_495B80EE" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSlope2" x="976" y="528" name="inst_3D1BDBFD" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSlope2" x="992" y="544" name="inst_D0B1A941" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSlope2" x="1008" y="560" name="inst_A4494C7F" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSlope2" x="1024" y="576" name="inst_CA786029" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSlope2" x="1040" y="592" name="inst_559E9553" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oTrialGoal" x="2672" y="480" name="inst_2D173431" locked="0" code="" scaleX="6" scaleY="8" colour="4294967295" rotation="0"/>
</instances>
<tiles/>
<PhysicsWorld>0</PhysicsWorld>

@ -68,6 +68,7 @@ if (file_exists(working_directory + "\swap.ini")) file_delete(working_directory
<instance objName="oPressStart" x="160" y="184" name="inst_100002" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oDrawTitleBG" x="16" y="16" name="inst_100003" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oTitleAnimation" x="0" y="0" name="inst_100004" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="oSkipMain" x="0" y="32" name="inst_E26A3730" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
</instances>
<tiles/>
<PhysicsWorld>0</PhysicsWorld>

@ -0,0 +1,65 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<room>
<caption></caption>
<width>320</width>
<height>240</height>
<vsnap>32</vsnap>
<hsnap>32</hsnap>
<isometric>0</isometric>
<speed>60</speed>
<persistent>0</persistent>
<colour>1118481</colour>
<showcolour>-1</showcolour>
<code></code>
<enableViews>-1</enableViews>
<clearViewBackground>-1</clearViewBackground>
<clearDisplayBuffer>-1</clearDisplayBuffer>
<makerSettings>
<isSet>0</isSet>
<w>0</w>
<h>0</h>
<showGrid>0</showGrid>
<showObjects>0</showObjects>
<showTiles>0</showTiles>
<showBackgrounds>0</showBackgrounds>
<showForegrounds>0</showForegrounds>
<showViews>0</showViews>
<deleteUnderlyingObj>0</deleteUnderlyingObj>
<deleteUnderlyingTiles>0</deleteUnderlyingTiles>
<page>0</page>
<xoffset>0</xoffset>
<yoffset>0</yoffset>
</makerSettings>
<backgrounds>
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
</backgrounds>
<views>
<view visible="-1" objName="&lt;undefined&gt;" xview="0" yview="0" wview="320" hview="240" xport="0" yport="0" wport="320" hport="240" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
<view visible="0" objName="&lt;undefined&gt;" xview="0" yview="0" wview="1024" hview="768" xport="0" yport="0" wport="1024" hport="768" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
</views>
<instances>
<instance objName="oTrialClear" x="0" y="0" name="inst_C9BBA964" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
</instances>
<tiles/>
<PhysicsWorld>0</PhysicsWorld>
<PhysicsWorldTop>0</PhysicsWorldTop>
<PhysicsWorldLeft>0</PhysicsWorldLeft>
<PhysicsWorldRight>1024</PhysicsWorldRight>
<PhysicsWorldBottom>768</PhysicsWorldBottom>
<PhysicsWorldGravityX>0</PhysicsWorldGravityX>
<PhysicsWorldGravityY>10</PhysicsWorldGravityY>
<PhysicsWorldPixToMeters>0.100000001490116</PhysicsWorldPixToMeters>
</room>

@ -10,7 +10,8 @@
<persistent>0</persistent>
<colour>8421504</colour>
<showcolour>-1</showcolour>
<code>mus_loop(musItemAmb);</code>
<code>global.skip_mMenu = 1; // skip the main menu after going to it once
mus_loop(musTrialsMenu);</code>
<enableViews>-1</enableViews>
<clearViewBackground>-1</clearViewBackground>
<clearDisplayBuffer>-1</clearDisplayBuffer>

@ -1 +1,4 @@
// goal_trial()
remove_persistent_objects();
global.ingame = 0;
room_change(trialclearroom,0);

@ -13,4 +13,4 @@ global.mapoffsetx = 5;
global.myposy = 5;
global.mapoffsety = 5;
// don't worry about it
room_goto(room_); // go to the room designated by the var
room_change(room_,0); // go to the room designated by the var

@ -0,0 +1,29 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<sound>
<kind>3</kind>
<extension>.ogg</extension>
<origname>sound\audio\musTrialsMenu.ogg</origname>
<effects>0</effects>
<volume>
<volume>1</volume>
</volume>
<pan>0</pan>
<bitRates>
<bitRate>192</bitRate>
</bitRates>
<sampleRates>
<sampleRate>44100</sampleRate>
</sampleRates>
<types>
<type>1</type>
</types>
<bitDepths>
<bitDepth>16</bitDepth>
</bitDepths>
<preload>-1</preload>
<data>musTrialsMenu.ogg</data>
<compressed>1</compressed>
<streamed>1</streamed>
<uncompressOnLoad>0</uncompressOnLoad>
<audioGroup>0</audioGroup>
</sound>

@ -0,0 +1,29 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<sound>
<kind>3</kind>
<extension>.ogg</extension>
<origname>sound\audio\musTrialsWin.ogg</origname>
<effects>0</effects>
<volume>
<volume>1</volume>
</volume>
<pan>0</pan>
<bitRates>
<bitRate>192</bitRate>
</bitRates>
<sampleRates>
<sampleRate>44100</sampleRate>
</sampleRates>
<types>
<type>1</type>
</types>
<bitDepths>
<bitDepth>16</bitDepth>
</bitDepths>
<preload>-1</preload>
<data>musTrialsWin.ogg</data>
<compressed>1</compressed>
<streamed>1</streamed>
<uncompressOnLoad>0</uncompressOnLoad>
<audioGroup>0</audioGroup>
</sound>

@ -0,0 +1,28 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<sprite>
<type>0</type>
<xorig>95</xorig>
<yorigin>49</yorigin>
<colkind>1</colkind>
<coltolerance>0</coltolerance>
<sepmasks>0</sepmasks>
<bboxmode>0</bboxmode>
<bbox_left>0</bbox_left>
<bbox_right>189</bbox_right>
<bbox_top>0</bbox_top>
<bbox_bottom>97</bbox_bottom>
<HTile>0</HTile>
<VTile>0</VTile>
<TextureGroups>
<TextureGroup0>0</TextureGroup0>
</TextureGroups>
<For3D>0</For3D>
<width>190</width>
<height>98</height>
<frames>
<frame index="0">images\sTTButton169_0.png</frame>
<frame index="1">images\sTTButton169_1.png</frame>
<frame index="2">images\sTTButton169_2.png</frame>
<frame index="3">images\sTTButton169_3.png</frame>
</frames>
</sprite>

@ -0,0 +1,28 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<sprite>
<type>0</type>
<xorig>70</xorig>
<yorigin>49</yorigin>
<colkind>1</colkind>
<coltolerance>0</coltolerance>
<sepmasks>0</sepmasks>
<bboxmode>0</bboxmode>
<bbox_left>0</bbox_left>
<bbox_right>139</bbox_right>
<bbox_top>0</bbox_top>
<bbox_bottom>97</bbox_bottom>
<HTile>0</HTile>
<VTile>0</VTile>
<TextureGroups>
<TextureGroup0>0</TextureGroup0>
</TextureGroups>
<For3D>0</For3D>
<width>140</width>
<height>98</height>
<frames>
<frame index="0">images\sTTButton43_0.png</frame>
<frame index="1">images\sTTButton43_1.png</frame>
<frame index="2">images\sTTButton43_2.png</frame>
<frame index="3">images\sTTButton43_3.png</frame>
</frames>
</sprite>
Loading…
Cancel
Save