2021-06-28 18:44:09 -07:00
|
|
|
x = obj_player.x + 40*cos(turner)
|
|
|
|
y = obj_player.y - 40*sin(turner)
|
|
|
|
turner += .05
|
|
|
|
d3d_set_lighting(false)
|
|
|
|
z += zspeed
|
|
|
|
if zspeed > 0 and z > 75
|
|
|
|
zspeed = -zspeed
|
|
|
|
if zspeed < 0 and z < 5
|
|
|
|
zspeed = -zspeed
|
2021-07-07 23:43:05 -07:00
|
|
|
var tex = sprite_get_texture(spr_star,0)
|
2021-06-28 18:44:09 -07:00
|
|
|
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)
|
|
|
|
o_o = 3
|
|
|
|
d3d_draw_ellipsoid(-o_o,-o_o,-o_o,o_o,o_o,o_o,tex,1,1,5)
|
|
|
|
d3d_transform_set_identity()
|
|
|
|
xangle += xanglespeed
|
|
|
|
yangle += yanglespeed
|
|
|
|
zangle += zanglespeed
|
2021-07-07 23:43:05 -07:00
|
|
|
|