17 lines
458 B
Plaintext
Executable File
17 lines
458 B
Plaintext
Executable File
draw_set_alpha(1-(alarm[0]/15))
|
|
z = 45
|
|
d3d_set_lighting(true)
|
|
tex = sprite_get_texture(spr_meteor,0)
|
|
d3d_transform_set_identity()
|
|
d3d_transform_add_rotation_x(xangle)
|
|
d3d_transform_add_rotation_y(yangle)
|
|
d3d_transform_add_rotation_z(zangle)
|
|
d3d_transform_add_translation(x,y,z)
|
|
d3d_draw_ellipsoid(-32,-32,-32,32,32,32,tex,1,1,3)
|
|
d3d_transform_set_identity()
|
|
draw_set_alpha(1)
|
|
xangle += xanglespeed
|
|
yangle += yanglespeed
|
|
zangle += zanglespeed
|
|
|