The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
274 views

Is it a terrible practice to NOT initialize an object in its constructor?

I'm currently working on my own game engine, more precisely on the resources management part. For now, most of my assets inherits of the following - simplified - class: class Asset { public: ...
0
votes
1answer
19 views

Error when initializing Stage

I made a new class that implements Screen, what I've seen from other people's code is that they create a constructor that takes a parameter of Game game. I did not created a constructor, I think ...
0
votes
1answer
200 views

Automatically select back buffer format

In D3D9, you could set BackBufferFormat to D3DFMT_UNKNOWN in the presentation parameters and D3D would select the format for you. However, in D3D10, if I set the swap chain descriptor's ...
1
vote
2answers
130 views

Different ways to load/select characters in a RPG game [closed]

I am brand new here, and have been designing a two player card game where from tens of thousands of cards each player selects up to 80 cards DECK, and then fights with those cards. For reference Yu ...
3
votes
2answers
345 views

How to fill/initialize D3D11_SAMPLER_DESC properly?

If I want to set explicitly every parameter of the structure I just do so and that's it. But what if I want to set only some of them and leave the rest with default values? I've seen in some tutorial ...