parent
93c5e9d9c3
commit
55e7d18c91
@ -0,0 +1,121 @@
|
||||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<object>
|
||||
<spriteName>sSMissile</spriteName>
|
||||
<solid>0</solid>
|
||||
<visible>-1</visible>
|
||||
<depth>0</depth>
|
||||
<persistent>0</persistent>
|
||||
<parentName><undefined></parentName>
|
||||
<maskName><undefined></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>visible = 0;
|
||||
can_camera = 1;
|
||||
|
||||
velocity_x = 0;
|
||||
velocity_y = 0;
|
||||
</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>// basic camera buttons
|
||||
if (keyboard_check(ord("A"))){
|
||||
velocity_x -= 0.25;
|
||||
}
|
||||
|
||||
if (keyboard_check(ord("D"))){
|
||||
velocity_x += 0.25;
|
||||
}
|
||||
|
||||
if (keyboard_check(ord("W"))){
|
||||
velocity_y -= 0.25;
|
||||
}
|
||||
|
||||
if (keyboard_check(ord("S"))){
|
||||
velocity_y += 0.25;
|
||||
}
|
||||
|
||||
if (!keyboard_check(ord("A")) && !keyboard_check(ord("D"))){
|
||||
if !(velocity_x == 0){
|
||||
if (velocity_x > 0){
|
||||
velocity_x -= 0.25;
|
||||
}else{
|
||||
velocity_x += 0.25;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!keyboard_check(ord("W")) && !keyboard_check(ord("S"))){
|
||||
if !(velocity_y == 0){
|
||||
if (velocity_y > 0){
|
||||
velocity_y -= 0.25;
|
||||
}else{
|
||||
velocity_y += 0.25;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// clamps
|
||||
velocity_x = clamp(velocity_x,-3,3);
|
||||
velocity_y = clamp(velocity_y,-3,3);
|
||||
|
||||
// move the camera!
|
||||
x += velocity_x;
|
||||
y += velocity_y;
|
||||
|
||||
// .. and cap it at the edges!
|
||||
if (x < 160) then x = 160;
|
||||
if (x > room_width-160) then x = room_width-160;
|
||||
</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>
|
||||
@ -0,0 +1,23 @@
|
||||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<object>
|
||||
<spriteName>sSolid</spriteName>
|
||||
<solid>0</solid>
|
||||
<visible>-1</visible>
|
||||
<depth>0</depth>
|
||||
<persistent>0</persistent>
|
||||
<parentName><undefined></parentName>
|
||||
<maskName><undefined></maskName>
|
||||
<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>
|
||||
@ -0,0 +1,111 @@
|
||||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<object>
|
||||
<spriteName>sEditorTab</spriteName>
|
||||
<solid>0</solid>
|
||||
<visible>-1</visible>
|
||||
<depth>0</depth>
|
||||
<persistent>0</persistent>
|
||||
<parentName><undefined></parentName>
|
||||
<maskName><undefined></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>offset = 0;
|
||||
smoothset = 0;
|
||||
|
||||
message_string = "Welcome to the AM2Rials editor!";
|
||||
if (oControl.widescreen == 0) message_string = "It appears you are using 4:3. Switch to 16:9 for a better experience!";
|
||||
message_tick = 300;
|
||||
</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 (message_tick > 0) --message_tick;
|
||||
</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>draw_self(); // lol
|
||||
// info on the current stage
|
||||
draw_set_alpha(1);
|
||||
draw_set_color(c_white);
|
||||
draw_set_font(fontMenuSmall2Default);
|
||||
draw_set_halign(fa_right);
|
||||
draw_text_border(x-45,y-1,"Untitled Stage"); // stage name
|
||||
draw_text_border(x+(158+(oControl.widescreen*45)),y-1,"X: "+string(mouse_x)+" / Y: "+string(mouse_y)); // mouse x/y
|
||||
draw_set_halign(fa_left);
|
||||
draw_text_border(x+45,y-1,"OBJs: "+string(oTrialEditor.placed_objs)); // objects placed
|
||||
draw_set_font(fontMenuTinyDefault);
|
||||
draw_set_halign(fa_center);
|
||||
draw_set_alpha(message_tick/50);
|
||||
draw_text_border(x,y-16,message_string); // notification text
|
||||
</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>
|
||||
@ -0,0 +1,184 @@
|
||||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<object>
|
||||
<spriteName><undefined></spriteName>
|
||||
<solid>0</solid>
|
||||
<visible>-1</visible>
|
||||
<depth>-100</depth>
|
||||
<persistent>0</persistent>
|
||||
<parentName><undefined></parentName>
|
||||
<maskName><undefined></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>global.trialsurface = 0; /* i don't know how to work surfaces so i gave up
|
||||
enjoy this global var :cry: */
|
||||
instance_create(160,120,oEditorCamera);
|
||||
|
||||
cursor_active = 1;
|
||||
placed_objs = 0;
|
||||
|
||||
trial_tab_bottom = instance_create(160,225,oEditorTab);
|
||||
</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>// this is some temporary code to test clicking on specific areas
|
||||
if (cursor_active){
|
||||
if (mouse_check_button(mb_left)){
|
||||
var xx = floor(mouse_x/16)*16;
|
||||
var yy = floor(mouse_y/16)*16;
|
||||
with (oEditorSolid){ // a check to deny further placement of solids on top of each other
|
||||
if (x == xx && y == yy){
|
||||
instance_destroy(); // if check confirms, turn the old one into dust
|
||||
// this probably isn't efficient but i do not care
|
||||
}
|
||||
}
|
||||
instance_create(xx,yy,oEditorSolid);
|
||||
placed_objs = get_obj_count();
|
||||
}
|
||||
|
||||
if (mouse_check_button(mb_right)){
|
||||
with (oEditorSolid){
|
||||
if (position_meeting(mouse_x,mouse_y,self)){
|
||||
instance_destroy();
|
||||
}
|
||||
}
|
||||
placed_objs = get_obj_count();
|
||||
}
|
||||
}
|
||||
|
||||
with (trial_tab_bottom){
|
||||
if (position_meeting(mouse_x,mouse_y,self)){
|
||||
offset = 30;
|
||||
other.cursor_active = 0;
|
||||
}else{
|
||||
offset = 0;
|
||||
other.cursor_active = 1;
|
||||
}
|
||||
smoothset += (offset-smoothset)/5;
|
||||
}
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="8" enumb="72">
|
||||
<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>var cx = view_xview[0];
|
||||
var cy = view_yview[0];
|
||||
with (trial_tab_bottom){
|
||||
x = 160+cx;
|
||||
y = (225-smoothset)+cy;
|
||||
}
|
||||
</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>// surfaces are lame. you know what isn't lame?
|
||||
var cx = view_xview[0];
|
||||
var cy = view_yview[0];
|
||||
// spaghetti code from gms2 :)
|
||||
/* debug code, no longer necessary
|
||||
draw_set_font(fontGUI2Default);
|
||||
draw_set_color(c_white);
|
||||
draw_set_halign(fa_center);
|
||||
draw_text_border(120+cx,220+cy,"X: "+string(mouse_x));
|
||||
draw_text_border(160+cx,220+cy,"Y: "+string(mouse_y));
|
||||
draw_text_border(200+cx,220+cy,"CA: "+string(cursor_active));
|
||||
*/
|
||||
// a forecast of the current object to be placed
|
||||
if (cursor_active){
|
||||
var snap = 16;
|
||||
var xx = floor(mouse_x/snap)*snap;
|
||||
var yy = floor(mouse_y/snap)*snap;
|
||||
draw_sprite_ext(sSolid,0,xx,yy,1,1,0,c_white,0.3);
|
||||
}
|
||||
|
||||
// the cursor too
|
||||
draw_set_alpha(1);
|
||||
draw_sprite(sEditorCursor,0,mouse_x,mouse_y);
|
||||
</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>
|
||||
@ -0,0 +1,66 @@
|
||||
<!--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>16</vsnap>
|
||||
<hsnap>16</hsnap>
|
||||
<isometric>0</isometric>
|
||||
<speed>60</speed>
|
||||
<persistent>0</persistent>
|
||||
<colour>12632256</colour>
|
||||
<showcolour>-1</showcolour>
|
||||
<code>// map0 functions as the test room.
|
||||
oMusicV2.currentbgm = musCaveAmbience;</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="-1" foreground="0" name="bgScreenGuide" 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="oCamera" xview="0" yview="0" wview="320" hview="240" xport="0" yport="0" wport="320" hport="240" hborder="160" vborder="120" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="144" name="inst_3D06EA82" 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>
|
||||
@ -0,0 +1,121 @@
|
||||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<room>
|
||||
<caption></caption>
|
||||
<width>640</width>
|
||||
<height>3072</height>
|
||||
<vsnap>16</vsnap>
|
||||
<hsnap>16</hsnap>
|
||||
<isometric>0</isometric>
|
||||
<speed>60</speed>
|
||||
<persistent>0</persistent>
|
||||
<colour>12632256</colour>
|
||||
<showcolour>-1</showcolour>
|
||||
<code>oMusicV2.currentbgm = musCaveAmbience;
|
||||
global.powergrip = 1;</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="-1" foreground="0" name="bgScreenGuide" 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="oCamera" xview="0" yview="0" wview="320" hview="240" xport="0" yport="0" wport="320" hport="240" hborder="160" vborder="120" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="oSolid1" x="0" y="3008" name="inst_FD98468F" locked="0" code="" scaleX="40" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="2880" name="inst_DD9579BF" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="2880" name="inst_8FE777CD" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="2752" name="inst_1FEEBF30" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="2752" name="inst_B0BC84BB" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="2624" name="inst_0D26B59D" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="2624" name="inst_ABF17815" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="2496" name="inst_72153EC0" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="2496" name="inst_F8AD7782" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="2368" name="inst_898233D0" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="2368" name="inst_DDEB2E45" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="2240" name="inst_A48D3A1B" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="2240" name="inst_8C4EEA68" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="2112" name="inst_38A83E17" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="2112" name="inst_F2CFA437" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="1984" name="inst_520E8556" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="1984" name="inst_FF0721AC" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="1856" name="inst_753E4F0B" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="1856" name="inst_C1AC670B" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="1728" name="inst_1A00C626" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="1728" name="inst_98DF5285" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="1600" name="inst_0A41206F" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="1600" name="inst_27FB776E" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="240" y="1472" name="inst_A741872D" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x8" x="384" y="1472" name="inst_F4EC38F0" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oTrialLogic" x="64" y="3008" name="inst_FEF5EFC7" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid2x1" x="160" y="2896" name="inst_E6552770" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1x2" x="112" y="2832" name="inst_C0351A35" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="192" y="2800" name="inst_9F9B2BAF" locked="0" code="" scaleX="3" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="48" y="2864" name="inst_497A62D9" locked="0" code="" scaleX="5" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="0" y="2880" name="inst_A2FE4F9F" locked="0" code="" scaleX="3" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="112" y="2768" name="inst_B00526CF" locked="0" code="" scaleX="1" scaleY="3" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSpikes4" x="224" y="2816" name="inst_24E4C96A" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSpikes4" x="224" y="2832" name="inst_6ECE68CF" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSpikes4" x="224" y="2848" name="inst_F7084928" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSpikes4" x="224" y="2864" name="inst_670452FD" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSpikes4" x="224" y="2880" name="inst_236C86FC" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oTTSpring" x="96" y="2992" name="inst_AA4775A6" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="96" y="2800" name="inst_652E5E63" locked="0" code="" scaleX="1" scaleY="3" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="160" y="2832" name="inst_9EA2C994" locked="0" code="" scaleX="2" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="160" y="2768" name="inst_A7026B41" locked="0" code="" scaleX="1" scaleY="3" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="192" y="2816" name="inst_CF153F8F" locked="0" code="" scaleX="1" scaleY="2" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="176" y="2768" name="inst_7AB0206E" locked="0" code="" scaleX="3" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSolid1" x="160" y="2736" name="inst_8CFED9D2" locked="0" code="" scaleX="5" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSpikes4" x="144" y="2832" name="inst_E4073962" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSpikes4" x="160" y="2912" name="inst_3F49FC65" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
<instance objName="oSpikes4" x="176" y="2912" name="inst_8BA2E136" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
|
||||
</instances>
|
||||
<tiles>
|
||||
<tile bgName="tlChozoTemple3" x="224" y="2816" w="16" h="16" xo="64" yo="240" id="10165726" name="inst_DA6DF8DC" depth="-100" locked="0" colour="4294967295" scaleX="1" scaleY="1"/>
|
||||
<tile bgName="tlChozoTemple3" x="224" y="2832" w="16" h="16" xo="64" yo="240" id="10165727" name="inst_E4FEE2BB" depth="-100" locked="0" colour="4294967295" scaleX="1" scaleY="1"/>
|
||||
<tile bgName="tlChozoTemple3" x="224" y="2848" w="16" h="16" xo="64" yo="240" id="10165728" name="inst_A1239496" depth="-100" locked="0" colour="4294967295" scaleX="1" scaleY="1"/>
|
||||
<tile bgName="tlChozoTemple3" x="224" y="2864" w="16" h="16" xo="64" yo="240" id="10165729" name="inst_FE7B8EBB" depth="-100" locked="0" colour="4294967295" scaleX="1" scaleY="1"/>
|
||||
<tile bgName="tlChozoTemple3" x="224" y="2880" w="16" h="16" xo="64" yo="240" id="10165730" name="inst_AFBFF104" depth="-100" locked="0" colour="4294967295" scaleX="1" scaleY="1"/>
|
||||
<tile bgName="tlChozoTemple3" x="144" y="2832" w="16" h="16" xo="64" yo="240" id="10165734" name="inst_6392FE1E" depth="-100" locked="0" colour="4294967295" scaleX="1" scaleY="1"/>
|
||||
<tile bgName="tlChozoTemple3" x="160" y="2912" w="16" h="16" xo="112" yo="240" id="10165735" name="inst_02F45572" depth="-100" locked="0" colour="4294967295" scaleX="1" scaleY="1"/>
|
||||
<tile bgName="tlChozoTemple3" x="176" y="2912" w="16" h="16" xo="112" yo="240" id="10165736" name="inst_306CB07C" depth="-100" locked="0" colour="4294967295" scaleX="1" scaleY="1"/>
|
||||
</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>
|
||||
@ -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>3200</width>
|
||||
<height>2400</height>
|
||||
<vsnap>16</vsnap>
|
||||
<hsnap>16</hsnap>
|
||||
<isometric>0</isometric>
|
||||
<speed>60</speed>
|
||||
<persistent>0</persistent>
|
||||
<colour>12632256</colour>
|
||||
<showcolour>-1</showcolour>
|
||||
<code>mus_stop(musTrialsMenu); // let the creator focus please</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="-1" foreground="0" name="bgScreenGuide" 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="oEditorCamera" xview="0" yview="0" wview="320" hview="240" xport="0" yport="0" wport="320" hport="240" hborder="160" vborder="120" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="<undefined>" 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="oTrialEditor" x="0" y="0" name="inst_E22243F5" 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>
|
||||
@ -0,0 +1,39 @@
|
||||
// difficulty_string()
|
||||
var c = c_gray;
|
||||
var t = "???";
|
||||
var o = 1;
|
||||
switch (argument0){
|
||||
case 0:
|
||||
o = 0;
|
||||
break;
|
||||
case 1:
|
||||
c = c_white;
|
||||
t = "*";
|
||||
break;
|
||||
case 2:
|
||||
c = c_white;
|
||||
t = "**";
|
||||
break;
|
||||
case 3:
|
||||
c = c_white;
|
||||
t = "***";
|
||||
break;
|
||||
case 4:
|
||||
c = c_yellow;
|
||||
t = "****";
|
||||
break;
|
||||
case 5:
|
||||
c = c_yellow;
|
||||
t = "*****"
|
||||
break;
|
||||
case 6:
|
||||
c = c_orange;
|
||||
t = "******";
|
||||
break;
|
||||
case 7:
|
||||
c = c_red;
|
||||
t = "*******";
|
||||
break;
|
||||
}
|
||||
draw_set_color(c);
|
||||
draw_text_border(300,190+o,t);
|
||||
@ -0,0 +1,7 @@
|
||||
// draw_timer(x,y)
|
||||
draw_set_color(c_gray);
|
||||
if (oTrialLogic.timer_started == 1) then draw_set_color(c_white);
|
||||
draw_set_halign(fa_right);
|
||||
draw_text_border(argument0-12,argument1+3,time_string_misc(oTrialLogic.timer));
|
||||
draw_set_halign(fa_left);
|
||||
draw_text_border(argument0-12,argument1+3,time_string_ms(oTrialLogic.timer));
|
||||
@ -0,0 +1,6 @@
|
||||
//get_obj_count();
|
||||
var i = 0;
|
||||
with (oEditorSolid){
|
||||
++i;
|
||||
}
|
||||
return i;
|
||||
@ -0,0 +1,16 @@
|
||||
// input_display(x,y)
|
||||
draw_set_color(c_white);
|
||||
draw_set_halign(fa_left);
|
||||
draw_set_font(fontGUI2Default);
|
||||
draw_text_border(argument0,argument1,"<");
|
||||
draw_text_border(argument0+5,argument1,">");
|
||||
draw_text_border(argument0+10,argument1,"^");
|
||||
draw_text_border(argument0+15,argument1,"v");
|
||||
|
||||
draw_text_border(argument0+20,argument1,"J");
|
||||
draw_text_border(argument0+25,argument1,"S");
|
||||
draw_text_border(argument0+30,argument1,"W");
|
||||
draw_text_border(argument0+35,argument1,"D");
|
||||
|
||||
draw_text_border(argument0+40,argument1,"L");
|
||||
draw_text_border(argument0+45,argument1,"M");
|
||||
@ -1,7 +1,10 @@
|
||||
// set_map_info(map_id,map_name,map_tier,map_desc,map_goto,dev_pb)
|
||||
|
||||
map_info[0,argument0] = argument1;
|
||||
map_info[2,argument0] = argument2;
|
||||
map_info[1,argument0] = argument3;
|
||||
map_info[5,argument0] = argument4;
|
||||
map_info[4,argument0] = argument5;
|
||||
map_info[0,available_maps] = argument0;
|
||||
map_info[2,available_maps] = argument1;
|
||||
map_info[1,available_maps] = argument2;
|
||||
map_info[5,available_maps] = argument3;
|
||||
map_info[4,available_maps] = argument4;
|
||||
map_info[3,available_maps] = -1;
|
||||
|
||||
++available_maps;
|
||||
|
||||
@ -0,0 +1,14 @@
|
||||
// time_string_misc(time_in_tics)
|
||||
|
||||
// make the vars
|
||||
var sc = string(floor((argument0/60) mod 60));
|
||||
var mi = string(floor(argument0/3600));
|
||||
// check if they're right length
|
||||
if (string_length(sc) < 2) then sc = "0"+sc;
|
||||
// and check to make sure this needs to be unset if negative
|
||||
if (argument0 < 0){
|
||||
sc = "--";
|
||||
mi = "-";
|
||||
}
|
||||
// done
|
||||
return mi+":"+sc;
|
||||
@ -0,0 +1,12 @@
|
||||
// time_string_ms(time_in_tics)
|
||||
|
||||
// make the vars
|
||||
var ms = string(floor((argument0 mod 60)*1.667));
|
||||
// check if they're right length
|
||||
if (string_length(ms) < 2) then ms = "0"+ms;
|
||||
// and check to make sure this needs to be unset if negative
|
||||
if (argument0 < 0){
|
||||
ms = "--";
|
||||
}
|
||||
// done
|
||||
return "."+ms;
|
||||
@ -0,0 +1,14 @@
|
||||
// time_string_nodc(time_in_tics)
|
||||
|
||||
// make the vars
|
||||
var sc = string(floor((argument0/60) mod 60));
|
||||
var mi = string(floor(argument0/3600));
|
||||
// check if they're right length
|
||||
if (string_length(sc) < 2) then sc = "0"+sc;
|
||||
// and check to make sure this needs to be unset if negative
|
||||
if (argument0 < 0){
|
||||
ms = "--";
|
||||
sc = "--";
|
||||
}
|
||||
// done
|
||||
return mi+":"+sc;
|
||||
@ -0,0 +1,7 @@
|
||||
if (directory_exists(working_directory + "/time_trials_custom")){ // load required data
|
||||
|
||||
}else{ // better make a new save!!
|
||||
directory_create(working_directory + "/time_trials_custom");
|
||||
directory_create(working_directory + "/time_trials_custom/trials");
|
||||
directory_create(working_directory + "/time_trials_custom/custom_music");
|
||||
}
|
||||
@ -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\musTrialsPlay.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>musTrialsPlay.ogg</data>
|
||||
<compressed>1</compressed>
|
||||
<streamed>1</streamed>
|
||||
<uncompressOnLoad>0</uncompressOnLoad>
|
||||
<audioGroup>0</audioGroup>
|
||||
</sound>
|
||||
@ -0,0 +1,25 @@
|
||||
<!--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>0</xorig>
|
||||
<yorigin>0</yorigin>
|
||||
<colkind>1</colkind>
|
||||
<coltolerance>0</coltolerance>
|
||||
<sepmasks>0</sepmasks>
|
||||
<bboxmode>0</bboxmode>
|
||||
<bbox_left>0</bbox_left>
|
||||
<bbox_right>7</bbox_right>
|
||||
<bbox_top>0</bbox_top>
|
||||
<bbox_bottom>7</bbox_bottom>
|
||||
<HTile>0</HTile>
|
||||
<VTile>0</VTile>
|
||||
<TextureGroups>
|
||||
<TextureGroup0>0</TextureGroup0>
|
||||
</TextureGroups>
|
||||
<For3D>0</For3D>
|
||||
<width>8</width>
|
||||
<height>8</height>
|
||||
<frames>
|
||||
<frame index="0">images\sEditorCursor_0.png</frame>
|
||||
</frames>
|
||||
</sprite>
|
||||
@ -0,0 +1,25 @@
|
||||
<!--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>16</xorig>
|
||||
<yorigin>48</yorigin>
|
||||
<colkind>1</colkind>
|
||||
<coltolerance>0</coltolerance>
|
||||
<sepmasks>0</sepmasks>
|
||||
<bboxmode>0</bboxmode>
|
||||
<bbox_left>5</bbox_left>
|
||||
<bbox_right>26</bbox_right>
|
||||
<bbox_top>9</bbox_top>
|
||||
<bbox_bottom>47</bbox_bottom>
|
||||
<HTile>0</HTile>
|
||||
<VTile>0</VTile>
|
||||
<TextureGroups>
|
||||
<TextureGroup0>0</TextureGroup0>
|
||||
</TextureGroups>
|
||||
<For3D>0</For3D>
|
||||
<width>32</width>
|
||||
<height>48</height>
|
||||
<frames>
|
||||
<frame index="0">images\sEditorStart_0.png</frame>
|
||||
</frames>
|
||||
</sprite>
|
||||
@ -0,0 +1,25 @@
|
||||
<!--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>213</xorig>
|
||||
<yorigin>0</yorigin>
|
||||
<colkind>0</colkind>
|
||||
<coltolerance>0</coltolerance>
|
||||
<sepmasks>-1</sepmasks>
|
||||
<bboxmode>0</bboxmode>
|
||||
<bbox_left>0</bbox_left>
|
||||
<bbox_right>425</bbox_right>
|
||||
<bbox_top>0</bbox_top>
|
||||
<bbox_bottom>59</bbox_bottom>
|
||||
<HTile>0</HTile>
|
||||
<VTile>0</VTile>
|
||||
<TextureGroups>
|
||||
<TextureGroup0>0</TextureGroup0>
|
||||
</TextureGroups>
|
||||
<For3D>0</For3D>
|
||||
<width>426</width>
|
||||
<height>60</height>
|
||||
<frames>
|
||||
<frame index="0">images\sEditorTab_0.png</frame>
|
||||
</frames>
|
||||
</sprite>
|
||||
Loading…
Reference in new issue