504 reputation
1615
bio website
location Germany
age 25
visits member for 4 years, 4 months
seen Nov 10 at 18:08

Passionate Programmer.

Favored Languages: Kotlin, CoffeeScript, F#

Frameworks of Choice: Dropwizard, LoomSDK


Sep
24
awarded  Autobiographer
Aug
4
awarded  Popular Question
Jul
2
awarded  Curious
Jan
1
awarded  Notable Question
Oct
7
awarded  Famous Question
Aug
18
awarded  Popular Question
Jul
31
awarded  Popular Question
Jun
17
awarded  Nice Question
May
13
comment How can I update Display settings from an Options screen without restarting?
@psycketom: The first is from Visio 2013 and the second are generated from code by VS2012. Hope that helps!
May
2
comment How can I update Display settings from an Options screen without restarting?
Hello danijar. I'm already using boost::signals to set up a rudimentary event-handling scheme. The strong line from the GameScreen to the ScreenManager is actually that event-handling. Do you have any resources detailing the architecture of a global event manager? More work or not, this sounds like it could lead to a clean implementation.
May
2
comment How can I update Display settings from an Options screen without restarting?
@Casey: True, and for certain options I can see why that is even necessary, but for things like fullscreen/windowed or the screen resolution? I've never seen a game that required a restart for those settings. My basic question is: why should I force my user to restart when the game can change the settings automatically?
May
2
comment How can I update Display settings from an Options screen without restarting?
That's an interesting solution. I was trying to have a tight control over whenever a reset is called, but you do it regardless of a change. That's definitely something I could implement, and I'll look into it, thanks!
May
2
comment How can I update Display settings from an Options screen without restarting?
I highlighted the "without a restart" bit so others don't trip up on the same last sentence. Such an important fact should not have come at the end, I apologize ):
May
2
revised How can I update Display settings from an Options screen without restarting?
added 179 characters in body; edited title
May
2
comment How can I update Display settings from an Options screen without restarting?
@Casey: Hello Casey! :) Yes, I am using a configuration file to store the relevant display data, but I want to be able to avoid the restart. It's a small game, and other games can change resolution without having to restart, so I don't see why I should force the user to restart with mine. It's a usability issue. While I could just call the allegro dispay functions, I'm trying to stay OOP and not mix my graphics calls just because I can; I don't consider that good design.
May
1
asked How can I update Display settings from an Options screen without restarting?
Jan
28
awarded  Taxonomist
Dec
21
awarded  Nice Question
Sep
6
awarded  Popular Question
Jul
14
awarded  Yearling