GPWiki.org
GPWiki.org
It is currently Thu Jun 20, 2013 11:53 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Help!!!
PostPosted: Sun Jul 31, 2011 5:25 pm 
Novice

Joined: Sun Jul 31, 2011 5:14 pm
Posts: 6
i am making a real time strategy game and need help to find what language would be best for these features :\
-economy
-build/destroy
-buildings
-defend your city from invaders
-traits of people or professions (knight, worker, archer, kind and so on)
-kind of like stronghold crusader


Top
 Profile  
 
 Post subject: Re: Help!!!
PostPosted: Mon Aug 01, 2011 8:44 am 
Harmlessness does no harm
User avatar

Joined: Tue Sep 14, 2004 8:37 pm
Posts: 3858
Location: Ferriday, LA, US
That's a really difficult question to answer. Many languages are suited to this type of project.

Taking a step back, how much experience do you have programming in any language? What language(s) do you know, and how long have you been using them?

_________________
What most people don't understand about "enlightenment" is that it is not an end-goal; but where you find yourself just before taking a new "first step."


Top
 Profile  
 
 Post subject: Re: Help!!!
PostPosted: Mon Aug 01, 2011 3:00 pm 
im not very experienced but i have writen in javascript before for a program called unity but any which would work with the project would be fine


Top
  
 
 Post subject: Re: Help!!!
PostPosted: Mon Aug 01, 2011 3:02 pm 
Novice

Joined: Sun Jul 31, 2011 5:14 pm
Posts: 6
sorry im the guest i forgot to login


Top
 Profile  
 
 Post subject: Re: Help!!!
PostPosted: Mon Aug 01, 2011 4:23 pm 
Harmlessness does no harm
User avatar

Joined: Tue Sep 14, 2004 8:37 pm
Posts: 3858
Location: Ferriday, LA, US
Well, you could do this with JavaScript (especially now that the HTML5 Canvas element is now supported in the slow-as-a-slug dinosaur of a browser we know as Internet Explorer).

What are your goals for your project? Do you want to sell it? Do you want to run it in a Web browser, or as a standalone app?

If you want to sell it, then C or C++ would be your best bets. They create standalone apps, and can be ported (relatively) easily to many different platforms.

If you want to run it in a Web browser, use JavaScript, Java, or ActionScript.

Really, just about any language can handle the task -- it's more about personal preferences. There is no "best" language for creating an RTS game.

_________________
What most people don't understand about "enlightenment" is that it is not an end-goal; but where you find yourself just before taking a new "first step."


Top
 Profile  
 
 Post subject: Re: Help!!!
PostPosted: Tue Aug 02, 2011 7:51 am 
Novice

Joined: Sun Jul 31, 2011 5:14 pm
Posts: 6
could you recommend a good and easy compiler to use i tried dev c++ but it didn't work when i tried to compile a script


Top
 Profile  
 
 Post subject: Re: Help!!!
PostPosted: Tue Aug 02, 2011 8:24 am 
Harmlessness does no harm
User avatar

Joined: Tue Sep 14, 2004 8:37 pm
Posts: 3858
Location: Ferriday, LA, US
When you say you used Dev-C++ to compile a script, do you mean you tried to compile a JavaScript script? That wouldn't work (Dev-C++ compiles C and C++ code... and JavaScript isn't a compiled language).

There are really only two flavors of compiler these days -- the GNU flavor and the Microsoft flavor (there are a couple others, but mostly these two are the ones to use). That said, there is no compiler more "easy" to use than another... they just take the same C or C++ code and turn it into binary. So, if you got errors compiling C or C++, it's the code you put in that has errors, it's not the compiler's fault.

You can download Visual Studio Express for free from Microsoft (it's a really large download, so be warned). It will work with C++, C#, VB.Net, and a few other languages if memory serves. There are other non-Microsoft compiler + IDE suites available on the Web such as NetBeans, CodeBlocks, and so on.

_________________
What most people don't understand about "enlightenment" is that it is not an end-goal; but where you find yourself just before taking a new "first step."


Top
 Profile  
 
 Post subject: Re: Help!!!
PostPosted: Tue Aug 02, 2011 10:08 am 
Novice

Joined: Sun Jul 31, 2011 5:14 pm
Posts: 6
no i tried to compile a c++ and would notepad++ work for creating a java game


Top
 Profile  
 
 Post subject: Re: Help!!!
PostPosted: Tue Aug 02, 2011 11:01 am 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6756
Location: Oxford, Englandshire
I could use a text editor for Java, but you'd be better using something like Eclipse or NetBeans. They're free and will help you out more than a text editor.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
 Post subject: Re: Help!!!
PostPosted: Tue Aug 02, 2011 12:50 pm 
Harmlessness does no harm
User avatar

Joined: Tue Sep 14, 2004 8:37 pm
Posts: 3858
Location: Ferriday, LA, US
Also, Notepad++ won't compile Java code. You'll need to have the Java Development Kit, and use its compiler after saving the code file in Notepad++. If you want to code Java, NetBeans would probably be the nicest editor you can find for that (and it's free, of course).

_________________
What most people don't understand about "enlightenment" is that it is not an end-goal; but where you find yourself just before taking a new "first step."


Top
 Profile  
 
 Post subject: Re: Help!!!
PostPosted: Tue Aug 02, 2011 1:00 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6756
Location: Oxford, Englandshire
theraje wrote:
Also, Notepad++ won't compile Java code. You'll need to have the Java Development Kit, and use its compiler after saving the code file in Notepad++.


Ah yes. I should have probably made that clear. :doh

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group