forked from fachinformatiker/undertale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobj_dentata_full.object.gmx
103 lines (103 loc) · 3.76 KB
/
obj_dentata_full.object.gmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>spr_dentata_none</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>-70</depth>
<persistent>0</persistent>
<parentName><undefined></parentName>
<maskName><undefined></maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>siner= random(360);
size= 1;
halfsies= 0;
ssx= sin(siner / 3) * 3 * image_xscale;
ssy= cos(siner / 3) * 3;
if(y <= 130) halfsies= 1;
if(y >= 190) halfsies= 2;
maxer= 0;
size= maxer + sin(siner / 2) * 0.02;
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="8" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>dnty= sin(siner / 4) * 2 * size;
dntyx= cos(siner / 2) * 2 * size;
dnty2= sin(siner / 3) * 4 * size;
rt= cos(siner / 4) * 5;
ssx= sin(siner / 3) * 3 * image_xscale;
ssy= cos(siner / 3) * 3;
if(halfsies == 0) {
draw_sprite_ext(2187/* spr_dentata_none */, 0, x + ssx, y + dnty + ssy, size, size, rt, 8421504, 1);
draw_sprite_ext(2185/* spr_dentata_tophalf */, 0, x - dntyx + ssx, y + dnty2 - 4 * size + ssy, size, size, rt, 16777215, 1);
draw_sprite_ext(2186/* spr_dentata_bottomhalf */, 0, x + dntyx, y - dnty2 + 4 * size, size, size, rt, 16777215, 1);
}
if(halfsies == 1) {
rt+= 90;
draw_sprite_ext(2181/* spr_halfdentata_none */, 0, x + dnty + ssx, y + ssy, size, size, rt, 8421504, 1);
draw_sprite_ext(2184/* spr_halfdentata_top */, 0, x + dnty2 - 4 * size + ssx, y - dntyx + ssy, size, size, rt, 16777215, 1);
draw_sprite_ext(2183/* spr_halfdentata_bottom */, 0, x - dnty2 + 4 * size + ssx, y + dntyx + ssy, size, size, rt, 16777215, 1);
}
if(halfsies == 2) {
rt-= 90;
draw_sprite_ext(2181/* spr_halfdentata_none */, 0, x + dnty + ssx, y + ssy, size, size, rt, 8421504, 1);
draw_sprite_ext(2184/* spr_halfdentata_top */, 0, x - dnty2 + 4 * size + ssx, y - dntyx + ssy, size, size, rt, 16777215, 1);
draw_sprite_ext(2183/* spr_halfdentata_bottom */, 0, x + dnty2 - 4 * size + ssx, y + dntyx + ssy, size, size, rt, 16777215, 1);
}
siner++;
if(maxer < 0.8) maxer+= 0.1;
size= maxer + sin(siner / 2) * 0.02;
</string>
</argument>
</arguments>
</action>
</event>
</events>
<PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints/>
</object>