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 - 6Dragon6

Pages: [1]
1
Window / Re: [Mac] Fullscreen modes not scaled to screen size
« on: June 27, 2016, 12:34:21 pm »
  At least I was trying to help, you are welcome, nice manners by the way.

2
Window / Re: [Mac] Fullscreen modes not scaled to screen size
« on: June 27, 2016, 12:22:17 am »
 That's exactly what it does in Win7 if I am understanding correctly:

 Before, the remaining space of the screen is filled with black instead of stretching the game screen, the sprite and the red background keep their size (the red background represents the size of the game screen, the rest is black):
https://s32.postimg.org/a4fpvem45/project001_2016_06_26_23_19_08_91.png

 After applying a view, the game screen fills the whole thing, the sprite and the background are stretched:
https://s32.postimg.org/h4nf24bjp/project001_2016_06_26_23_19_16_49.png


 Unless I am misunderstanding something it looks like we are on the same boat, except that code worked for me.

PS: I can't seem to find the attachments you left here :/

3
Window / Re: [Mac] Fullscreen modes not scaled to screen size
« on: June 26, 2016, 09:28:23 pm »
 Hello there, I am so sorry to do this necropost but would this work? It does work in Windows.

sf::RenderWindow window(sf::VideoMode(640, 320), "Proyecto001",sf::Style::Fullscreen);
view.reset(sf::FloatRect(1, 1, 640, 320));
window.setView(view);
 

 This creates a "camera" that stares only at whatever you chose, in this case the first 640x320 pixels, and stretches them to the full screen.

 This would solve the problem, however, this will not respect the aspect ratio, obviously.

 Greetings!

Pages: [1]