Tagged Questions
4
votes
2answers
180 views
Mixing threads and coroutines in Unity3D Mobile
I had a coroutine in Unity3D that downloaded a zip from a server, extracted it to the persistent data path, and loaded its contents into memory. The flow looked something like this:
IEnumerator ...
0
votes
1answer
119 views
SpriteBatch.end() Issue because of a thread
While playing, I use a thread to Load() and Unload() Texture2D.
I have multiple ContentManager to only Unload() Texture2D I want to unload.
But sometimes, I have this issue on the SpriteBatch.End() : ...
4
votes
2answers
583 views
How to create a thread in XNA for pathfinding?
I am trying to create a separate thread for my enemy's A* pathfinder which will give me a list of points to get to the player. I have placed the thread in the update method of my enemy. However this ...
0
votes
0answers
54 views
XNA Xbox, utilizing multiple cores [duplicate]
Possible Duplicate:
XNA: How does threading work?
It's my understanding that the Xbox has 3 cores that are available to use. I'm hoping to offload AI to another core, and possibly use ...
0
votes
0answers
76 views
BlockingCollection having issues with byte arrays
I am having an issue where an object with a byte[20] is being passed into a BlockingCollection on one thread and another thread returning the object with a byte[0] using BlockingCollection.Take(). I ...
4
votes
4answers
821 views
A* algorithm very slow
I have an programming a RTS game (I use XNA with C#). The pathfinding is working fine, except that when it has a lot of node to search in, there is a lag period of one or two seconds, it happens ...
0
votes
1answer
1k views
C# multi-player socket server (need clarification/suggestions)
I've been working on an 2D-RPG for a while and I recently decided to make it into an MMO (not really massive, but multi-player). Anyways, I'm attempting to write a game server in C#. Yes, I know I ...
5
votes
1answer
242 views
Loading content (meshes, textures, sounds) in the background
In my game, I am aiming for a continuous world, that is, a world where you can go anywhere without breaking the immersion through load times and "virtual seams".
My world is broken up into regions, ...
2
votes
5answers
1k views
Xna Loading Screens
I'm making a 2D XNA game. I'd like to implement loading screens when stuff has to load for a while. Like when I login to an account, connect to the server, and generate worlds. I'm pretty sure it ...
2
votes
4answers
1k views
Why does using multithreading during my load screen increase my load times? [closed]
OK, I added a loading screen to my game, and in order for the game able to update and show a loading screen and load stuff in the background I came to the concludsion that I needed to host the loading ...
12
votes
4answers
1k views
RTS Game AI Thread
I have a project to make a real-time strategy game from scratch. I am still at the early planning stage, but I have been programming a little to see the mechanics.
I know how to program. I also have ...
4
votes
4answers
899 views
Creating the concept of Time
So I've reached the point in my exploration of gaming where I'd like to impliment the concept of time into my little demo I've been building.
What are some common methodologies for creating the ...
