13 lines
319 B
Plaintext
13 lines
319 B
Plaintext
|
draw_set_alpha(1-(alarm[0]/15))
|
||
|
z = 45
|
||
|
d3d_set_lighting(true)
|
||
|
tex = sprite_get_texture(spr_spin,0)
|
||
|
d3d_transform_set_identity()
|
||
|
d3d_transform_set_rotation_z(spin)
|
||
|
d3d_transform_add_translation(x,y,z)
|
||
|
d3d_draw_ellipsoid(-16,-16,-3,16,16,3,tex,1,1,5)
|
||
|
d3d_transform_set_identity()
|
||
|
spin += 20
|
||
|
draw_set_alpha(1)
|
||
|
|