A
A
Alexey Mistin2016-02-03 13:53:00
Sprites
Alexey Mistin, 2016-02-03 13:53:00

How to crop image in SKSpriteNode?

Hello.
I have an SKSpiteNode with an image that is 100x500 px.
What I want is that when I give it a size of 100x250 px, it doesn't shrink, but gets cut in half.
How to do it?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
An, 2016-02-03
@Flanker_4

Try like this (I just googled it)
stackoverflow.com/questions/27636391/sprite-kit-ho...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question