init
This commit is contained in:
commit
0556f63d2d
119 changed files with 2908 additions and 0 deletions
7
objects/obGuiButton/Alarm_0.gml
Normal file
7
objects/obGuiButton/Alarm_0.gml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/// @description Действие с кнопкой
|
||||
switch action
|
||||
{
|
||||
case 1:
|
||||
show_message("ВСТАНЬ МИД! Ты конченый? Встань и стой со мной, Фишман, ты играешь по 20 ммов в день. Нахуя? Если ты долбоёб?");
|
||||
break;
|
||||
}
|
||||
9
objects/obGuiButton/Create_0.gml
Normal file
9
objects/obGuiButton/Create_0.gml
Normal 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;
|
||||
0
objects/obGuiButton/Draw_0.gml
Normal file
0
objects/obGuiButton/Draw_0.gml
Normal file
2
objects/obGuiButton/Draw_64.gml
Normal file
2
objects/obGuiButton/Draw_64.gml
Normal 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);
|
||||
8
objects/obGuiButton/Step_0.gml
Normal file
8
objects/obGuiButton/Step_0.gml
Normal 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;
|
||||
}
|
||||
40
objects/obGuiButton/obGuiButton.yy
Normal file
40
objects/obGuiButton/obGuiButton.yy
Normal 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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue