parent
daf3b43f02
commit
0326d55ad4
@ -0,0 +1,2 @@
|
||||
global.doomtime = 60
|
||||
image_speed = 0
|
||||
@ -0,0 +1,4 @@
|
||||
draw_self()
|
||||
draw_set_halign(fa_right)
|
||||
draw_text((x - sprite_width), (y - 12), "Change Doomsday Timer")
|
||||
draw_set_halign(fa_left)
|
||||
@ -0,0 +1 @@
|
||||
global.doomtime = get_integer_async("Type in a doomsday time (in mins), -1 is disabled", 60)
|
||||
@ -0,0 +1 @@
|
||||
image_index = 0
|
||||
@ -1 +1,14 @@
|
||||
global.lobbyLocked = (!global.lobbyLocked)
|
||||
if global.lobbyLocked
|
||||
{
|
||||
if (global.doomtime >= 0)
|
||||
{
|
||||
global.gametime = ((global.doomtime * 60) * 60)
|
||||
global.doomenabled = 1
|
||||
}
|
||||
else
|
||||
{
|
||||
global.doomenabled = 0
|
||||
global.gametime = 0
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,123 @@
|
||||
{
|
||||
"name": "oDoomTime",
|
||||
"sprite": "sOption",
|
||||
"visible": true,
|
||||
"solid": false,
|
||||
"depth": 0,
|
||||
"persistent": false,
|
||||
"parent_id": null,
|
||||
"texture_mask_id": null,
|
||||
"uses_physics": false,
|
||||
"is_sensor": false,
|
||||
"collision_shape": 0,
|
||||
"density": 0.5,
|
||||
"restitution": 0.1,
|
||||
"group": 0,
|
||||
"linear_damping": 0.1,
|
||||
"angular_damping": 0.1,
|
||||
"friction": 0.2,
|
||||
"awake": false,
|
||||
"kinematic": false,
|
||||
"physics_vertices": [],
|
||||
"events": [
|
||||
[
|
||||
{
|
||||
"event_subtype": 0,
|
||||
"actions": [
|
||||
{
|
||||
"lib_id": 0,
|
||||
"id": 0,
|
||||
"kind": 0,
|
||||
"use_relative": false,
|
||||
"is_question": false,
|
||||
"use_apply_to": false,
|
||||
"exe_type": 0,
|
||||
"action_name": null,
|
||||
"code_id": "gml_Object_oDoomTime_Create_0",
|
||||
"argument_count": 0,
|
||||
"who": 0,
|
||||
"relative": false,
|
||||
"is_not": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
[],
|
||||
[],
|
||||
[
|
||||
{
|
||||
"event_subtype": 0,
|
||||
"actions": [
|
||||
{
|
||||
"lib_id": 0,
|
||||
"id": 0,
|
||||
"kind": 0,
|
||||
"use_relative": false,
|
||||
"is_question": false,
|
||||
"use_apply_to": false,
|
||||
"exe_type": 0,
|
||||
"action_name": null,
|
||||
"code_id": "gml_Object_oDoomTime_Step_0",
|
||||
"argument_count": 0,
|
||||
"who": 0,
|
||||
"relative": false,
|
||||
"is_not": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
[],
|
||||
[],
|
||||
[
|
||||
{
|
||||
"event_subtype": 4,
|
||||
"actions": [
|
||||
{
|
||||
"lib_id": 0,
|
||||
"id": 0,
|
||||
"kind": 0,
|
||||
"use_relative": false,
|
||||
"is_question": false,
|
||||
"use_apply_to": false,
|
||||
"exe_type": 0,
|
||||
"action_name": null,
|
||||
"code_id": "gml_Object_oDoomTime_Mouse_4",
|
||||
"argument_count": 0,
|
||||
"who": 0,
|
||||
"relative": false,
|
||||
"is_not": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
[],
|
||||
[
|
||||
{
|
||||
"event_subtype": 0,
|
||||
"actions": [
|
||||
{
|
||||
"lib_id": 0,
|
||||
"id": 0,
|
||||
"kind": 0,
|
||||
"use_relative": false,
|
||||
"is_question": false,
|
||||
"use_apply_to": false,
|
||||
"exe_type": 0,
|
||||
"action_name": null,
|
||||
"code_id": "gml_Object_oDoomTime_Draw_0",
|
||||
"argument_count": 0,
|
||||
"who": 0,
|
||||
"relative": false,
|
||||
"is_not": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[],
|
||||
[]
|
||||
]
|
||||
}
|
||||
Loading…
Reference in new issue