mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-08-20 01:24:14 -05:00
Reordering a bit.
This commit is contained in:
6
Project/objects/obj_lock/Create_0.gml
Normal file
6
Project/objects/obj_lock/Create_0.gml
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
image_index = 1;
|
||||
image_speed = 0.25;
|
||||
|
||||
image_xscale = global.icon_scale;
|
||||
image_yscale = global.icon_scale;
|
||||
14
Project/objects/obj_lock/Step_1.gml
Normal file
14
Project/objects/obj_lock/Step_1.gml
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
if (global.selecting != noone)
|
||||
{
|
||||
x = global.selecting.x;
|
||||
y = global.selecting.y;
|
||||
|
||||
image_xscale = global.icon_scale;
|
||||
image_yscale = global.icon_scale;
|
||||
}
|
||||
else
|
||||
lock_destroy();
|
||||
|
||||
if (keyboard_check_pressed(vk_escape))
|
||||
lock_destroy();
|
||||
50
Project/objects/obj_lock/obj_lock.yy
Normal file
50
Project/objects/obj_lock/obj_lock.yy
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"id": "ff62894e-7035-4e31-b764-10e24aa65d4b",
|
||||
"modelName": "GMObject",
|
||||
"mvc": "1.0",
|
||||
"name": "obj_lock",
|
||||
"eventList": [
|
||||
{
|
||||
"id": "6ac4d05d-a04f-972f-b2ab-c47cc28391f6",
|
||||
"modelName": "GMEvent",
|
||||
"mvc": "1.0",
|
||||
"IsDnD": false,
|
||||
"collisionObjectId": "00000000-0000-0000-0000-000000000000",
|
||||
"enumb": 0,
|
||||
"eventtype": 0,
|
||||
"m_owner": "ff62894e-7035-4e31-b764-10e24aa65d4b"
|
||||
},
|
||||
{
|
||||
"id": "b4acad12-c557-5687-f268-c58c719a0183",
|
||||
"modelName": "GMEvent",
|
||||
"mvc": "1.0",
|
||||
"IsDnD": false,
|
||||
"collisionObjectId": "00000000-0000-0000-0000-000000000000",
|
||||
"enumb": 1,
|
||||
"eventtype": 3,
|
||||
"m_owner": "ff62894e-7035-4e31-b764-10e24aa65d4b"
|
||||
}
|
||||
],
|
||||
"maskSpriteId": "00000000-0000-0000-0000-000000000000",
|
||||
"overriddenProperties": null,
|
||||
"parentObjectId": "00000000-0000-0000-0000-000000000000",
|
||||
"persistent": false,
|
||||
"physicsAngularDamping": 0.1,
|
||||
"physicsDensity": 0.5,
|
||||
"physicsFriction": 0.2,
|
||||
"physicsGroup": 0,
|
||||
"physicsKinematic": false,
|
||||
"physicsLinearDamping": 0.1,
|
||||
"physicsObject": false,
|
||||
"physicsRestitution": 0.1,
|
||||
"physicsSensor": false,
|
||||
"physicsShape": 1,
|
||||
"physicsShapePoints": null,
|
||||
"physicsStartAwake": true,
|
||||
"properties": [
|
||||
|
||||
],
|
||||
"solid": false,
|
||||
"spriteId": "a96934df-1c09-4a34-875b-89440eed891c",
|
||||
"visible": true
|
||||
}
|
||||
Reference in New Issue
Block a user