Skip to main content
2 votes
Accepted

Reading a Binary File in Unity

Your file is not a binary file. It contains ASCII text, starting "1e"... The value of which is 65 31 in Hex (Little endian encoded), Or 25905 in Decimal. 1e44(ascii)= 34 34 65 31 (hex) = 875849009 (...
JeffUK's user avatar
  • 220
1 vote
Accepted

How can I read an image from a binary file?

I was able to find a solution, which was a result of various information I collected here in Gamedev and StackOverFlow. To increase the range of the solution, I'm going to pass the link from where I ...
Dormin's user avatar
  • 34
1 vote

Binary Serialization and Protocol

For Go/JavaScript may be a good solution to use MessagePack. And you can use it on client side with any platform. You will save traffic, and you can use JavaScrtipt implementation as well. Note: for ...
Vladimir Ishenko's user avatar
1 vote

How do large physics based games (space engineers) deal with coordinates

A game only has to simulate real world physics, meaning that if the simulation is somewhat accurate such that a player doesn't notice it or it doesn't really interfere with the enjoyment of the game ...
DavidT's user avatar
  • 716
1 vote

How do large physics based games (space engineers) deal with coordinates

I can't speak for Space Engineers, but this is a problem I have solved in the engine I'm working on. Doubles would work for all but the most massive scales. For my engine which goes beyond what ...
Roy Ward's user avatar
  • 763
1 vote
Accepted

How do large physics based games (space engineers) deal with coordinates

One other option that you haven't mentioned is to use double instead of float for positions and position transforms. This ...
Adam's user avatar
  • 7,549
1 vote

Connecting rooms after BSP

The answer is in your question title. You are meant to assign doors just after each split(), hierarchically, not after the entire BSP process has run. OR, you can ...
Engineer's user avatar
  • 30.3k

Only top scored, non community-wiki answers of a minimum length are eligible