How to correctly use orientation field in function rendering.draw_sprite()?
Posted: Fri Dec 11, 2020 3:27 am
rendering.draw_sprite{surface = self.surface, sprite = self.sprite, target = self.pos, orientation = ***no matter what number I tried, it doesn't make any difference***, time_to_live = 2, x_scale =0.25, y_scale = 0.25}
The sprite does show. But this field doesn't seem to have done anything. What is wrong?
Thanks.
The sprite does show. But this field doesn't seem to have done anything. What is wrong?
Thanks.