ludum-dare-22/objects/obj_card/Draw_0.gml

10 lines
262 B
Plaintext
Raw Normal View History

d3d_set_lighting(false)
tex = sprite_get_texture(spr_lives,0)
d3d_transform_set_identity()
d3d_transform_set_rotation_z(direction + spin)
d3d_transform_add_translation(x,y,z)
d3d_draw_floor(-6,-6,z,6,6,z,tex,1,1)
d3d_transform_set_identity()
spin += 20