Discord
Login
Community
DARK THEME

How to resize my sprite?

Hi im having problems with size. example: I have this logo i want to import into the sprite section, but whenever i do it becomes huge. is there anyway to crop it to fit into a smaller box without having it change its quality?

What is the logo size in pixels? Don't forget that you can change the size on screen when you draw it.

In the init() function add a variable called size. in the draw() function replace the size of the sprite with the variable size. You can now change the size of your sprite in any of those functions by changing the variable.

Let me know if this helps :)

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community