The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
425 views

Saving an interface instance into a Bundle

All I've have an interface that allows me to switch between different scenes in my Android game. When the home key is pressed, I am saving all of my states (score, sprite positions etc) into a ...
1
vote
1answer
190 views

XNA Monogame GameState Management not deserilaizing

I am having some trouble serializing/deserializing in a little game I am doing to teach myself monogame. Basically, I am using the gamestatemnanagement resources common to monogame (screen manager ...
3
votes
1answer
92 views

How to structure complex global game state?

Assume you're working on an RPG like Fallout and you have all sorts of flags and variables tracking the state of the world. Stuff like: Talked to NPC X Opened chest Y Completed quest 1 Visited some ...
1
vote
1answer
74 views

How can I can I reduce the write load on a database for an MMO?

I am considering using MySQL as a database for storing the character states or the world for that matter. The thing is if I will save the character data on an interval, thus giving rest to the mysql ...
0
votes
2answers
98 views

Can various browsers be assumed to maintain predictible state accurately in multiplayer online gaming?

With many games it is said that server will assume that clients keep track of the world accurately. Assuming this is true, for a browser based multiplier space invaders game you would only tell the ...
1
vote
2answers
132 views

How to manage Areas/Levels in an RPG?

I'm working on an RPG and I'm trying to figure out how to manage the different levels/areas in the game. Currently I create a new state (source file) for every area, defining its unique aspects. My ...
0
votes
0answers
54 views

Maintaining State in Mud Engine

I am currently working on a Mud Engine and have started implementing my state engine. One of the things that has me troubled is maintaining different states at once. For instance, lets say that the ...
1
vote
2answers
53 views

Managing past/present game state

I'm not sure if "game state" is the correct term, as my searching shows me a lot of results that are not relevant to my question. When I say "game state", I'm talking about the internal state of the ...
0
votes
0answers
33 views

What's the best way to handle a game loop in C++? [duplicate]

I want to know what the best way to handle a game loop is in C++ (or any OOP languages). For example, if my game has two rooms - one is the main menu and the other is level 1. I would normally have ...
0
votes
2answers
181 views

Is networking programming quite generic

I have only looked into the basics, at least I assume it gets more complex. So does network code really change from one game to the next or is it pretty much portable. For example I can create say a 2 ...
0
votes
1answer
67 views

How are vertices determined complex geometries in an ever changing game state

For example say you wanted to draw a 3D cube you can define an array of hard coded vertices using float3, here is an example. http://msdn.microsoft.com/en-us/library/windows/desktop/jj552949.aspx But ...
0
votes
1answer
74 views

Restarting a game

I'm having trouble restarting a 2D game when the user presses the "New Game" button. Structure of my game: The game has several 'screens': Opening screen, instructions screen, main game screen, and ...
1
vote
4answers
143 views

How can I track both current and maximum values for a given statistic?

In my design I have several cases where I need to track both a max value and a current value (examples include Hit Points or Movement Points). I could track these as separate variables: int ...
6
votes
1answer
241 views

How do I duplicate a Box2d simulation, mid-simulation?

I want to serialize the state mid-game, send it over the network to an identical computer (same CPU, same OS, same binary), load it there, and have the two games run in tandem doing the exact same ...
1
vote
1answer
128 views

How do you get player to interact with level?

I suffer from this problem where I have say a class called Player and a class called Level. Now the only way I can figure out how to say make the player interact with the level is if I do something ...
0
votes
0answers
559 views

How to implement a stack of game states in C++ [duplicate]

I'm new to C++ and as a college proyect I'm building a 2D platformer with some classmates, I recently read that it's a good idea to have a stack of gamestates instead of a single global variable with ...
2
votes
1answer
98 views

How do I persist the states of distant objects?

How would one manage the state of static living things like trees in a large sandbox world? Trees in Minecraft, for example: They grow even when the player is far away. One way is to save them with a ...
0
votes
2answers
473 views

Game state management?

I'm running in circles here trying to figure out how to implement game states! Many of the articles I have read use an abstract class that game states inherit, and another "manager" class that ...
1
vote
2answers
623 views

How to make a “GUI In Game”?

My game is very GUI based, the way how it works is that I have a GUI class, which contains the basic GUI elements, a parent GUI object, and a copy of the main game's class object. The game starts out ...
8
votes
5answers
543 views

How can I update Display settings from an Options screen without restarting?

I'm currently creating a 2D RPG in C++11 with Allegro 5 and boost. My goal is to somehow update my game settings when an option is changed in the Options Menu. I don't want to force the user to ...