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

10 lines
267 B
Plaintext
Raw Permalink Normal View History

d3d_set_lighting(false)
var 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