Tiaaanda Posted November 4, 2018 Share Posted November 4, 2018 Well, I´m a noob creating games and stuff but currently I'm developing a 2D game. I've designed my principal character but the original images of it are quite big and I need to change its size to add the character to the game. The original images are like 560px x 400px and I need to reduce it to 27px x 20px. How can I do that? I tried this but its useless var character create function() { character = game.add.sprite(100, 150, "main"); character.anchor.setTo(0.5); character.style.width = "27px"; character.style.height = "20px"; I´ll be really grateful if you could help me. ? Quote Link to comment Share on other sites More sharing options...
Noel Posted November 5, 2018 Share Posted November 5, 2018 @Tiaaanda What game engine are you using? This section is for Instant Games, please move your post to the right section (probably the one for the engine you are using). Quote Link to comment Share on other sites More sharing options...
SahJ Posted November 6, 2018 Share Posted November 6, 2018 Did you try using adobe photoshop to change the size of the image? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.