Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 17541

C# is a multi-paradigm, managed, strongly typed, garbage-collected, programming language created by Microsoft in conjunction with the .NET platform.

2 votes
1 answer
1k views

Scripting for a C#, multiplayer game

I have a multiplayer game written in C# and we've recently been creating a lot of content but have been looking for a way to give our entities customization logic that the designers can hook into. I t …
17 votes
7 answers
1k views

UI mockups to the code

My UI designer has made a lovely photoshop PSD of the UI and everything pretty. The biggest problem I'm having is converting some of the more elegant fonts used into something renderable in-game. Is t …
11 votes
2 answers
408 views

Interpolating between two networked states?

I have many entities on the client side that are simulated (their velocities are added to their positions on a per frame basis) and I let them dead reckon themselves. They send updates about where the …
6 votes
2 answers
797 views

How can I debug live multiplayer servers effectively?

I have a multiplayer server made by a small team of developers and we have bugs that crop up on our live server occasionally that we simply can't reproduce while playing with our small team on a live …
10 votes
2 answers
2k views

What kind of steering behaviour or logic can I use to get mobiles to surround another?

I'm using path finding in my game to lead a mob to another player (to pursue them). This works to get them overtop of the player, but I want them to stop slightly before their destination (so picking …
1 vote
Accepted

How can I scroll my tile maps?

You really just need a 2D camera and I'm sure you will want it locked onto a sprite on your screen, which is what you mean by smooth scrolling. If you just want a working implementation, you can find …
Community's user avatar
  • 1
0 votes
1 answer
228 views

What's wrong with reversing an action like this?

I'm working on an undo and redo system map editor and have come across a major issue. If I place a tile down, move right a tile, and then move back to that tile I previously placed everything works fi …
1 vote
1 answer
116 views

What are some effective methods of documenting packet protocols?

I'm working with a few developers on a hobby project and we have a lot of different APIs. What are some popular methods of creating documentation on the potential requests, and what can be expected to …
4 votes
3 answers
775 views

Debugging multiplayer games without killing network thread?

How do I approach multiplayer games for debugging? When debugging locally - how can you prevent yourself from disconnecting? The debugger halts network activity.
0 votes

How to play a YouTube video in XNA?

You can use Awesomeium in XNA which has a built in flash player - simply creating a local page with the player and then playing it will be enough. You can then render this texture to the screen.
Vaughan Hilts's user avatar
2 votes
1 answer
537 views

How can I create a 2D camera with upscaling and translation?

I've computed a Viewport that is fair in size (a proper aspect ratio to the given device) and then I calculate my ScaleMatrix like so: scaleMatrix = Matrix.CreateScale( (float) GraphicsDevi …
0 votes
Accepted

How to setup Authentication Database and Game Database?

This is fine if you use a multi-process setup that involves a gateway daemon and an actual world server daemon (which can be further split into other sub daemons for processing of data in the world; b …
Community's user avatar
  • 1
0 votes
Accepted

Map state in XNA on WP8

If you're using some kind of State Management this will just happen automatically. You'd have two states or screens in the case of the Microsoft XNA sample. GameplayScreen We can call this your game …
Vaughan Hilts's user avatar
3 votes
Accepted

Saving model image

Set a RenderTarget on your application; this will set the scene for saving and loading that texture data later in the application life cycle. You're going to want to render your model and scene exact …
Vaughan Hilts's user avatar
0 votes

XNA Game Timer Help

I was doing a quick Google Search and came across this question - I just figured I'd drop my code here. Hopefully this will be useful someone else wandering by: using System; using Microsoft.Xna.Fram …
Vaughan Hilts's user avatar

15 30 50 per page