|
Hello there,
I've recently begun programming a bit(as a hobby, or a way to pass time ), most of this has been in actionscript(Flash). I've been reading quite a few tutorials on C++, perl and python too, though all of the tutorials I find on these languages are pretty generic. I.e. they mostly go "what's an array" "how we use variables" etc. I'd however like to create some scripts/programs with C++/perl/python, but I have literally no clue how to go about that, as the most advanced thing I can do is algebra . Does anyone know where I could find tutorials on making an advanced script/game/program?
Also, I was wondering, are any games produced in any of these languages? I know you can program in 3D in flash, so I assume these languages are a ton better at that too? I have a really shifty understanding of what languages are used for what, but I'd really like to learn more about it
Thanks in advance for any posts/help!
P.S. if you remember me and wonder: + Show Spoiler +no, I'm not dead yet(and no, I still haven't found a solution ).
|
Afaik, almost all games are written in C++.
|
I read "progaming question"
|
Russian Federation4235 Posts
C++ is for games, but you will need a lot of knowledge that is not directly related to algorythms.
Just programming in C++ is not enough. You need to know a lot of standard class libraries, how they function etc. While you could probably do a game engine from scratch, as soon as you touch graphics and sound, get ready to delve into tons of prewritten content.
If you're seriously into making a game, start with something simple (like tic-tac-toe or 2-player chess) and get ready to spend tons of time working it out. I strongy advise writing a design document first. Figure out whatever stuff should be in your game, how it should function algorythm-wise etc. Once you've got it done, figure out the class structure for your game (do you need open ends?) and only then start coding.
|
get a good/easy game/graphics/sound engine with many examples and play around a bit... its really fun... the language really doesnt matter in the beginning and when you have some experience you will have no problem switching to a different language.
my favourite language is C (without ++): easy, low-level but: the language will not help you to avoid a big design-mess or errors like overflows
|
|
Belgium9942 Posts
it seems as if you dont even know the principles of object oriented programming, look into that. Search for 'object oriented c++' or something on google.
|
Korea (South)17174 Posts
you didnt kill yourself???
|
Teach yourself c++ in 21 days: http://newdata.box.sk/bx/c/ (might be too basic for you)
Afterwards you really should be able to handle things yourself, and will know what to search for on google, if you need additional information.
If you want to get into graphical design, I can really recommend Qt from Trolltech which provides a great interface (I'm not sure how well it is integrated into Windows, since it is mainly developed for linux, but it is supposed to work). http://trolltech.com/products/qt
|
in my opinion the object oriented crap isn't really useful in the beginning... it helps to keep track of big projects but in the beginning you have to learn to think the way the computer thinks. all you need as a start ist: 1 let the engine initialize some things 2 load some objects 3 a small main loop with user input handling.
get a really easy language and just start. if you want to start in 3d get an easy engine and try to write a shooter without enimies
|
Thanks a lot for the responses, this sounds really cool I think I could probably create a "game" in C++ already, but I'm sort of limited since when I create a program and run it with my compiler, all I get is input/output in CMD, which is kinda bland(I'd like to have it show at least a picture, or some graphic elements)! I have created a game in flash already, but that's a hell of a lot more simple than C++ ^^
Do you guys know where I might find such a game engine or a tutorial I could learn from? Thanks again
edit: well I don't know RaGe, I think I know the basics of it! Though I'm by no means saying I'm good.. Thanks Silence! I'll definitely check that out.
|
|
Cool, I'll check that out right now! ^^ Thanks a lot, I really appreciate it.
|
If you want to get into game making, you first have to figure out how your game will work. Prototype your game in something that requires minimal programming, such as gamemaker. That way you can concentrate on your ideas rather than the implementation, and then once you have a working prototype, use a simple generic game library such as pygame to rewrite your game with greater control over how it works. Once you have all that code, it won't take you long to convert into c++ or d for performance, if you really want to get serious about the game. The least efficient thing to do is to plunge into a complicated language you you're not familiar with without a completed game plan, because it will take you a really long time to design and program even simple things, by which time you'll forget the other ideas you had, and it can be very demoralizing if you get one of those really small bugs that are very difficult to find but screw up your code.
|
Belgium6755 Posts
Whoa a lot of us thought u were gone :O Glad to see you're still with us
TLnet = salvation!
|
|
|
|