Search Results
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 |
C# is a multi-paradigm, managed, strongly typed, garbage-collected, programming language created by Microsoft in conjunction with the .NET platform.
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.
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
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 …
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 …
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
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 …
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 …
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
How can I store all my level data in a single file instead of spread out over many files?
I know this is a pretty old thread - but I'd just like to chime in that I think a ZIP archive might be the best way to go here. You get compression with your data (if you're using raw bitmaps, especia …
0
votes
1
answer
307
views
Syncing properties across a game server
I'm beginning to implement a simple scripting system into my networked server, and I've hit a snag. Before, I've been wrapping my calls into functions on objects that manipulate objects, but lately I' …
1
vote
XNA How to detect collision between 2d sprites and 3d primitives (not models)
Why not making a BoundingBox and/or Triangle with the 2D volume being with the Z dimension at 0? Then use XNAs built in intersects methods.
1
vote
3d to 2d Collision
Use a BoundingBox structure that the XNA framework will provide you with - in this case you can find the documentation just right here. Simply create a box for all your stuff; with the Z-axis set to 0 …
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 …