init
This commit is contained in:
commit
0556f63d2d
119 changed files with 2908 additions and 0 deletions
6
objects/obstar/Create_0.gml
Normal file
6
objects/obstar/Create_0.gml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
size = random(1.5);
|
||||
image_xscale = size;
|
||||
image_yscale = size;
|
||||
image_speed = random(2);
|
||||
image_index = round(random(7));
|
||||
color = choose(make_color_hsv(32, random(255), random(255)), make_color_hsv(190, random(255), random(255)));
|
||||
1
objects/obstar/Draw_0.gml
Normal file
1
objects/obstar/Draw_0.gml
Normal file
|
|
@ -0,0 +1 @@
|
|||
draw_sprite_ext(spStar, image_index, x, y, image_xscale, image_yscale, 0, color, 1);
|
||||
5
objects/obstar/Step_0.gml
Normal file
5
objects/obstar/Step_0.gml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
if distance_to_object(instance_nearest(x, y, obStar)) <= 16
|
||||
{
|
||||
x = random(room_width);
|
||||
y = random(room_height);
|
||||
}
|
||||
38
objects/obstar/obStar.yy
Normal file
38
objects/obstar/obStar.yy
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"resourceType": "GMObject",
|
||||
"resourceVersion": "1.0",
|
||||
"name": "obStar",
|
||||
"eventList": [
|
||||
{"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":0,"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": "spStar",
|
||||
"path": "sprites/spStar/spStar.yy",
|
||||
},
|
||||
"spriteMaskId": null,
|
||||
"visible": true,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue