I require testers for the AI systems, if your interested head over to: http://www.reddit.com/r/gaming/comments/sao10/help_test_my_game/
Here is some example gameplay! on a side note I’ve made an in game level editor to speed up level creation, much better than hardcoding everything.
Here are some useful code snippets that I’ve come across and use on a regular basis that I think many may not consider and why there useful.
#if WINDOWS and #if XBOX - I found this code useful when I dabbled with threads in XNA, this is because the code used for setting affinities for threads doesn’t compile on PC so you add this conditional statement to run only on the correct platform.
More info aboutCross platform conditional statements can be found here:
this.IsFixedTimeStep = false; - Another piece of very handy code, this line allows a game to update as often as possible, rather than at fixed intervals, allowing computationally expensive games to run smoother.
Information on fixed timesteps in XNA: http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.game.isfixedtimestep.aspx
#region & #endregion - If you are using XNA i highly recommend using regions to improve code readability.
#region Draw model
// model drawing code
This collaspes to:
#region Draw model
I find using regions can increase productivity massively by hiding code from you. Even if you aren’t using XNA you can made similar regions in other frameworks/ compilers, for instance highlight some code in visual studio and press ctrl m + ctrl H, saved me a bunch of time!
GC.Collect(); - This line can both be extremely useful and extremely detrimental. C# differs from C++ and C in that it has garbage collection, which collects unused data (E.G. when you ‘delete’ an object from a list ).
Rather than explain this myself, I’ll point you to a very useful blog post : http://blogs.msdn.com/b/shawnhar/archive/2007/07/02/twin-paths-to-garbage-collector-nirvana.aspx
In the coming weeks, a limted version of the game will be made availible in order to playtest the AI system, which will requires feedback to ensure its opitmal effectiveness. So please let your friends know that shortly they can test a game (for free!) and help some indepedant developers out! :D
So I snuck a CM Punk reference in our little two-man developed game.
Everything in the game is hand “drawn” by me, it’s nearing completion after about a year in development (we’re both in our 4th year of university so it’s slowed down somewhat since last summer), and as I was drawing the pieces for the customisable avatar choices I couldn’t help but drop a little rasslin reference in there.
It’s a fast-paced RTS game with multiplayer and it’ll be out on Xbox Live Indie Games (hopefully) by July. It’ll be 80MSP/69 pence/1 dollar.