🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

How to increase the width of a sprite.

Started by
3 comments, last by vaibhav3 4 years, 1 month ago

I am a beginner, learning, and trying to build my dream game using unity.

I bought a GUI pack from the unity asset store.
I am trying to build a UI like below.

upload_2020-5-17_14-9-48.png

This should be on canvas. Now, what I have done.

upload_2020-5-17_14-10-53.png

Do you see my problem? I am using a bg png sprite. Which is not taking the correct width.

Can anyone help me in this, what should I do.

Thanks in advance.

None

Advertisement

Since this is not a Game Design question, this question has been moved to a more appropriate forum.

-- Tom Sloper -- sloperama.com

You can either take the PNG or whatever image you have an change it in Photopshop, GIMP, or whatever program you use. Or you can select the image which is a child of your Canvas and change the size in the inspector or through code.

Programmer and 3D Artist

@undefined Thanks, i used inkscape to create new sprites. I think the sprites i bought are worthy and not correct.

None

This topic is closed to new replies.

Advertisement