XNA questions part 2

Started by
3 comments, last by phil_t 10 years, 9 months ago

Here comes some more easy to answer questions that don't really need their own thread.

1) While creating a multiplayer game, I know I can use xna for part of it. But for usernames and information like that, would I need to use SQL and set up a server to host games?

2) Imagine you're looking at stairs from the side:

_

_ |

_|

In order to make my player move up the stairs without jumping, would I need to implement octrees into my cube creation?

3)Will HLSL be able to handle effects like creating a beam of light shining onto a player's position from a dark sky, or sparks like the wisps in Warcraft 3?

4)My AI in my game will be simple, much like League of Legends. You will be able to set a spawn point and with a click of a button you can send your troops to attack an enemy wall or tower. If your troops come into range of any other troops or the enemy's structures, they attack. What kind of AI scripting would I need for something simple like this?

Thanks again in advance :)

If you see a post from me, you can safely assume its C# and XNA :)

Advertisement

1) Not necassarily, SQL is great for having it organized. But no you don't need to use it. I'll let others answer that question better for you :)

2) Is this a 2d game or 3d game? Ether way if the steps are small you can treat yourself as a sphere/capsule and that wont be a problem. Seems like you're doing an RTS type of game so you probably will have small steps.

3) Shining light on the player most definately, I don't know about the sparks you're talking about haven't played Warcraft. Those are probably particle effects rather than lighting.

4) Look into 'Flocking'

The flecks of light would probably be a mixture of a particle engine and several shaders combining effects over them.

For more on my wargaming title check out my dev blog at http://baelsoubliette.wordpress.com/

1) You can use any kind of database. The most extreme way of course would be to create an SQL Server. For our game we are using SQLite, but it's a singleplayer game.

I would recommend to look into NoSQL like Mongo or CouchDB.

2) Check out BEPUPhysics, there is an example for this. They solve the problem for you. :)

3)Not sure how to solve this one, you can probably solve it with a conical mesh rendered with additive blending, but I don't know. There are so many ways to do it.

4)First of all the AI of LoL is not simple :). I would recommend that you check out CAINav http://www.critterai.org/cainav/home, it's based on the recast library.

And for steering check out SharpSteer http://sharpsteer.codeplex.com/.

Co-Founder of Tesseract Interactive.

Check out our project Excubitor on http://excubitorgame.com and http://www.indiedb.com/games/excubitor

1. For the Xbox, XNA networking is the only thing you can use. On the PC, that isn't available to you, so you have to use something else. On the phone, I forget...

2. Octrees are a performance optimization, and as such are kind of orthogonal to your problem here.

This topic is closed to new replies.

Advertisement