Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
28 views

“Unresolved external symbol” errors in DirectX: LNK1120 and LNK2019 [duplicate]

I'm making a DirectX 11 framework, but debugging gives me these errors: error LNK2019: unresolved external symbol __imp__DrvGetModuleHandle referenced in function "private: void __thiscall ...
2
votes
1answer
133 views

Do shader program compilers optimise divide-by-PoT-constants to bitshift operations?

So just to restate that, let's say we have this: float f = g / 2; Given the divisor is a constant, will the shader compiler auto-optimise this to a bitshift operation, as some language compilers are ...
1
vote
1answer
148 views

how do I add development build number each time I compile and play?

I wanted each time I play my game, it will show in the console how many times you compiled or run the game. How do I do that?
1
vote
1answer
2k views

Best way to use Raknet from C#?

I am trying to learn Raknet with C# and I found it extremely confusing. The Raknet tutorial seems to work well in C++. I have already made the chat server from the tutorial. I am looking to do ...
5
votes
2answers
9k views

Does Unity for PC use Direct3D or OpenGL?

I am a mac developer using Unity and I hardly use a PC. When you build a Unity game for Windows, does it use Direct3D or OpenGL? P.S. I'm not sure if it's called Direct3D or DirectX
2
votes
2answers
738 views

Was C++ designed for speed, and is it better to not use high level features when teaming with inexperienced programmers?

I have read some optimisation guide for C++, and it seems it requires more knowledge to have a fast C++ code, than using C++ without the high level features of C++ (classes, templates, inheritance, ...
2
votes
4answers
470 views

Compile time error handling for single programmer games?

Hey. My input system has a GetKey() method that returns a key in a map. Simple enough. However, I want to know if the key is not available - be it a typo, or misuse of wording, or something else. I am ...
3
votes
1answer
740 views

Is it possible to develop a game with Lua/Löve and have the source code compiled?

I've been looking at Lua and Löve for developing simple 2D games. But since Lua is interpreted and I know it can be compiled to some point, but how secure is that to decompiling. Or is there a better ...