• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
greenthingsjump

Progamming for beginners

14 posts in this topic

Hello!

First let me say I have ZERO programming experience. However, I love playing video games. I am not good at math but enjoy the challenge. I like the order and definitve set of rules that programing seems to have. I will learn C++ but that is not what I want to start with. I was looking for a language that would go well with C++, but is easy to learn and works well with it. After I pick the langugae and learn then I will worry about 2D vs 3D games and the engines for it... On to the questions..!

1. What would be a good language that fits the above critirea?
2. Which would be easier for beginners 2d or 3d games?
3. Is it wise to go the "easy route" first?
4. Im attracted to python because I like snakes, weird I know... Would this be a good choice, why (or) why not?
0

Share this post


Link to post
Share on other sites
Thanks!

Im new and know I want to get into game programming. I have no Idea where to start. Everyone says C++ Is the way to go... for games. I would was thinking of doing 2d games for now just to get a good understanding of how to develop them. Then later move on to something more advanced. I will be reading in depth on python and lua now. Thanks!
0

Share this post


Link to post
Share on other sites
[quote name='greenthingsjump' timestamp='1349612353' post='4987657']
Thanks!

Im new and know I want to get into game programming. I have no Idea where to start. Everyone says C++ Is the way to go... for games. I would was thinking of doing 2d games for now just to get a good understanding of how to develop them. Then later move on to something more advanced. I will be reading in depth on python and lua now. Thanks!
[/quote]

C++ is the industry standard for games so a lot of people suggest it, but it's a horrible starting point for a beginner looking to make their own games.

I back the python recommendation.
1

Share this post


Link to post
Share on other sites
Another vote for Python, and another chance for me to push [url="http://www.youtube.com/playlist?list=PLDFB7FFF90EE6F0C1"]my Python 3 video tutorial series[/url].
2

Share this post


Link to post
Share on other sites
Ok, I hear this a lot. What exactly is "HARD" about C++ ?? It is unfair since I've been programming since '88, and the only language around was either C or assembly (or BASIC). But why disuade people from any language? C++ isn't any "harder" than any other object oriented language out there. If by "hard" you mean all the crashes you get from undisciplined pointer use, then I would say better to do it now while you're learning than at your first job.

So my actual question is: Why is C++ considered hard?
2

Share this post


Link to post
Share on other sites
[quote name='ELawson' timestamp='1349788654' post='4988330']
So my actual question is: Why is C++ considered hard?
[/quote]

Difficulty is subjective, as jbadams pointed out, but I personally don't consider C++ "hard".

It's tedious, because manual memory management is tedious, and that's why I usually recommend a higher-level language as a starting point.
0

Share this post


Link to post
Share on other sites
[quote name='jbadams' timestamp='1349790330' post='4988340']
Difficulty is to a certain degree subjective, but I personally think there are a couple of reasons C++ is (or can be) hard:
[/quote]

Difficulty is, complexity isn't.
C++ is a complex language. Needlessly complex in many ways. Complexity is a direct contributor to difficulty.

To the OP, I would recommend [url="http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx"]reading this[/url], it's my standard and incredibly long answer to this question. But it should get you much further along then you are now if you read it.

Since I wrote that guide, I have been working more and more with Lua, and I am quickly coming to the conclusion that Lua is actually the perfect starting point for any new developer. It is just a wonderfully concise but remarkably expressive programming language. An experienced developer can learn the basics in a weekend, but then write 95% of a complete game in it, perhaps even 100%.

My only real beef with Lua are
a- defaulting to global
b- indexing arrays from 1

Those flaws aside, it really might be the perfect starting language. It is faster and easier then Python, far easier than C++ or C#/Java, etc... Is commonly used as a embedded scripting language, and has a few wonderful libraries to get started with.
0

Share this post


Link to post
Share on other sites
[quote name='GeneralQuery' timestamp='1349798324' post='4988393']
[quote name='ELawson' timestamp='1349788654' post='4988330'][/quote]
If you're learning to drive, the mechanics of actually driving the car is but a minor point, the rest is about learning road awareness, the highway code, learning how to read and anticipate situations and generally learning to be a safe, competent driver. Learning to drive in, say, a Porsche 911 adds an unnecessary layer of complexity and potential for danger so instead people learn to drive in cars that are far more forgiving. Same goes for programming. Any unnecessary layers of complexity and potential for danger only hinder the learning process, beginners have enough on their plate as it is.
[/quote]

This analogy doesn't quite go far enough. At the end of the day, driving a Porsche 911 in the city is really not that different from driving a Ford Focus. Also, the performance difference between languages isn't so deep either.

I would think a more apt comparison would be a Bugatti Veyron to a Formula One car. Both have comparable performance characteristic, but in a certain niche, in the right properly trained hands, the Formula One car will be superior. In other regards, and in ease of use, the Veyron will be superior. But at the end of the day, the Formula One car requires a hell of a lot more knowledge, special treatment and is just generally more of a pain in the ass to operate. On the flipside, you throw a formula one driver ( or C++ programmer ) at any other car ( language) they will do a pretty passable job with it.

Except LISP. Edited by Serapth
1

Share this post


Link to post
Share on other sites
[b]Goran, Serapth: [/b]Great points, I'd definitely agree. C++ is more [i]complicated[/i] and [i]tedious[/i] than it is [i]hard[/i].
1

Share this post


Link to post
Share on other sites
I did python as a first programming language. I do not recommend it. It will teach you many bad habits. Your best bet to get something that works some what close to c++ is java or c#. Java is more cross platform than c#. C# is a microsoft language, though there is a open source port of it called mono, this however is going to be similar to a much older version of c# 2.0 I believe.

Both languages have a C style syntax so you will feel rather comfortable going from either to c++. Python has a rather nasty syntax in my opinion. It makes a decent scripting language though.

I would say choose c# if you plan on only programming microsoft oses. Choose java if you're doing cross platform or working on linux.

The microsoft Visual studio IDE for c# is very good. This is why I suggest c# over java on microsoft oses. Also msdn is a really good place for documentation which you should get used to reading in a hurry.

Move up to c++ when you have made some fully functional and usable applications in your beginning language.

If your serious about programming. I suggest visiting 3dbuzz.com and checking out their videos for the live C# classes they did, for 35$ a month you get access to all of them via streaming of the recorded video, it's a college level education for 35 freaking dollars. I was there and participated live, they are really good. They also did c++ classes. They're building a new website and then they are going to come out with all kinds of new stuff, like iOS and andriod programming classes, more c# and c++ classes too. Edited by EddieV223
0

Share this post


Link to post
Share on other sites
[quote name='EddieV223' timestamp='1349841678' post='4988600']
I did python as a first programming language. I do not recommend it. It will teach you many bad habits.
[/quote]
What bad habits do you think you learned from Python? Obviously it's not going to teach you the curly-braces style syntax found in languages such as C/C++/C#/Java and you'll need to learn the syntax and adjust to the particular idioms if later changing to any of those languages, but I don't see any reason Python should impart [i]bad habits[/i].

In addition, beginners (and even more experienced programmers) can benefit from the interactive shell which allows you to try out and see the results of single lines of code without having to go through a laborious compilation process. This becomes less beneficial when writing larger pieces of code, but is an absolute god-send when a beginner is trying to learn the basics and can easily try out code for themselves.

[quote name='EddieV223' timestamp='1349841678' post='4988600']
Python has a rather nasty syntax in my opinion.
[/quote]
To each their own -- and this really is just personal preference on both our parts -- but just to represent an opposing point of view I personally find the syntax of Python very pleasing. In particular, because indentation has meaning, poor or inconsistent formatting of code seems to be far less commonplace, and with only a small amount of experience Python code listings can often be read just as clearly as pseudo-code.
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0