Tag Info

New answers tagged

-1

Your question IS broad, however it is answerable. What should the client do in a multiplayer RPG: Display the scene. Receive updates from the server. Send request to the server. Repeat. What should the server do in a multiplayer RPG: Send Player / Monster / NPC / etc coordinates. Determine if a player request is valid IE: Enough gold for purchase ...


2

To send constant values to shaders without using the effect framework, you create constant buffers and bind them to the pipeline with (for example) VSSetConstantBuffers. For example: // You can of course eschew the structure, but this allows you to stuff more data // into the pipeline with a minimum of fuss; you should generally create constant // buffers ...



Top 50 recent answers are included