The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
45 views

Simple way to add Gamestates and menus to a game [on hold]

I'm using java which is the only mastered language I know(c# a little). I've copied someone on YouTube's code but it doesn't make much sense. I know everyone codes differently but how would I add one ...
1
vote
1answer
136 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 ...
0
votes
1answer
61 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
332 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 ...
0
votes
1answer
71 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
139 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
203 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
123 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
502 views

How to implement a stack of game states in C++

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
97 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
345 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
582 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
505 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 ...