An entity composed of 2 pieces or with 2 states.

learn more… | top users | synonyms

0
votes
0answers
44 views

HLSL - Binary operations

I'm trying to do binary operations with integers in the hlsl code. For example: int n = 10 & 15; Binary value of 10 = 1010 and Binary value of 15 = 1111. With this, n = 10, because (1010 & ...
2
votes
2answers
118 views

(XNA) Possible to hide, compress, or rename .XNB files?

I'm fairly new to XNA (only a week into C# and XNA at this point) but I have been developing games for a while now, and the program I used did not require any/many external files in creating an ...
8
votes
3answers
322 views

How can I handle versioning changes when saving assets?

I've been working on an RPG now for a while and I use two of different serialization techniques. Enemies, Weapons, items are as saved as XML. Maps and events are saved as "controlled binary" (every ...
5
votes
2answers
383 views

What are the benefits of binary format when storing map info?

I am developing isometric 2D exploration game. At this moment I faced with a problem where game takes too much disk space. Game's world at this moment is about 1 square kilometer and it's about 50MB. ...
-2
votes
1answer
106 views

3d objects in binary files

Currently I have 11 3d spheres created at runtime in my application. The application runs well as it is, but I'm anticipating some garbage collection hiccups due to camera panning. Would performance ...
3
votes
2answers
1k views

Creating a custom binary format for 3D meshes

I've seen people saying it's better and faster to use a custom binary format for your 3D models, based on your needs, instead of using exchange formats. But, I'd like to know how to create a basic ...
1
vote
1answer
421 views

Dealing with binary data and endianness

When distributing my game, I am going to compile all the resources and level data into a single binary package file, which is loaded from by the game. Do I have to worry about my machine being a ...
8
votes
3answers
279 views

How to have operations with character/items in binary with concrete operations?

I have the next problem. A item can have a lot of states: NORMAL = 0000000 DRY = 0000001 HOT = 0000010 BURNING = 0000100 WET = 0001000 COLD = 0010000 FROZEN = 0100000 POISONED= ...
1
vote
2answers
342 views

What is the most efficient way to convert to binary and back in C#?

I'm trying to write a general purpose socket server for a game I'm working on. I know I could very well use already built servers like SmartFox and Photon, but I wan't to go through the pain of ...
9
votes
2answers
1k views

Authentication for a multiplayer game via sockets

I'm implementing a custom binary protocol for a new multiplayer game I'm working on. Its a turn-based strategy game so timing doesn't really matter. I've currently got the basic data sync portion of ...