Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
0e9f8a37be | |||
89c791375e | |||
4381988523 | |||
10c1ffb2eb | |||
defd3f977c | |||
53c04dfe7a | |||
789eb5f4f2 | |||
83b544655a | |||
c41d2b107d | |||
d35581525d |
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@
|
|||
*/Debug/*
|
||||
*/.vs/*
|
||||
*.pdb
|
||||
*.exe
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) <year> Li
|
||||
Copyright (c) 2022 Li
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
|
43
README.md
43
README.md
|
@ -1,5 +1,44 @@
|
|||
# UGP
|
||||
# Universal GameMaker Patcher
|
||||
Originally created to enable the built in PSVita support in GM Studio, it has evolved into the most universal key generator for the old GameMaker programs
|
||||
|
||||
gamemaker-studio allows you to provide any modules you want into your license
|
||||
all options are:
|
||||
```
|
||||
HTML5
|
||||
iOS
|
||||
android
|
||||
androidTest
|
||||
AndroidTest
|
||||
AndroidMips
|
||||
AmazonFire
|
||||
Mac
|
||||
Tizen
|
||||
WindowsTest
|
||||
Linux
|
||||
RaspberryPi
|
||||
BlackBerry
|
||||
WindowsPhone
|
||||
Symbia
|
||||
Windows8
|
||||
Windows8RT
|
||||
WindowsPhone8
|
||||
yycompiler
|
||||
NeoGeoX
|
||||
ps3
|
||||
ps4
|
||||
psvita
|
||||
wiiu
|
||||
3ds
|
||||
xboxone
|
||||
WindowsUAP
|
||||
AndroidTV
|
||||
AppleTV
|
||||
JavaScript
|
||||
AmazonFireExpired
|
||||
Free
|
||||
```
|
||||
note: not all of these are actually avalible for download on yoyogames servers, for example BlackBerrry, RaspberryPi, etc.
|
||||
and so will not actually *work* if added into your license, the default options is for all modules that are public on yoyogames servers.
|
||||
|
||||
Universal GameMaker Patcher
|
||||
|
||||
Created in GameMaker: HTML5.
|
|
@ -4,7 +4,7 @@
|
|||
<datafile>
|
||||
<name>UGP.dll</name>
|
||||
<filename>UGP.dll</filename>
|
||||
<origname>C:\Users\Li\Desktop\UGP\UGP\UGP.gmx\\\datafiles\UGP.dll</origname>
|
||||
<origname>datafiles\UGP.dll</origname>
|
||||
<exists>-1</exists>
|
||||
<size>97280</size>
|
||||
<exportAction>2</exportAction>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<datafile>
|
||||
<name>ModuleDownloader.exe</name>
|
||||
<filename>ModuleDownloader.exe</filename>
|
||||
<origname>C:\Users\Li\Desktop\UGP\UGP\UGP.gmx\\\datafiles\ModuleDownloader.exe</origname>
|
||||
<origname>datafiles\ModuleDownloader.exe</origname>
|
||||
<exists>-1</exists>
|
||||
<size>2147328</size>
|
||||
<exportAction>2</exportAction>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<datafile>
|
||||
<name>winspool.dll</name>
|
||||
<filename>winspool.dll</filename>
|
||||
<origname>C:\Users\Li\Desktop\UGP\UGP\UGP.gmx\datafiles\winspool.dll</origname>
|
||||
<origname>datafiles\winspool.dll</origname>
|
||||
<exists>-1</exists>
|
||||
<size>75776</size>
|
||||
<exportAction>2</exportAction>
|
||||
|
@ -45,12 +45,12 @@
|
|||
</datafile>
|
||||
</datafiles>
|
||||
<options>
|
||||
<fullscreen>-1</fullscreen>
|
||||
<fullscreen>0</fullscreen>
|
||||
<interpolate>-1</interpolate>
|
||||
<noborder>0</noborder>
|
||||
<noborder>-1</noborder>
|
||||
<showcursor>0</showcursor>
|
||||
<scale>0</scale>
|
||||
<sizeable>0</sizeable>
|
||||
<scale>-1</scale>
|
||||
<sizeable>-1</sizeable>
|
||||
<stayontop>0</stayontop>
|
||||
<windowcolor>0</windowcolor>
|
||||
<changeresolution>0</changeresolution>
|
||||
|
@ -79,7 +79,7 @@
|
|||
<loadalpha>255</loadalpha>
|
||||
<scaleprogress>0</scaleprogress>
|
||||
<icon>icon.ico</icon>
|
||||
<displayerrors>0</displayerrors>
|
||||
<displayerrors>-1</displayerrors>
|
||||
<writeerrors>-1</writeerrors>
|
||||
<aborterrors>0</aborterrors>
|
||||
<variableerrors>0</variableerrors>
|
||||
|
@ -129,7 +129,6 @@
|
|||
</sounds>
|
||||
<sprites name="sprites">
|
||||
<sprites name="UI">
|
||||
<sprite>sprites\spr_cursor</sprite>
|
||||
<sprites name="Effects">
|
||||
<sprite>sprites\spr_star</sprite>
|
||||
<sprite>sprites\spr_universal_gm_patcher</sprite>
|
||||
|
@ -147,12 +146,14 @@
|
|||
</sprites>
|
||||
<sprite>sprites\spr_checkmark</sprite>
|
||||
<sprite>sprites\spr_mute</sprite>
|
||||
<sprite>sprites\spr_fullscreen</sprite>
|
||||
<sprite>sprites\spr_back</sprite>
|
||||
<sprite>sprites\spr_go</sprite>
|
||||
<sprite>sprites\spr_textinput</sprite>
|
||||
<sprite>sprites\spr_textinput_small</sprite>
|
||||
<sprite>sprites\spr_lstbox_entry</sprite>
|
||||
</sprites>
|
||||
<sprite>sprites\spr_cursor</sprite>
|
||||
</sprites>
|
||||
</sprites>
|
||||
<backgrounds name="background"/>
|
||||
|
@ -194,6 +195,11 @@
|
|||
<script>scripts\dectohex.gml</script>
|
||||
<script>scripts\string_starts_with.gml</script>
|
||||
</scripts>
|
||||
<scripts name="Ext">
|
||||
<script>scripts\draw_text_center.gml</script>
|
||||
<script>scripts\fullscreen_toggle.gml</script>
|
||||
<script>scripts\fullscreen_off.gml</script>
|
||||
</scripts>
|
||||
</scripts>
|
||||
<fonts name="fonts">
|
||||
<font>fonts\fn_text</font>
|
||||
|
@ -245,7 +251,6 @@
|
|||
<object>objects\obj_draw_exports</object>
|
||||
<object>objects\obj_status_draw</object>
|
||||
<object>objects\obj_draw</object>
|
||||
<object>objects\obj_cursor</object>
|
||||
</objects>
|
||||
</objects>
|
||||
</objects>
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>checked = 1;
|
||||
<string>/// Initalize
|
||||
checked = 1;
|
||||
image_speed = 0;
|
||||
image_index = 2;
|
||||
</string>
|
||||
|
|
|
@ -124,7 +124,7 @@ centerY = room_height/2;
|
|||
|
||||
draw_set_font(fn_text);
|
||||
draw_set_color(c_white);
|
||||
draw_text(0,0,"Press 'ESC' to exit.");
|
||||
draw_text_center(0,"Press 'ESC' to exit.");
|
||||
|
||||
if(draw_flashing_text){
|
||||
draw_text(centerX - (string_width(global.flashing_msg) / 2), room_height - (string_height(global.flashing_msg)), global.flashing_msg);
|
||||
|
@ -163,7 +163,6 @@ else
|
|||
action_done = true;
|
||||
}
|
||||
}
|
||||
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<object>
|
||||
<spriteName><undefined></spriteName>
|
||||
<spriteName>spr_fullscreen</spriteName>
|
||||
<solid>0</solid>
|
||||
<visible>-1</visible>
|
||||
<depth>-100</depth>
|
||||
<depth>0</depth>
|
||||
<persistent>-1</persistent>
|
||||
<parentName><undefined></parentName>
|
||||
<maskName><undefined></maskName>
|
||||
<events>
|
||||
<event eventtype="3" enumb="0">
|
||||
<event eventtype="0" enumb="0">
|
||||
<action>
|
||||
<libid>1</libid>
|
||||
<id>603</id>
|
||||
|
@ -25,14 +25,15 @@
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>x = mouse_x;
|
||||
y = mouse_y;
|
||||
<string>checked = 0;
|
||||
image_speed = 0;
|
||||
image_index = 0;
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="8" enumb="0">
|
||||
<event eventtype="6" enumb="11">
|
||||
<action>
|
||||
<libid>1</libid>
|
||||
<id>603</id>
|
||||
|
@ -49,8 +50,71 @@ y = mouse_y;
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>draw_sprite(spr_cursor, 0, window_mouse_get_x(), window_mouse_get_y());
|
||||
<string>if(checked)
|
||||
image_index = 2;
|
||||
else
|
||||
image_index = 0
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="6" enumb="10">
|
||||
<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(checked)
|
||||
image_index = 3;
|
||||
else
|
||||
image_index = 1
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="6" enumb="4">
|
||||
<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>fullscreen_toggle();
|
||||
|
||||
|
||||
if(checked == 0)
|
||||
checked = 1;
|
||||
else
|
||||
checked = 0;
|
||||
|
||||
|
||||
if(checked)
|
||||
image_index = 3;
|
||||
else
|
||||
image_index = 1;
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
|
@ -58,24 +58,10 @@ if(obj_draw.back_down == false && obj_draw.back_up == false)
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>///setup views
|
||||
|
||||
var display_height;
|
||||
display_height = display_get_height()
|
||||
|
||||
var display_width;
|
||||
display_width = display_get_width()
|
||||
|
||||
if(room_height > display_height || room_width > display_width){
|
||||
view_enabled = true;
|
||||
view_visible[view_current] = true;
|
||||
view_object[view_current] = obj_cursor;
|
||||
view_hport[view_current] = room_height;
|
||||
view_wport[view_current] = room_width;
|
||||
view_hview[view_current] = room_height;
|
||||
view_wview[view_current] = room_width;
|
||||
}
|
||||
|
||||
<string>/// fix viewport
|
||||
view_wport[view_current] = display_get_width();
|
||||
view_hport[view_current] = display_get_height();
|
||||
view_enabled = true;
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
@ -98,7 +84,8 @@ if(room_height > display_height || room_width > display_width){
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>external_free("UGP.dll");
|
||||
<string>/// delete included files
|
||||
external_free("UGP.dll");
|
||||
|
||||
file_delete("UGP.dll");
|
||||
file_delete("winspool.dll");
|
||||
|
@ -125,7 +112,40 @@ file_delete("ModuleDownloader.exe");
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>///initalize
|
||||
<string>///Check if the room is too big for the display.
|
||||
|
||||
var display_height;
|
||||
display_height = display_get_height()
|
||||
|
||||
var display_width;
|
||||
display_width = display_get_width()
|
||||
|
||||
window_set_rectangle(0, 0, display_width, display_height);
|
||||
|
||||
view_wport[view_current] = display_get_width();
|
||||
view_hport[view_current] = display_get_height();
|
||||
view_enabled = true;
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
<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>///Initalize
|
||||
//UGP.DLL imports
|
||||
global.getMachineGuid = external_define("UGP.dll","GetMachineGuid",dll_cdecl,ty_string,0);
|
||||
global.MD5 = external_define("UGP.dll","MD5",dll_cdecl,ty_string,1,ty_string);
|
||||
|
@ -143,6 +163,8 @@ global.download_exports = false;
|
|||
|
||||
instance_create((room_width-(44/2))-10, (room_height-(44/2))-10, obj_mute);
|
||||
|
||||
cursor_sprite = spr_cursor;
|
||||
|
||||
global.direction = 0;
|
||||
sound_loop(snd_mus);
|
||||
for(i = 0; i < 1000; i+=1)
|
||||
|
@ -152,6 +174,8 @@ for(i = 0; i < 1000; i+=1)
|
|||
|
||||
obj = instance_create(obj_x, obj_y, obj_star);
|
||||
}
|
||||
|
||||
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<colour>1513239</colour>
|
||||
<showcolour>-1</showcolour>
|
||||
<code></code>
|
||||
<enableViews>0</enableViews>
|
||||
<enableViews>-1</enableViews>
|
||||
<clearViewBackground>-1</clearViewBackground>
|
||||
<makerSettings>
|
||||
<isSet>0</isSet>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
|
||||
</backgrounds>
|
||||
<views>
|
||||
<view visible="0" objName="obj_cursor" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="-1" objName="<undefined>" xview="0" yview="0" wview="1920" hview="1080" xport="0" yport="0" wport="1920" hport="1080" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<colour>1513239</colour>
|
||||
<showcolour>-1</showcolour>
|
||||
<code></code>
|
||||
<enableViews>0</enableViews>
|
||||
<enableViews>-1</enableViews>
|
||||
<clearViewBackground>-1</clearViewBackground>
|
||||
<makerSettings>
|
||||
<isSet>0</isSet>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
|
||||
</backgrounds>
|
||||
<views>
|
||||
<view visible="0" objName="obj_cursor" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="-1" objName="<undefined>" xview="0" yview="0" wview="1920" hview="1080" xport="0" yport="0" wport="1920" hport="1080" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<colour>1513239</colour>
|
||||
<showcolour>-1</showcolour>
|
||||
<code></code>
|
||||
<enableViews>0</enableViews>
|
||||
<enableViews>-1</enableViews>
|
||||
<clearViewBackground>-1</clearViewBackground>
|
||||
<makerSettings>
|
||||
<isSet>0</isSet>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
|
||||
</backgrounds>
|
||||
<views>
|
||||
<view visible="0" objName="obj_cursor" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="-1" objName="<undefined>" xview="0" yview="0" wview="1920" hview="1080" xport="0" yport="0" wport="1920" hport="1080" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<colour>1513239</colour>
|
||||
<showcolour>-1</showcolour>
|
||||
<code></code>
|
||||
<enableViews>0</enableViews>
|
||||
<enableViews>-1</enableViews>
|
||||
<clearViewBackground>-1</clearViewBackground>
|
||||
<makerSettings>
|
||||
<isSet>0</isSet>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
|
||||
</backgrounds>
|
||||
<views>
|
||||
<view visible="0" objName="obj_cursor" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="-1" objName="<undefined>" xview="0" yview="0" wview="1920" hview="1080" xport="0" yport="0" wport="1920" hport="1080" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<colour>1513239</colour>
|
||||
<showcolour>-1</showcolour>
|
||||
<code></code>
|
||||
<enableViews>0</enableViews>
|
||||
<enableViews>-1</enableViews>
|
||||
<clearViewBackground>-1</clearViewBackground>
|
||||
<makerSettings>
|
||||
<isSet>0</isSet>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
|
||||
</backgrounds>
|
||||
<views>
|
||||
<view visible="0" objName="obj_cursor" xview="0" yview="0" wview="1920" hview="1080" xport="0" yport="0" wport="1920" hport="1080" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="-1" objName="<undefined>" xview="0" yview="0" wview="1920" hview="1080" xport="0" yport="0" wport="1920" hport="1080" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
|
@ -52,7 +52,6 @@
|
|||
<instances>
|
||||
<instance index="0" objName="obj_main" x="0" y="0" name="inst_14C62424" locked="0" code="" scaleX="1" scaleY="1" colour="-1" rotation="0"/>
|
||||
<instance index="29" objName="obj_draw" x="16" y="0" name="inst_A00DD3E8" locked="0" code="" scaleX="1" scaleY="1" colour="-1" rotation="0"/>
|
||||
<instance index="30" objName="obj_cursor" x="32" y="0" name="inst_DA3296D2" locked="0" code="" scaleX="1" scaleY="1" colour="-1" rotation="0"/>
|
||||
</instances>
|
||||
<tiles/>
|
||||
<PhysicsWorld>0</PhysicsWorld>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<colour>1513239</colour>
|
||||
<showcolour>-1</showcolour>
|
||||
<code></code>
|
||||
<enableViews>0</enableViews>
|
||||
<enableViews>-1</enableViews>
|
||||
<clearViewBackground>-1</clearViewBackground>
|
||||
<makerSettings>
|
||||
<isSet>0</isSet>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<background visible="0" foreground="0" name="" x="0" y="0" htiled="-1" vtiled="-1" hspeed="0" vspeed="0" stretch="0"/>
|
||||
</backgrounds>
|
||||
<views>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="-1" objName="<undefined>" xview="0" yview="0" wview="1920" hview="1080" xport="0" yport="0" wport="1920" hport="1080" hborder="999" vborder="999" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
<view visible="0" objName="<undefined>" xview="0" yview="0" wview="640" hview="480" xport="0" yport="0" wport="640" hport="480" hborder="32" vborder="32" hspeed="-1" vspeed="-1"/>
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
global.direction = 1;
|
||||
|
||||
//instance_create(centerX-250, centerY-150, obj_checkmark_libeay32);
|
||||
//instance_create(centerX-250, centerY-90, obj_checkmark_updater);
|
||||
|
||||
instance_create(centerX-290, centerY-75, obj_textinput_name_keygen);
|
||||
instance_create(centerX-290, centerY+35, obj_textinput_version_keygen);
|
||||
instance_create(centerX-290, centerY+140, obj_textinput_key_keygen);
|
||||
|
||||
//instance_create(centerX, centerY+250, obj_go_gm81);
|
||||
instance_create(centerX-510, centerY+256, obj_back);
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
global.direction = 1;
|
||||
|
||||
instance_create(centerX-250, centerY-150, obj_checkmark_winspool);
|
||||
//instance_create(centerX-250, centerY-90, obj_checkmark_updater);
|
||||
instance_create(centerX-290, centerY+20, obj_textinput_name);
|
||||
instance_create(centerX-290, centerY+110, obj_textinput_key);
|
||||
instance_create(centerX, centerY+250, obj_go_gm81);
|
||||
|
|
2
UGP.gmx/scripts/draw_text_center.gml
Normal file
2
UGP.gmx/scripts/draw_text_center.gml
Normal file
|
@ -0,0 +1,2 @@
|
|||
///draw_text(y, text)
|
||||
draw_text((room_width / 2) - (string_width(argument1) / 2), argument0, argument1);
|
10
UGP.gmx/scripts/fullscreen_off.gml
Normal file
10
UGP.gmx/scripts/fullscreen_off.gml
Normal file
|
@ -0,0 +1,10 @@
|
|||
///fullscreen_off()
|
||||
window_set_fullscreen(false);
|
||||
window_set_size(960, 544);
|
||||
|
||||
window_set_region_size(window_get_width(), window_get_height(), true);
|
||||
window_set_region_scale(0, true);
|
||||
|
||||
window_set_position((display_get_width() / 2) - (window_get_width() / 2), (display_get_height() / 2) - (window_get_height() / 2));
|
||||
|
||||
|
7
UGP.gmx/scripts/fullscreen_toggle.gml
Normal file
7
UGP.gmx/scripts/fullscreen_toggle.gml
Normal file
|
@ -0,0 +1,7 @@
|
|||
///fullscreen_toggle()
|
||||
if(window_get_fullscreen()) {
|
||||
fullscreen_off();
|
||||
}
|
||||
else{
|
||||
window_set_fullscreen(true);
|
||||
}
|
Binary file not shown.
|
@ -2,7 +2,7 @@
|
|||
<sound>
|
||||
<kind>3</kind>
|
||||
<extension>.mp3</extension>
|
||||
<origname>C:\Users\Li\Desktop\UGP\UGP\UGP.gmx\\\sound\audio\snd_mus.mp3</origname>
|
||||
<origname>C:\Users\Li\Desktop\git\UGP\UGP.gmx\\\sound\audio\snd_mus.mp3</origname>
|
||||
<effects>0</effects>
|
||||
<volume>1</volume>
|
||||
<pan>0</pan>
|
||||
|
|
16
UGP.gmx/sprites/cursor.sprite.gmx
Normal file
16
UGP.gmx/sprites/cursor.sprite.gmx
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<sprite>
|
||||
<xorig>16</xorig>
|
||||
<yorigin>16</yorigin>
|
||||
<colkind>1</colkind>
|
||||
<coltolerance>0</coltolerance>
|
||||
<sepmasks>0</sepmasks>
|
||||
<bboxmode>0</bboxmode>
|
||||
<bbox_left>0</bbox_left>
|
||||
<bbox_right>31</bbox_right>
|
||||
<bbox_top>0</bbox_top>
|
||||
<bbox_bottom>31</bbox_bottom>
|
||||
<frames>
|
||||
<frame index="0">images\cursor_0.png</frame>
|
||||
</frames>
|
||||
</sprite>
|
BIN
UGP.gmx/sprites/images/cursor_0.png
Normal file
BIN
UGP.gmx/sprites/images/cursor_0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 205 B |
BIN
UGP.gmx/sprites/images/spr_fullscreen_0.png
Normal file
BIN
UGP.gmx/sprites/images/spr_fullscreen_0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
BIN
UGP.gmx/sprites/images/spr_fullscreen_1.png
Normal file
BIN
UGP.gmx/sprites/images/spr_fullscreen_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
UGP.gmx/sprites/images/spr_fullscreen_2.png
Normal file
BIN
UGP.gmx/sprites/images/spr_fullscreen_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
UGP.gmx/sprites/images/spr_fullscreen_3.png
Normal file
BIN
UGP.gmx/sprites/images/spr_fullscreen_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
|
@ -1,7 +1,7 @@
|
|||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<sprite>
|
||||
<xorig>41</xorig>
|
||||
<yorigin>41</yorigin>
|
||||
<xorig>44</xorig>
|
||||
<yorigin>44</yorigin>
|
||||
<colkind>0</colkind>
|
||||
<coltolerance>0</coltolerance>
|
||||
<sepmasks>0</sepmasks>
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
<sprite>
|
||||
<xorig>0</xorig>
|
||||
<yorigin>0</yorigin>
|
||||
<colkind>0</colkind>
|
||||
<colkind>1</colkind>
|
||||
<coltolerance>0</coltolerance>
|
||||
<sepmasks>0</sepmasks>
|
||||
<bboxmode>2</bboxmode>
|
||||
<bboxmode>0</bboxmode>
|
||||
<bbox_left>0</bbox_left>
|
||||
<bbox_right>31</bbox_right>
|
||||
<bbox_top>0</bbox_top>
|
||||
|
|
19
UGP.gmx/sprites/spr_fullscreen.sprite.gmx
Normal file
19
UGP.gmx/sprites/spr_fullscreen.sprite.gmx
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
||||
<sprite>
|
||||
<xorig>25</xorig>
|
||||
<yorigin>25</yorigin>
|
||||
<colkind>0</colkind>
|
||||
<coltolerance>0</coltolerance>
|
||||
<sepmasks>0</sepmasks>
|
||||
<bboxmode>2</bboxmode>
|
||||
<bbox_left>3</bbox_left>
|
||||
<bbox_right>46</bbox_right>
|
||||
<bbox_top>3</bbox_top>
|
||||
<bbox_bottom>46</bbox_bottom>
|
||||
<frames>
|
||||
<frame index="0">images\spr_fullscreen_0.png</frame>
|
||||
<frame index="1">images\spr_fullscreen_1.png</frame>
|
||||
<frame index="2">images\spr_fullscreen_2.png</frame>
|
||||
<frame index="3">images\spr_fullscreen_3.png</frame>
|
||||
</frames>
|
||||
</sprite>
|
Loading…
Reference in New Issue
Block a user