init
This commit is contained in:
commit
0556f63d2d
119 changed files with 2908 additions and 0 deletions
0
objects/obmarker/Alarm_0.gml
Normal file
0
objects/obmarker/Alarm_0.gml
Normal file
9
objects/obmarker/Create_0.gml
Normal file
9
objects/obmarker/Create_0.gml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
host = instance_nearest(x, y, obRocket);
|
||||
if distance_to_object(instance_nearest(x, y, obEnemy)) <= 128
|
||||
{
|
||||
target = instance_nearest(x, y, obEnemy);
|
||||
}
|
||||
else
|
||||
{
|
||||
target = 0;
|
||||
}
|
||||
3
objects/obmarker/Draw_0.gml
Normal file
3
objects/obmarker/Draw_0.gml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
draw_circle_color(x, y, 4, global.playerColor, global.playerColor, true);
|
||||
draw_line_color(x - 4, y - 4, x + 4, y + 4, global.playerColor, global.playerColor);
|
||||
draw_line_color(x - 4, y + 4, x + 4, y - 4, global.playerColor, global.playerColor);
|
||||
13
objects/obmarker/Step_0.gml
Normal file
13
objects/obmarker/Step_0.gml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
if distance_to_object(host) <= 2
|
||||
{
|
||||
instance_destroy();
|
||||
}
|
||||
|
||||
if instance_exists(target)
|
||||
{
|
||||
if target != 0
|
||||
{
|
||||
x = target.x;
|
||||
y = target.y;
|
||||
}
|
||||
}
|
||||
36
objects/obmarker/obMarker.yy
Normal file
36
objects/obmarker/obMarker.yy
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"resourceType": "GMObject",
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obMarker",
|
||||
"eventList": [
|
||||
{"resourceType":"GMEvent","resourceVersion":"1.0","name":"","collisionObjectId":null,"eventNum":0,"eventType":8,"isDnD":false,},
|
||||
{"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":0,"eventType":2,"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