Author Topic: Random Questions  (Read 8067 times)

Offline Pandemic

  • Full Member Mark II
  • ***
  • Posts: 172
  • Location: Miniluv ftw!
Random Questions
« on: July 09, 2009, 01:40:09 am »
So I downloaded the demo for the game two days ago, after learning about it on Impulse. As I haven't yet been able to play a full campaign (just actually bought it, and haven't been able to complete a campaign on the demo :P) I'm kinda sad, but it is an amazing game from what I've played so far.

Btw, just wanted to say that x4000 is both insane and amazing, for taking on the whole process of devving by himself, and being so interactive with the community ;D. And this game has some kickass music too... I am curious though, why is it all in .ogg format? All the sounds are in .wav, but the actual, composed music, is in .ogg... out of curiosity, is there any reason for that, other then an attempt at anti-piracy? Not even that sounds like good reason to have it in that format, as you had your whole DRM shpeal on the website, and you can easily use Audacity to convert it to .mp3... but I digress :P. Anyway, I am curious, and wouldn't mind an answer :P.

Anyway, to the game-play related random questions:
1. How big is the online community? I noticed a distinct lack of an online mode, just LAN, and after reading your post on how the games take 10hr each and are unplayable if somebody bows out it makes sense to not have one... but is the community big enough /organized enough for a decent amount of games to be going on?
2. Are you planning on implimenting a system of unit formation? When you right-click now it bothers me that they all converge to one spot, then randomly disperse to the nearest empty space... You know the hold-both-mouse-buttons-down-and-be-able-to-organize-your-units stuff in most modern RTS's? Is there a reason AI Wars lacks that?
3. Has anybody beaten a level 10 AI? o.O
4. People use some sort of VOIP client to talk... right? A campaign would be hellish, if not worse, if I had to go 10 hours typing out "Move now" and "No, take this planet", and junk like that. I guess this is another "How organized is the community?" question :P.
5. (@ x4000) Did you create this game on your own, from scratch? If so, you deserve many a cookie :P.
6. Is there any noticable lag online? Or over LAN, rather...
7. (@ x4000) You seems *extremely* active on the forums, especially for a single dev. I'm curious if you're to be found playing a campaign or two with the community :P.
EDIT: 8. Open source? Upon reading some more posts here, I came to the conclusion that at least one person has it... Is Revenantus special, or is the open source just out there :P? Not that I have anywhere *near* the skills neccissary to do anything with it, but I would love to see the source for an RTS, especially one where the AI doesn't suck :o.

So now that I typed all that up it seems to all come down to, mostly, a single question... how organized /mature is the community?


-Pandemic

p.s. Sorry for the inorganization of the post, I'm just too tired /lazy to fix it right now ::)
« Last Edit: July 09, 2009, 01:53:20 am by Pandemic »
http://www.di.fm/wma/trance.asx
"Freedom is the ability to say 2 plus 2 makes 4. If that is granted, all else follows."  -George Orwell, 1984

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: Random Questions
« Reply #1 on: July 09, 2009, 03:06:13 am »
Hi Pandemic,

Welcome to the AI War Forum.

Btw, just wanted to say that x4000 is both insane and amazing, for taking on the whole process of devving by himself, and being so interactive with the community .

Indeed, he's a fantastic developer. Be sure to post your thoughts and suggestions regarding the game as he seems partial to copious amounts of feedback. I suspect there must be some form of time dilation affecting his workstation - new features are implemented at an almost alarming rate.

And this game has some kickass music too... I am curious though, why is it all in .ogg format? All the sounds are in .wav, but the actual, composed music, is in .ogg... out of curiosity, is there any reason for that, other then an attempt at anti-piracy? Not even that sounds like good reason to have it in that format, as you had your whole DRM shpeal on the website, and you can easily use Audacity to convert it to .mp3... but I digress . Anyway, I am curious, and wouldn't mind an answer.

The game's excellent music is courtesy of Pablo Vega. Ogg is a free, open, format that is generally accepted to provide better sound quality than mp3 for a given usage of system resources.

1. How big is the online community? I noticed a distinct lack of an online mode, just LAN, and after reading your post on how the games take 10hr each and are unplayable if somebody bows out it makes sense to not have one... but is the community big enough /organized enough for a decent amount of games to be going on?

Organising a game can be done via the AI War Meeting Grounds section of the forum - try posting the times that you'd be available, although obviously I can't guarantee anything. Due to the generally long time games take to reach completion there hasn't really been a demand for an in-game server browser - it's best to plan in advance.

The game allows you to save multiplayer games at any time and resume them at a later date - it also supports hot-rejoining for players that drop out of the game for whatever reason so you need not have any concerns about games becoming unplayable.

2. Are you planning on implimenting a system of unit formation? When you right-click now it bothers me that they all converge to one spot, then randomly disperse to the nearest empty space... You know the hold-both-mouse-buttons-down-and-be-able-to-organize-your-units stuff in most modern RTS's? Is there a reason AI Wars lacks that?

The short answer is no. x4000 has commented on his reasons in a post Here.

3. Has anybody beaten a level 10 AI? o.O

Not to my knowledge. The level 10 AI is utterly ruthless and unforgiving - It was born of equal parts code and Evil.

The game was designed so that the average experienced RTS player would have a challenging battle against the level 7 AI.

6. Is there any noticable lag online? Or over LAN, rather...

This is dependent on a few factors, such as connection speed and PC performance, but in general the game's network performance is excellent. x4000 has written an article on Optimizing Performance In Multiplayer that could be worth reading.

4. People use some sort of VOIP client to talk... right? A campaign would be hellish, if not worse, if I had to go 10 hours typing out "Move now" and "No, take this planet", and junk like that. I guess this is another "How organized is the community?" question .

Yes, team-speak is almost vital for communication. The game is very tactical and requires effective coordination between players in order to defeat the AI. x4000 has also posted some tips regarding Voice Support.

7. (@ x4000) You seems *extremely* active on the forums, especially for a single dev. I'm curious if you're to be found playing a campaign or two with the community.

Well, I don't think so... but, perhaps I'm being excluded :P. We'll soon see if he's interested, I'm sure there are a number of people here who would participate in such a game.

EDIT: 8. Open source? Upon reading some more posts here, I came to the conclusion that at least one person has it... Is Revenantus special, or is the open source just out there ? Not that I have anywhere *near* the skills neccissary to do anything with it, but I would love to see the source for an RTS, especially one where the AI doesn't suck .

The game is not open source, although you can find a number of interesting articles, written by x4000 of course, pertaining to the game's AI and other aspects Here.

I'm not actually special, or connected to Arcen Games in any other capacity than as a player/customer. x4000 has been kind enough to allow players to export some data from the game (Ship Attributes, etc) from which I've been generating some tables for our nascent Community Wiki.

So now that I typed all that up it seems to all come down to, mostly, a single question... how organized /mature is the community?

I will vouch for this game's online community's highly friendly atmosphere and willingness to help. I'm certain that you will rapidly experience this first hand if you continue to visit this forum.
« Last Edit: July 09, 2009, 03:15:18 am by Revenantus »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Random Questions
« Reply #2 on: July 09, 2009, 10:09:55 am »
So I downloaded the demo for the game two days ago, after learning about it on Impulse. As I haven't yet been able to play a full campaign (just actually bought it, and haven't been able to complete a campaign on the demo :P) I'm kinda sad, but it is an amazing game from what I've played so far.

Hey there, thanks for your support of the game, and welcome to the forums!  I'm really glad you've been enjoying it so well so far. :)

Btw, just wanted to say that x4000 is both insane and amazing, for taking on the whole process of devving by himself, and being so interactive with the community ;D.

Thanks!  It's fun for me, so that really helps.  If I didn't enjoy what I was doing, I wouldn't be able to do it. :)

And this game has some kickass music too... I am curious though, why is it all in .ogg format? All the sounds are in .wav, but the actual, composed music, is in .ogg... out of curiosity, is there any reason for that, other then an attempt at anti-piracy? Not even that sounds like good reason to have it in that format, as you had your whole DRM shpeal on the website, and you can easily use Audacity to convert it to .mp3... but I digress :P. Anyway, I am curious, and wouldn't mind an answer :P.

I'll pass that along to our composer -- I know he'll be pleased.  He did a terrific job, and I feel like he doesn't get quite as much general recognition as his work deserves.  So I'm always glad to be able to pass along great feedback to him!  The reason why the music is in ogg format actually has nothing to do with piracy -- you can easily play ogg files in most music players, and of course you can easily convert to mp3 if need be for an ipod or whatever other device.  No, the reason we avoided mp3 is because to use that format actually requires that we pay a royalty on every sale to the mp3 overlords.  For that reason, almost no games use mp3 -- most go with ogg, or some other format.  I went with ogg because it is free, open source, gaining in popularity, compresses well, and because I found a great decoder for it in C#. :)

1. How big is the online community? I noticed a distinct lack of an online mode, just LAN, and after reading your post on how the games take 10hr each and are unplayable if somebody bows out it makes sense to not have one... but is the community big enough /organized enough for a decent amount of games to be going on?

Right now there are maybe half a dozen (more?) people at Relic News who try to play weekends, and then there are a couple of dozen or so people here, a few of which who have expressed interest in multiplayer (and meet up either through the Hamachi network we have, or the IRC channel), the rest of whom mostly seem to play single player or with friends at the moment.  

The thing to remember right now is that the game is still very new, so everything is in a constant state of growth.  We had absolutely zero exposure before launch, which was May 10, and then during the first few weeks before we came to Impulse, we had practically zero visibility and sales.  So almost all of our sales have come since May 26, when we got on Impulse -- as you can see, we're one of the best-selling games on Impulse since that point, but for a variety of reasons our exposure is still not what I would call super-high.  We're working on that with various other distribution channels, review sites, general gaming news sites, etc, but these things simply take time (no one is more eager on that front than myself and Pablo, I can assure you!).  

A number of our players have also taken it upon themselves to talk about the game in other various forums they belong to, and that has also really helped our visibility, but again it's all still just in a state of early growth.  Given the long nature of these games, and the way in which you really must work together, this is designed primarily around play with friends -- via LAN or the Internet -- rather than with strangers.  If you're interested in meeting some new people to play with, the Meeting Grounds forum or the IRC channel are probably the best places to start.  

With any RTS game, it seems that less than 5% or 10% of the playerbase actually play online multiplayer (just looking at the numbers for units sold versus registered online players for other popular games), and in our case so far, I think the number is even lower -- so far.  But if you're interested in that sort of thing, posting on the Meeting Grounds is a great idea.  These things tend to snowball, so the more people that post that they are interested, the more likely other new people are to come by and post.

At some point in the future, I would be interested in adding support for GameSpy or XFire or something, as a way for players to meet and connect.  We don't have the server capacity to create something like that on our own at the moment (though my background is in web-based database servers, so it would be a good fit in many respects), and I'd prefer to partner with someone outside for that anyway, both to help visibility and to give players something they are otherwise familiar with.  That was probably a more exhaustive answer than you were expecting, but hopefully that is helpful. :)

2. Are you planning on implimenting a system of unit formation? When you right-click now it bothers me that they all converge to one spot, then randomly disperse to the nearest empty space... You know the hold-both-mouse-buttons-down-and-be-able-to-organize-your-units stuff in most modern RTS's? Is there a reason AI Wars lacks that?

No, I don't plan on implementing that -- yes, I am familiar with that from other RTS games, but it seems to be a cosmetic whiz-bang sort of thing, and not something that is actually purposeful.  I feel like it would actually be detrimental to the best unit strategies during combat to do formations.  Here's another thread that addresses this more thoroughly:  http://arcengames.com/forums/index.php/topic,173.0.html

3. Has anybody beaten a level 10 AI? o.O

Not to my knowledge. :)  Most people seem to be maxing out at level 7 right now, which is where I also play.  There might have been someone playing an 8, but I'm not sure.  I don't even know if a level 10 AI is possible to beat, but basically I balanced the game so that there would still be several levels of difficulty higher than what I am comfortable with (7), so that players who are a lot better than me will still have something to do!

4. People use some sort of VOIP client to talk... right? A campaign would be hellish, if not worse, if I had to go 10 hours typing out "Move now" and "No, take this planet", and junk like that. I guess this is another "How organized is the community?" question :P.

Oh yeah -- there's a thread on this in the technical support forums.  We have an official teamspeak server that you are welcome to use, but personally I just use open Skype calls.  But whatever you prefer is just great!  We didn't build in voice capabilities of our own because 1) that's not what we're best at, and 2) there are already so many other free solutions out there that are cross-game compatible, and most people already seem to have a solution they would prefer to something we would cook up (or license) ourselves.  But yes, we definitely don't expect you to be typing everything out! :)

5. (@ x4000) Did you create this game on your own, from scratch? If so, you deserve many a cookie :P.

Thanks!  I did indeed do all of the programming.  I used SlimDX as a DirectX wrapper, I used an Ogg Vorbis decoder, a graphing component for the in-game graphs... and I think that's all.  Anything else would be in the credits document.  But anyway, the engine is completely custom and coded from scratch in my spare time. :)

6. Is there any noticable lag online? Or over LAN, rather...

Most people who play the game play it over the Internet, not just over LAN.  The older versions of the game said "Find LAN Games" which was misleading -- it now says "Join Multiplayer Game," with more options in there for how to find more players, etc.  If you are playing on a broadband connection, there is not much if any noticeable lag online.  My alpha group of four players has been playing this game biweekly since last November, with 60,000+ ships in many games and no lag.

A few players have posted about moderate to extreme lag in the forums, but I think there is something else going on there outside from the game.  In one case it was computers that were way below the minimum system requirements (which is fine, often), but which were in a game of 100 planets that lasted over 25 hours so far -- with machines meeting the minimum requirements, that would be fine, but with ones that are 2/3 of the minimum cpu power that is pushing it a bit.  However, that was a CPU bottleneck on the host, and not a network bottleneck, and I've put in a few optimizations in 1.009 that will hopefully solve the problem for them (we'll see next week, when they get back to their game).

The only other reports of lag that I have had were indeed network-related, but my current theory is that there was something else going on on on of their networks at the time (torrent seeding, video streaming, something).  The resolution on that one is still pending.  But as for everyone else who has been playing online, I have not heard any other reports of lag.

7. (@ x4000) You seems *extremely* active on the forums, especially for a single dev. I'm curious if you're to be found playing a campaign or two with the community :P.

Unfortunately, I only have time for my weekly sessions with my alpha group at the moment -- that's as much testing as it is playing, and I doubt the community would be real happy with stops for a quick code update to the current prerelease, etc. :)

The main limiter for me, really, is time -- I do spend a lot of time here, as well as coding the game, as well as working on the next game (a puzzle game) that Arcen is going to put out.  So, at least in the short term, that leaves me comparably little time for actual play. :(

EDIT: 8. Open source? Upon reading some more posts here, I came to the conclusion that at least one person has it... Is Revenantus special, or is the open source just out there :P? Not that I have anywhere *near* the skills neccissary to do anything with it, but I would love to see the source for an RTS, especially one where the AI doesn't suck :o.

Nope, it's not open source -- no one has the source for the game but me.  Revenantus is creating his charts, etc, based on some xml exports that anyone can now use the game to create (you can see how by looking all the way at the bottom of the controls document in 1.009 or later).  Parts of the code for things like the AI, or fixed-int math, etc, I have opened the source for on my blog or at places like StackOverflow.  My blog has a lot of information about the design and some about the code, both regarding the AI and otherwise.  I have more articles planned, too, but that has been one thing that has slipped in the last few weeks just because I am so crunched for time that something had to give. :p

So now that I typed all that up it seems to all come down to, mostly, a single question... how organized /mature is the community?

These forums are the center of the community, so you can judge that for yourself, I imagine.  We have a couple of dozen regulars, maybe a dozen really frequent contributors.  Most of the forums posts are regarding suggestions/feedback right now, particularly as regards the cycle of prereleases, but we're also getting a growing set of people talking and sharing strategy, as well.  That's blossomed into a fullblown Community Wiki, but that's very new.

Every day we get at least one new member, it seems, and of course there are new players in general every day since our sales are pretty steady, but we're still new and growing.  We're one of the bestsellers on Impulse, but outside that and a few other communities online, we are still little known.  Of course, you're welcome to help with that -- a lot of our success outside of Impulse has been from players spreading the word! ;)

p.s. Sorry for the inorganization of the post, I'm just too tired /lazy to fix it right now ::)

No worries, it doesn't bother me a bit. :)  Thanks for taking the time to post!
« Last Edit: July 09, 2009, 10:54:58 am by x4000 »
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Random Questions
« Reply #3 on: July 09, 2009, 10:34:47 am »
Hi Pandemic,

Welcome to the AI War Forum.

Whoops, you beat me to it. :)

If I had noticed, I wouldn't have repeated some of the responses that you had already completely handled. Ah well. :)

Not to my knowledge. The level 10 AI is utterly ruthless and unforgiving - It was born of equal parts code and Evil.

That's the perfect way to describe it. :)

7. (@ x4000) You seems *extremely* active on the forums, especially for a single dev. I'm curious if you're to be found playing a campaign or two with the community.

Well, I don't think so... but, perhaps I'm being excluded :P. We'll soon see if he's interested, I'm sure there are a number of people here who would participate in such a game.

No, you aren't being excluded. :)  It's mainly just a factor of time, at the moment.  Perhaps when things settle down some over the next few months, I'll try to set up a game with people from the community.  The main problem then is that I don't want anyone to feel like it's favorites or that they are being excluded, or whatever.  But right now it's just a factor of my schedule.

I'm not actually special, or connected to Arcen Games in any other capacity than as a player/customer. x4000 has been kind enough to allow players to export some data from the game (Ship Attributes, etc) from which I've been generating some tables for our nascent Community Wiki.

Aww, we all think you're special, even if you aren't connected with Arcen. ;)

So now that I typed all that up it seems to all come down to, mostly, a single question... how organized /mature is the community?

I will vouch for this game's online community's highly friendly atmosphere and willingness to help. I'm certain that you will rapidly experience this first hand if you continue to visit this forum.

Yes, I really couldn't ask for a better atmosphere.  I didn't interpret his question quite that way, but I should note that this really is the friendliest group of players that I've ever encountered on a forum system.  It's been a number of years since I was highly active on any other forums, so maybe it's also a sign of the changing times (flame wars were oh-so-common back in the late 90s/early 2000s), but I also think there's just a really great attitude here in general.
« Last Edit: July 09, 2009, 11:02:20 am by x4000 »
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Pandemic

  • Full Member Mark II
  • ***
  • Posts: 172
  • Location: Miniluv ftw!
Re: Random Questions
« Reply #4 on: July 09, 2009, 11:54:04 am »
Nice response time ;D.

Ok, cool... I think I'll be having a look at those articles. I read the first one on how you made your AI and it was extremely interesting... I didn't think about it before, but the fuzzy-logic part, the best move isn't always the best move, is weird, counter-intuative, but true :P.

And sweet, I think I'll go spelunking for the TS info here soon.

Two last things that I forgot to put in my post:
1. For some reason I can't shake the idea that the more players there are in a game, the harder the AI gets. I think I read this somewhere, but I dunno where, and I'm curious how this works, or if I'm just insane :P.
2. Are you planning on making the source-code public eventually? Obviously not any time soon, but at some point in the distant future?


-Pandemic
http://www.di.fm/wma/trance.asx
"Freedom is the ability to say 2 plus 2 makes 4. If that is granted, all else follows."  -George Orwell, 1984

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Random Questions
« Reply #5 on: July 09, 2009, 12:01:02 pm »
I didn't think about it before, but the fuzzy-logic part, the best move isn't always the best move, is weird, counter-intuative, but true :P.

Yep, it was one of those "aha" type things for me.

1. For some reason I can't shake the idea that the more players there are in a game, the harder the AI gets. I think I read this somewhere, but I dunno where, and I'm curious how this works, or if I'm just insane :P.

Yes, the game auto-balances itself based on the numbers of players.  Not that the AI gets smarter or something, but it treats it as equal-sized teams even though there are always only two AI players (so they get more ships, etc).  So playing against two level 7 AIs in single-player is roughly the same difficulty as playing against two level 7 AIs in eight-player. 

The only reason for having two separate AI players in the game is that it allows for more flexibility with mixing and matching AI styles, difficulties, etc.  So that's pretty different from basically every other RTS game. :)

2. Are you planning on making the source-code public eventually? Obviously not any time soon, but at some point in the distant future?

I hadn't really thought much about it, but that does sound like something I'd do, haha.  I tend to open-source anything from my work that I think will benefit other programmers, so long as it's not impinging on my ability to make a living in the meantime.  So I could see myself open-sourcing this at some point in the future, if AI War is past the point where it is generating any revenue, etc.  But no promises until that point is actually reached, haha, and hopefully that is several years out at the earliest.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Pandemic

  • Full Member Mark II
  • ***
  • Posts: 172
  • Location: Miniluv ftw!
Re: Random Questions
« Reply #6 on: July 09, 2009, 12:24:13 pm »
Oh ya, I was thinking a decade minimum :P.

One last question (for today, at least :P): Is this in C++, or C#? Your articles tend to lean towards C#, but I thought C++ was the norm for coding marketable games in... why are you using C#?


-Pandemic
http://www.di.fm/wma/trance.asx
"Freedom is the ability to say 2 plus 2 makes 4. If that is granted, all else follows."  -George Orwell, 1984

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Random Questions
« Reply #7 on: July 09, 2009, 12:29:31 pm »
One last question (for today, at least :P): Is this in C++, or C#? Your articles tend to lean towards C#, but I thought C++ was the norm for coding marketable games in... why are you using C#?

Yes, it's 100% C#.  And yes, C++ is the standard, but I am not a fan of the language.  I've been a C# programmer for 8 years now (among other staple languages for me -- TSQL, Javascript, etc).  C# is vastly more productive than C++, so that's part of why I'm able to succeed in a relatively short amount of time as a one-man dev team.  AI War wouldn't be arriving for another year or so if I was trying to do this in C++. :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Pandemic

  • Full Member Mark II
  • ***
  • Posts: 172
  • Location: Miniluv ftw!
Re: Random Questions
« Reply #8 on: July 09, 2009, 12:34:03 pm »
Interesting... so is C# really that much slower then C++? Inefficient is I guess a better word...


-Pandemic
http://www.di.fm/wma/trance.asx
"Freedom is the ability to say 2 plus 2 makes 4. If that is granted, all else follows."  -George Orwell, 1984

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Random Questions
« Reply #9 on: July 09, 2009, 12:44:54 pm »
Interesting... so is C# really that much slower then C++? Inefficient is I guess a better word...

In my opinion, not really.  The fact that AI War has some of the best AI in any RTS, as well as the highest unit counts of any RTS that I'm aware of, with full support for multiplayer and no slowdown from any of that on your average modern dual core computer... all of that says that people's assumptions are wrong about C# being a lot slower.  I wrote an article about how to handle optimization in C#, which is different from optimization in C++ (it's in the articles list).

And just today I actually noticed an article about SlimDX performance (which really is at core about managed/C# performance versus unmanaged code):  http://ventspace.wordpress.com/2009/06/30/slimdx-performance/

So in the case of SlimDX, there is about a 10% performance hit compared to just using raw DirectX in an unmanaged context.  However, that doesn't carry over to the non-DirectX parts of the game (AI, game logic, etc -- all of the "heavy lifting" portions of a simulation like this), which I am fairly certain are not significantly slower, if at all slower, than their unmanaged counterparts would be.  C# is JIT compiled to the needed machine code for your specific machine, in a way that makes it run faster than, say, Java does.

For me, any slight loss of efficiency was a fine trade for the increases in programming productivity and reduced development cycle time.  I think a lot of PC developers would be wise to consider this sort of thing, at the very least, but then again the skills for expert C# versus C++ development are more than a bit different.  So for a shop full of C++ programmers, getting them to all suddenly use C# is not going to bear good results (and those programmers would hate it).  But for people who like me are already used to writing highly scalable, large applications in C#, the idea of trying to switch and use C++ instead comes across as equally preposterous. :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Pandemic

  • Full Member Mark II
  • ***
  • Posts: 172
  • Location: Miniluv ftw!
Re: Random Questions
« Reply #10 on: July 09, 2009, 01:12:50 pm »
Ah, that makes sense.

I'm curious now that you mentioned Java though... I believe that C# is similiar to Java, right? But you said that it was more efficiant... is this because it doesn't run on a virtual machine?

...Not that I've completely deviated from my first post or anything :P.

Back more on-topic, what's the TS info? Can you link me to it? I've looked for a bit but can't seem to find it...


-Pandemic
http://www.di.fm/wma/trance.asx
"Freedom is the ability to say 2 plus 2 makes 4. If that is granted, all else follows."  -George Orwell, 1984

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Random Questions
« Reply #11 on: July 09, 2009, 02:03:49 pm »
I'm curious now that you mentioned Java though... I believe that C# is similiar to Java, right? But you said that it was more efficiant... is this because it doesn't run on a virtual machine?

...Not that I've completely deviated from my first post or anything :P.

Ha, no worries.  The .NET languages (C#, J#, VB.NET, managed C++, etc) and Java are similar in that they are all compiled to some sort of intermediary pseudo-machine-language.  In the case of the .NET languages, that means MSIL, in the case of Java that means Java bytecode.  So when you are in your IDE and you "compile" a Java or a C# application, that's what it is actually doing.  All of the .NET dlls or exes are in MSIL.

With Java, it then runs that bytecode in realtime, interpreting it as it goes and changing that into the relevant machine code for the platform it is presently on.  That's where the JIT compiling comes in for Java.  For C# and other .NET languages, when the application is started it goes through a precompilation process that converts a lot (all?) of the MSIL to the relevant native machine code before execution begins.  So then one it is actually running, that whole "interpret then execute" process that Java goes through is skipped, leading to faster execution (by a large margin, in some cases).  Of course, this also means that MSIL can't be generated and interpreted on the fly, as it can be with Java, but that's not something you can do with a language like C++, either.

Caveats:  All of that is from memory, and it's been a long time since I've done much with Java, so if there are some minor inaccuracies (or Java has started doing precompilation more recently), then someone just let me know.  But I haven't heard of anything like that changing with Java.

Back more on-topic, what's the TS info? Can you link me to it? I've looked for a bit but can't seem to find it...

Here's the thread:  http://arcengames.com/forums/index.php/topic,5.0.html
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Admiral

  • Hero Member
  • *****
  • Posts: 547
Re: Random Questions
« Reply #12 on: July 09, 2009, 02:41:42 pm »
I will vouch for this game's online community's highly friendly atmosphere and willingness to help.

I AM NOT FRIENDLY and I resent you implying such!!!

 :D

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Random Questions
« Reply #13 on: July 09, 2009, 02:44:35 pm »
At least not friendly to AIs, right? :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Pandemic

  • Full Member Mark II
  • ***
  • Posts: 172
  • Location: Miniluv ftw!
Re: Random Questions
« Reply #14 on: July 09, 2009, 02:45:51 pm »
I will vouch for this game's online community's highly friendly atmosphere and willingness to help.

I AM NOT FRIENDLY and I resent you implying such!!!

 :D
*gasp*!

So the community reveals its true self :o

I'll be sure to avoid you at all costs, in that case ;). While I'm avoiding you, feel up for trying to get together a coop game for sometime this week? ;D


-Pandemic
http://www.di.fm/wma/trance.asx
"Freedom is the ability to say 2 plus 2 makes 4. If that is granted, all else follows."  -George Orwell, 1984