This commit is contained in:
Alexey 2024-10-31 17:39:35 +03:00
commit 0556f63d2d
119 changed files with 2908 additions and 0 deletions

View file

@ -0,0 +1,7 @@
/// @description Действие с кнопкой
switch action
{
case 1:
show_message("ВСТАНЬ МИД! Ты конченый? Встань и стой со мной, Фишман, ты играешь по 20 ммов в день. Нахуя? Если ты долбоёб?");
break;
}

View file

@ -0,0 +1,9 @@
action = -1;
text = "";
_x = x;
_y = y;
__x = 0;
__y = 0;
width = 5 * image_xscale;
height = 5 * image_yscale;
color = global.playerColor;

View file

View file

@ -0,0 +1,2 @@
draw_sprite_stretched_ext(spMenuBack, 0, _x, _y, width, height, color, 1);
draw_text_color(_x + width/2, _y + height/2, text, color, color, color, color, 1);

View file

@ -0,0 +1,8 @@
__x = camera_get_view_x(view_camera[0]);
__y = camera_get_view_y(view_camera[0]);
x = _x + __x;
y = _y + __y;
if (mouse_x >= x and mouse_x <= x + width) and (mouse_y >= y and mouse_y <= y + height) and mouse_check_button_pressed(mb_left)
{
alarm[0] = 1;
}

View file

@ -0,0 +1,40 @@
{
"resourceType": "GMObject",
"resourceVersion": "1.0",
"name": "obGuiButton",
"eventList": [
{"resourceType":"GMEvent","resourceVersion":"1.0","name":"","collisionObjectId":null,"eventNum":0,"eventType":0,"isDnD":false,},
{"resourceType":"GMEvent","resourceVersion":"1.0","name":"","collisionObjectId":null,"eventNum":0,"eventType":3,"isDnD":false,},
{"resourceType":"GMEvent","resourceVersion":"1.0","name":"","collisionObjectId":null,"eventNum":64,"eventType":8,"isDnD":false,},
{"resourceType":"GMEvent","resourceVersion":"1.0","name":"","collisionObjectId":null,"eventNum":0,"eventType":2,"isDnD":false,},
{"resourceType":"GMEvent","resourceVersion":"1.0","name":"","collisionObjectId":null,"eventNum":0,"eventType":8,"isDnD":false,},
],
"managed": true,
"overriddenProperties": [],
"parent": {
"name": "Objects",
"path": "folders/Objects.yy",
},
"parentObjectId": null,
"persistent": false,
"physicsAngularDamping": 0.1,
"physicsDensity": 0.5,
"physicsFriction": 0.2,
"physicsGroup": 1,
"physicsKinematic": false,
"physicsLinearDamping": 0.1,
"physicsObject": false,
"physicsRestitution": 0.1,
"physicsSensor": false,
"physicsShape": 1,
"physicsShapePoints": [],
"physicsStartAwake": true,
"properties": [],
"solid": false,
"spriteId": {
"name": "spMenuBack",
"path": "sprites/spMenuBack/spMenuBack.yy",
},
"spriteMaskId": null,
"visible": true,
}