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

Author Topic: Atom Zombie Smasher feature  (Read 1629 times)

0 Members and 1 Guest are viewing this topic.

asdatapel

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Atom Zombie Smasher feature
« on: November 04, 2011, 07:23:10 pm »
hey guys. I recently bought atom zombie smasher, and i found out that it uses SFML. Its wierd because when the game opens, the window creation is really smooth, but when i make an SFML app fullscreen, the screen goes black for a second(which also happens with other games). Does anyone know how the creator managed to do this?

Felheart

  • Newbie
  • *
  • Posts: 23
    • View Profile
Atom Zombie Smasher feature
« Reply #1 on: November 05, 2011, 07:11:35 am »
Hi there.
There is a difference between "Fullscreen" and "Maximized window without borders"

I beleive what you mean is the last thing! (WoW and some other games to the same thing)

try this code:
Code: [Select]

window = new RenderWindow(VideoMode.DesktopMode, "Fake-Fullscreen", Styles.None, new ContextSettings());


for "real" and correct fullscreen use this:

Code: [Select]

window = new RenderWindow(VideoMode.FullScreenModes[0], "Real fullscreen", Styles.Fullscreen, new ContextSettings());