Values of qualitative or quantitative variables, belonging to a set of items.

learn more… | top users | synonyms

0
votes
1answer
14 views

How do I store game data with cookies?

Im working on a game right now, but I was wondering how I would store the game data in cookies(in javascript) where you can load it up, and resume the last spot you were at. I was looking at some ...
0
votes
2answers
70 views

Saving/Loading PlayerPrefs only works in the editor

I'm creating a game which stores a few variables using PlayerPrefs. It saves and loads the PlayerPrefs perfectly fine while testing in the editor, however when I build it to WebGL or Unity Web Player, ...
1
vote
1answer
71 views

Efficient way to store information about neighbour chunks

I've finally managed to implement an infinite chunk loading system for my voxel engine. Since every chunk needs to have information about the border of the neighbouring chunks, I need to access them ...
13
votes
2answers
2k views

Does Steam provide persistent data storage to developers?

Does Steam provide persistent data storage (for custom data) to developers? For example, would an online shooter be able to store player statistics (kills, matches, player deaths, etc.) on Steam ...
0
votes
0answers
16 views

When saving data locally for a mobile game, how to protect it? [duplicate]

I am designing a mobile (iOS/Android) game and I try to save data (such as levels, coins, status) in local files. In this way, I am concerning a case that someone can just copy these files and give ...
0
votes
0answers
75 views

server/client architecture, how to combine physics data, scene graph and database over the network?

I'm writting a C++ server and a C++ client for a rpg game. The client is using OpenSceneGraph for rendering the 3D. RakNet is used for communication between the client and server. At this time, the ...
0
votes
2answers
46 views

How should data about past interactions be stored?

I have been developing a text-based rpg in C++, using sqlite as my database. When it comes to interactions that change the world around the player in some permanent fashion I have been unable to find ...
2
votes
4answers
200 views

How can I avoid sending the full game state so often?

I'm making a real-time 2D MMORPG in Java. Currently data all surrounding NPCs' and players' data is sent so frequently that the client crashes—it can't handle the data quickly enough. I'm sending data ...
0
votes
0answers
71 views

Sending block chunks through TCP

I am creating a 'Minecraft clone' and the game is going to be only multiplayer. I currently have a limited world (it's not going to be infinite) that is 512 chunks. Each chunk is 16(X) * 16(Z) * ...
0
votes
1answer
70 views

How to detect if players alter game files and stop them from entering the game server [duplicate]

as the question says. how can i check if a player modifies a file such as maps or spells in my rpg games that will be located as "/cache/spells", "/cache/maps" or "/cache/entities" and you get the ...
1
vote
1answer
136 views

Does compressing data before transfer make a game run faster?

I want to make my game as fast as possible as it is real time and fast paced. I have already decided to encrypt my data here and I was wondering whether compressing it would be faster for the client ...
0
votes
3answers
211 views

Is it worth it to encrypt data?

I am using Java to write a moderately simple video game and I need to transfer some large files (edit: Live game data and possibly assets.) between the client and the server. I need to decide whether ...
0
votes
2answers
86 views

most effective storage of logged information [closed]

I am currently implementing basic logging of information on my multiplayer game and I want to have the most effective method. To log when a player connects and disconnects to a the server it ...
0
votes
1answer
41 views

What data to store along a vertex

Is there any other recommended data I should store in the vertex buffers aside from a vertex' coordinates, normals and texture coordinates? For example data I'd need for a feature that almost every ...
1
vote
1answer
376 views

Best practice to implement persistent data when using Tiled TMX map files?

A friend of mine and I are always talking about our current progress in learning game development. Recently, saving the game (data persistence) came up, and when I summarized how I tackled that for my ...
0
votes
2answers
90 views

How can I read a portion of one Minecraft world file and write it into another?

I'm looking to read block data from one Minecraft world and write the data into certain places in another. I have a Minecraft world, let's say "TemplateWorld", and a 2D list of Point objects. I'm ...
0
votes
0answers
71 views

Drawing pathmap [Solved]

I am developing an editor for my game and I like to implement something like this (screenshot from wc3 editor): (I need the pathmap) I have one implementation already, I just store in chunk renderer ...
2
votes
2answers
211 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 ...
1
vote
2answers
308 views

In Android, is saving game data in a binary file a good approach?

I am nearly finished with my Android game, but I want to make sure my save format is good. I am working on a fairly large game, so data such as high scores, stars, etc. are stored for around 80 ...
1
vote
1answer
231 views

Data Locality and Polymorphism [closed]

I've been reading over the various chapters available at http://gameprogrammingpatterns.com, and in particular his chapter over Data Locality(http://gameprogrammingpatterns.com/data-locality.html) has ...
6
votes
3answers
741 views

Managing Voxel Data

I've been programming in C++ as a hobby for about 4 months now, and I've really loved creating stuff using voxels. I wrote a "game" (More of just a personal challenge, as I really only did the ...
1
vote
0answers
61 views

GameCenter and multiple user's data on same device [closed]

I was wondering. Is there any official guidance from Apple suggesting how to deal with multiple GameCenter users data on the same device? My current plan is to create one file for each user and a ...
0
votes
1answer
85 views

Map editor undo function - Not actually setting values to tiles

I'm currently attempting to implement an undo/redo function for my map editor for a tile-based 2D platformer game made with XNA. I've found a lot of resources online about this and decided to try to ...
17
votes
6answers
4k views

Separating game data/logic from rendering

I'm writing a game using C++ and OpenGL 2.1. I was thinking how could I separate the data/logic from rendering. At the moment I use a base class 'Renderable' that gives a pure virtual method to ...
1
vote
0answers
143 views

How can I convert between float3 and float2 in HLSL?

I want to offload some 3D calculations to the GPU without raising my requirements to DX10. Specifically, I am generating densities in 64x64x64 3D blocks, which fit nicely into 512x512 2D textures. I ...
1
vote
1answer
644 views

How to check metadata stored in FBX files?

Is there a way to check and edit metadata information stored in FBX files? I'm using 3ds Max's fbx exporter. Can this be done with it or is there any other tool for that? For example: adding name, ...
-1
votes
1answer
387 views

How do other 2d tile-based web games record their overworld data?

I'm developing a 2d (top down) tile-based strategy game that is web based. It uses PHP and a MYSQL database along with jquery. It was originally a mostly text-based game. I have since developed what I ...
2
votes
2answers
440 views

Unlimited inventory system?

I am working on a small game, I need to add an unlimited inventory to the game but I am not sure how to do it. I have an inventory system with a specific amount of slots, here it is: <?xml ...
-2
votes
1answer
122 views

Safest place to store data [closed]

What is safest possible way to store data? Specific directory? (De-)hashing method? Specific permissions? Let say I have file *.txt file; the only *.txt file. I have there important data. What can I ...
6
votes
2answers
197 views

What to do with old data?

I have a game - virtual soccer manager. It is browser based game. It is split into 'seasons' each of them takes around a half of a real year. The central game element is a soccer match, each team ...
3
votes
1answer
534 views

How do I copy box2d data from one body to another?

I want to copy all Box2D-related data (position, velocity, rotation, impulse, ...) from one body to another. This is what I've got working (with box2djsweb): var t = body.GetTransform(); ...
1
vote
1answer
235 views

HTML5 mobile game storing data

I am developing an mobile application (in HTML5) that will run on multiple platforms and will eventually have both single and multiplayer options. The current issue I have is the best method for ...
4
votes
2answers
3k views

How do I store level-data in Android?

I'm building a game where enemies come in waves. I want to create a file where I can define data about the waves (# of enemies, spawn times, speeds, etc.). I come from a background in iOS and would ...
1
vote
1answer
272 views

Tile Based Engine: Storing Tiles and Levels

I've worked with tile-based engines before (a few years ago when I was pretty green). Now that I know a bit more, I want to revisit tile-based engines but I want to approach it correctly. I want to ...
1
vote
1answer
559 views

Saving Scores Using Cookies

I've recently created a small galiga like game recently using JavaScript and HTML5. I've run into a bit of trouble saving cookies, the cookie saves, but then resets itself when the page is refreshed, ...
0
votes
1answer
582 views

How to resolve duplicate data in Entity Systems?

Whilst working on examples and upgrades for my C++ Entity System, something randomly caught the attention of my mind, by surprise: duplicate data. What I'm referring to is how an entity system that ...
0
votes
3answers
501 views

Persistent Data for Multiplayer, Browser-Based Games

What is generally used to store persistent data in online games - browser games/facebook apps, in particular? I have used MySQL in web development before - but I've read that it's not very scalable, ...
2
votes
3answers
1k views

Is it efficient to use lua to store game data?

I'm new to lua and I'm wondering, is it efficient to use lua to store game data (such as monster's description, spells). My problem is, when I try to create a monster object every second, I have to ...
3
votes
1answer
844 views

Entity property system

In lieu of a typical implementation of entity-component systems, I've gone the data-oriented route described by Jason Gregory in Game Engine Architecture. This works really well for common properties ...
87
votes
12answers
9k views

What data-type should I use for in-game currency?

In a simple business simulation game (built in Java + Slick2D), should a player's current amount of money be stored as a float or an int, or something else? In my use-case, most transactions will use ...
-1
votes
2answers
243 views

Markup format or script for data files? [duplicate]

Possible Duplicate: How to choose how to store data? The game I'm designing will be mainly written in a high level scripting language (leaning towards either Lua or Squirrel) with a C++ ...
1
vote
1answer
132 views

How to model / where to store relational data between classes

I'm trying to figure out the best design here, and I can see multiple approaches, but none that seems "right." There are three relevant classes here: Base, TradingPost, and Resource. Each Base has a ...
0
votes
1answer
57 views

Data for bingo tickets

Is there a data source for 90 and 75 ball bingo tickets? rather than coding to generate the tickets myself just trying to find a source to save me the time. Many thanks
3
votes
1answer
429 views

Settings object with singleton pattern

I need to build an object that will have only one instance because this Object is dedicated to the storage of vital settings for my application and I would like to avoid a misuse of this type or a ...
5
votes
3answers
366 views

Deleting a game object causing an access violation

I tried doing this but it cause an access violation. void GameObjectFactory::Update() { for( std::list<GameObject*>::iterator it=gameObjectList.begin() ..... (*it)->Update(); ...
7
votes
3answers
8k views

How to handle a Block World like Minecraft

I want to write a simple game with a block world like in Minecraft. My theoretical question is what is the best way to handle this block informations during playing. My first Idea was a huge array but ...
6
votes
4answers
893 views

Best practices for periodically saving game state to disk

I'm working on an MMO. All of the player and environment data lives on a server and is kept in memory. There's a "world" object which keeps track of all of the maps, characters, etc. and their ...
0
votes
3answers
305 views

Is storing data via property lists in an iPhone application's documents directory secure?

Is storing game state in plists in an iPhone application’s documents directory a secure method? Meaning, does anything other than the application have access to that directory?
3
votes
2answers
2k views

2D Collision masks for handling slopes

I've been looking at the example at: http://create.msdn.com/en-US/education/catalog/tutorial/collision_2d_perpixel and am trying to figure out how to adjust the sprite once a collision has been ...
9
votes
1answer
260 views

Efficient solution for multiplayer space partioning?

This question is a little tricky, but I will try to make it clear. Lets say I am building an online game (not MMO-scale), but that supports as many players as possible, in a authoritative server ...