D
D
Dmitry Demidov2015-11-17 23:05:13
Game development
Dmitry Demidov, 2015-11-17 23:05:13

How to change the position of a sprite relative to another?

Good evening.
Dealt with drawing numbers over the background (my question related to this).
But now the next question has arisen. What if I want to draw the top sprite not in the center of the bottom one, but, let's say, in the corner - how can I do that?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2015-11-18
@ptitca_zu

Add width and height to its coordinates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question