init
This commit is contained in:
commit
0556f63d2d
119 changed files with 2908 additions and 0 deletions
2
objects/obcursor/Create_0.gml
Normal file
2
objects/obcursor/Create_0.gml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
r = 9; //радиус
|
||||
host = obSpaceship
|
||||
6
objects/obcursor/Draw_64.gml
Normal file
6
objects/obcursor/Draw_64.gml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
if !host.inMenu
|
||||
{
|
||||
draw_circle_color(xx, yy, r, global.playerColor, global.playerColor, true);
|
||||
draw_line_color(xx - r, yy, xx + r, yy, global.playerColor, global.playerColor);
|
||||
draw_line_color(xx, yy - r, xx, yy + r, global.playerColor, global.playerColor);
|
||||
}
|
||||
5
objects/obcursor/Step_0.gml
Normal file
5
objects/obcursor/Step_0.gml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
xx = device_mouse_x_to_gui(0);
|
||||
yy = device_mouse_y_to_gui(0);
|
||||
|
||||
x = mouse_x;
|
||||
y = mouse_y;
|
||||
35
objects/obcursor/obCursor.yy
Normal file
35
objects/obcursor/obCursor.yy
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"resourceType": "GMObject",
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obCursor",
|
||||
"eventList": [
|
||||
{"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":0,"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": null,
|
||||
"spriteMaskId": null,
|
||||
"visible": true,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue