|
||||||||||||||||||
Add Forum to Favorites | Send Topic To a Friend | View Forum FAQ | Track this topic |
Last Thread Next Thread ![]() |
| What Language Do I Use? |
|
![]() Helius Member since: 3/7/2000 From: Madrid, Spain |
||||
|
|
||||
| RollerCoaster Tycoon by Chris Sawyer is written entirely in assembler You can see here: http://www.chrissawyer.com/faq3.htm "Hoc Unum Scio: Me Nihil Scire." |
||||
|
||||
![]() cypherx Member since: 1/2/2005 |
||||
|
|
||||
| Python + pygame would be a good choice, no? http://www.pygame.org/ Easy to code, and speed isn't an issue for anything but 3D games. (which someone oughtn't try until they have more experience and learn multiple programming languages) -Alex |
||||
|
||||
![]() achacha Member since: 1/15/2004 |
||||
|
|
||||
| I have found that speed is too important in games to use anything but C/C++. 3D games used to need a lot of CPU power but with video cards doing a large bulk of the work the real CPU hog shines through: game AI and resource management, I can't see any professional game written in any non-compiled code. Python is a great language and I use it heavyly for scripts but I don't think I would write a game with it, even Java can fall short despite JITs. I am always looking for ways to write routined in assembly language that are time consuming. I am not saying you should not use python or any other interpreted language, you can, it just won't work for many types of games. While you can write a small MUD in python that is about the complexity you would expect. You can always write the time intesive parts in C++ and call them via python, that would work too, but why not just start with C++? |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| The article about language choices describes portability in the wrong order - surely C is the most portable language - really there is no contest. C++ is a close second. Some preaches that Java is platform independent. That is a myth. The java virtual machine, libraries etc. (the stuff you need to run a compiled Java app), consitutes a myriad of ever changing platforms. Of course the bytecode is standard, but not the run time environment. DJ -- |
||||
|
||||
![]() Shiny Member since: 12/29/2005 From: Hobart, Australia |
||||
|
|
||||
| Must have been a while since the article was authored...the ability to use Direct-X in managed languages under the CLR like C# and VB has definitely added a new direction for developers. ~Shiny |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| Gambas... Visual Basic like, but for Linux and free! "Well, Gambas is a free development environment based on a Basic interpreter with object extensions, like Visual Basic™ (but it is NOT a clone !)." From: http://gambas.sourceforge.net/ This "interpreter" has come a long way and is still making good progress, and considering it is like VB, Gambas could be of interest to VB developers... Gambas should be avaible for windows in the future. I am still trying to learn to program myself... all I know is Qbasic, and basicaly have never manage anything aside from a couple of old QBasic tutorials on games... loosing interest fast... I guess the Univesity cource took it too lightly and since it is a dead language there is no interest in it... Now VB and Gambas on the other hand are good starters for some... and I am interested in Gambas since all I use is Linux... Saying that... maybe the article should have a section acoding to platforms, Linux, Mac, BSD, and windows... so that if we are interested in any other platform we can know what posible tools they might have, asides from the cross platforms ones (C, C++...) ... for the fun of information you know... Also... There are loots of tutorials online... and... it is hard to find good ones (retard friendly) at times... It would be nice if the forum user would post about the ones that help them the most along with short descriptions on what said tutoria/resource covered and for what platform, along with its link... Just felt some of you would like to know about this... ----------------------------- Frustrated game developer. -iMoron |
||||
|
||||
![]() Cocalus Member since: 6/15/2002 From: USA |
||||
|
|
||||
| The OP was 2/21/2001 6:50:37 AM and the article was 1/6/2000. Needless to say the info is a bit dated. I also forget gamedev's stance on bring back very old threads. |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| I'd like to add one thing to your list that I feel is notable in it's absence. Pascal has been updated and is released under open-source as free pascal. Lazarus is another open-source project coded in free pascal that adds a 'delphi-like' interface and graphical toolset to this language. I learned Delphi back in version 3-4. It's amazingly close language-wise; some of the features aren't 100% yet, but it's open source and free. (My boss liked this last part. ;) ) Further, it's platform independant as long as you stick to the core language and graphical toolset. Windoze-specific APIs obviously won't run on linux, but many of the os-level functions are cross-platform. I learned about this language about a month ago and have just finished a relatively major business application using it. The binaries that are produced are quite large, but run quickly. I've not coded any games (in this or any other language), so I'm not certain how well it lends itself to this application, but for what I used it for, it was ideal. I'd like to learn how to code games and eventually develop a Gauntlet-like game that incorporates advanced RPG aspects like a world with quests, developable characters, and so on - this is how I discovered your article originally. I read the article at: http://www.gamedev.net/reference/articles/article895.asp and was linked to this thread. I tried e-mailing John directly, but the mail bounced. The main advantage of pascal over C/C++ is syntax. There are just too many BS operators and cryptic syntactical requirements in C for my taste, whereas pascal has basically the same functionality and implements things in similar ways, but has a much more coder-friendly syntax. (Use var when declaring a function to pass by reference for example. It indicates that the changes to the variable will be passed back to the calling function - why does the programmer, especially if entry-level, need to know about passing by reference or by value, much less indicate such by using cryptic syntax? Just my opinion though. :) I know that I'm much more productive in pascal than C, but then again I am used to pascal. I'm lucky in that I can choose the language I use at my workplace - so far, I've used about half a dozen different languages on Linux, Windoze, and Mac in different circumstances. |
||||
|
||||
![]() WILL at RedAnt Member since: 3/10/2003 From: Canada |
||||
|
|
||||
| Yeah, that article must have been REAL old. lol Pascal & Object Pascal are booming languages these days. I can name off a handful of active compilers both opensource and commercial that support numerious platforms. Free Pascal is top dog and is really starting give GCC a run for it's money on platform availability. (Read Win64 support!) It's speed and code optimizations are pretty darn good too. Oh and lets not forget that it now has it's own internal Lazarus has come a really long way! It is now available on Win32, Linux and MacOS X, has support from a ton of libraries(including Indy) for just about any major graphics and sound API available. It does lack some support from it's LCL (the IDE's version of Delphi's VCL), but that'll come in time. Chrome is a Visual Studio plugin for making .NET and Mono applications in Object Pascal. There is even a native Mono port of the commandline compiler. PocketStudio is a small commercial IDE and compiler for creating PalmOS programs in Pascal. Palm & Pascal Compiler (aka PP Compiler) is a free/closed source compiler for PalmOS. Might be hard to make out a lot of the docs though, unless you speak French. mikroPascal if your into programming PIC micro-controllers. And of course, lets not forget Delphi, which still remains as a Win32 and .NET compiler/IDE suite, but who knows what will happen with that once the new company is formed. I'm not a big fan of GNU Pascal so I'm not even going to mention it. :P For those of you that want to try your had at making games in Object Pascal, the place to go would be www.PascalGameDevelopment.com! It is the hub of the Pascal game developer community. Forum, news, articles, links, competitions and a huge Library of references to information that you might need. Don't listen to all the anti-Pascal hype, come check us out for yourself! We just completed our 2nd PGD Annual competition which lasted about 4 months and the results are pretty darn good. Come see what Pascal can really do! ;) |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| About the assembly language.. it's not always faster.. just because you can code assembly, that doesn't mean you're smarter than a good compiler ;) |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| Anyone tried the .NET platform? I started with VB6 a long time ago and at a point switched to VB.Net (VB8 that is). I am impressed, small, fast (oh yeah!) apps, very portable. I also like C# (something like C.Net). Developed by Microsoft and free forever if you download them until - umm - November this year i think. Legally of course. Free alternatives 100% compatible and for other OS available. Try it. |
||||
|
||||
![]() CTar Member since: 3/20/2005 From: Farum, Denmark |
||||
|
|
||||
Quote: Yes, it's very popular for business applications. Quote: No, VB.Net is a language, seperate from Visual Basic, but as you can see the syntax is pretty much the same. Also it isn't called VB8, that's just the number of Microsoft's IDE. Quote:You are thinking of the IDE again, the language itself is just a standard. Also the IDE is now free forever, and you can download it forever (well they might take it down when the next IDE version becomes available). |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| I think the performance gain through C/C++ is greatly overrated, especially if you consider the cost of the *much* longer development time you have with it than with easier languages as python. Python for example has some tricks to gain enough speed to come very near to C++ (search for psyco and pyrex). And your code will be much easier to maintain and (especially if you would learn c++ along with the project) more stable. And if you really get in trouble with performance you can still easily move parts to C or C++ and use them from withen python. Addional advantage is that you have scripting available at no additional cost. I agree with will here: There is really a lot of hype for C++ and against a lot of other languages that are better in most cases. Just see you give a few things a try (or at least a look) before following the horde of lemmings that just dont want to see the alternatives! |
||||
|
||||
All times are ET (US)![]() |
Last Thread Next Thread ![]() |
|