Search ExpertsHow it works
Notifications
How to dynamically place images/sprites
Date: March 29, 2019Session Time: 29 mins
Answered by Phil Ferland
Programmer, Generalist, Designer
4.91
15 Sessions
USD $1 /min
Return to Top Questions
Question Detail
2D side-scroller set on a city street. Want to generate random city street, images are different sizes. Want to randomly select image, find it's bounds/size, and place it in the scene at the correct location. I'm not sure how to do this, or if this approach is even the best one? How can I do this?
C#
2D
Customer Review
5
Thank you so much Phil, not only saved the day, but paved the way to a lot of possible future expansions of this! Very much appreciated!
March 29, 2019