Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jeres

Pages: [1]
1
Graphics / Re: Sprite->setScale() problem
« on: February 19, 2013, 04:47:06 pm »
I see. Thanks.

2
Graphics / Sprite->setScale() problem
« on: February 19, 2013, 04:08:14 pm »
Hi!

I wanted to keep sprite fullscreen by manipulating its scale. Well, it was working only on original window size. If window size is lower than original window size, then sprite size is lower than window size. If window size is greater than original, then sprite is greater than window. It looks like this http://oi45.tinypic.com/2ck3n4.jpg - window was 800x600 and I decreased its size.

Here's my code: http://pastebin.com/hPPwSp1w, and here's image I want to rescale http://oi50.tinypic.com/ketd04.jpg.

I'm using newest SFML, right from repo.

Pages: [1]