Tiaaanda

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. 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. 🙌