Jump to content

View more

Image of the Day

Adding some finishing touches...
Follow us for more
#screenshotsaturday #indiedev... by #MakeGoodGames https://t.co/Otbwywbm3a
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

Sign up now

XNA questions part 2

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 burnt_casadilla   Members   


Posted 16 July 2013 - 01:49 PM

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 :)

#2 Muzzy A   Members   


Posted 16 July 2013 - 05:09 PM

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'

#3 IcedCrow   Members   


Posted 16 July 2013 - 07:19 PM

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/

#4 BigGiantHead   Members   


Posted 22 July 2013 - 02:31 AM

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

#5 phil_t   Members   


Posted 22 July 2013 - 10:18 AM

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.

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.