Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the format Name#Password
Comment
[i]Italic Text[/i]
[b]Bold Text[/b]
[spoiler]Spoiler Text[/spoiler]
>Highlight/Quote Text
[pre]Preformatted & Monospace Text[/pre]
[super]Superset Text[/super]
[sub]Subset Text[/sub]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


Started learning C++ last night

Reply
- Sun, 12 Jun 2016 11:22:20 EST 0C4Q05Ui No.35733
File: 1465744940440.png -(36106B / 35.26KB, 512x512) Thumbnail displayed, click image for full size. Started learning C++ last night
Today is my birthday. By my birthday 10 years from now, I want to have made and released an RPG in the vein of Ultima. Any tips for a beginning programmer? I've been using learncpp.com, as someone recommended it to me.
>>
Ernest Hanningworth - Sun, 12 Jun 2016 13:10:31 EST Ya9kk3su No.35735 Reply
hackerrank.com has tons of exercises completable in a handful of languages (C++ included), as well as contests and rankings based on completion and performance. Many of the sections are suitable for a beginner and you get points awarded for each exercise completion. I find that having a reward system is great for learning.
>>
Hamilton Trotwater - Sun, 12 Jun 2016 17:10:50 EST 168stH9b No.35736 Reply
>Any tips for a beginning programmer?

Don't have a ten year goal. Try ten days.
>>
Cyril Cluvingpock - Sun, 12 Jun 2016 19:34:47 EST 9QSfnS0r No.35737 Reply
>>35736
I agree with this.

Also try this, I highly recommend their app.
http://www.sololearn.com/Course/CPlusPlus/


Keep in mind that you almost never use C++ alone unless you are testing algorithms, so if you want to write a game you should find out which libraries to use, SMFL might be a good start for game development or unity.
Also if you write C++ for native windows applications you are insane (Seriously use C#) the same goes for writing everything in C++.
Not because you can't do it, but because in C++ you have no sense of which kind of programming paradigm you should use with it if you haven't have already somewhat proficiency in another language.
>>
John Sandleforth - Wed, 15 Jun 2016 20:15:44 EST 0QLA4uop No.35743 Reply
>>35733
>>35737
plus, with C#, you have access to XNA and Unity 3D (among at lot of other stuff), something to look into for your RPG, OP

If you really, really need to ever program your own game engine, 2D game engines are pretty simple to make, plus you can quickly make dummy gfx in paint.
3D engines are much more difficult, in that case you'd need to learn to use DirectX or OpenGL to enable your GPU to draw 3D models with textures, etc. Then you'd have to learn shader language in order to make it look passable.

OP, start small, start simple. Start off with something like c# or java.
Start with small commandline programs that show off simple math, then make them usable with more input (eg. from a file or database). Then take on simple GUI stuff.
after that, you might be able to make small games... mostly 2D shmups and such....

so basically:
  1. learn a simple programming language and get comfortable with its syntax
  2. create your own Action 52

then you can expand to other languages, try to make more complicated games and EVENTUALLY IF AT ALL create the game of your dreams
>>
Andrea Huffingcrack - Sun, 10 Jul 2016 10:54:07 EST tX+MofFf No.35834 Reply
1468162447738.png -(58702B / 57.33KB, 650x200) Thumbnail displayed, click image for full size.
I second what everyone is saying here. You should definitely LEARN c++ but it shouldn't be your go-to language for making a game. Java or C# will serve you well, as they are basically both the exact same language.
(I said BASICALLY you fucking nerds, don't freak out)

A good case can be made for each language:
> C# is the language used in unity.
right off the bat you have access to a comprehensive fairly easy to use engine with universal platform support.
>Java has an api for everything you can imagine
You'll have to put together your own engine, but you can build it out of parts from a ton of other libraries. It's harder but will give you more direct control than with unity.

As for when you are just starting, the best way to learn for me was to dive in head first. Don't just sit back and watch tutorials until you ''feel ready''. Come up with projects that are small but challenging.

You might want to invest in a beginner's book for OOP. A lot of tutorials are in a rush to get to the ''cool stuff'' and they often completely ignore essential basics. (i.e. parameters, Static methods etc.)

Coding is actually quite simple if you ''get it'' (design is what's hard). It shouldn't take your more then 3 years to get to a point where you're beyond capable of programming something like ultima, and only another year or two to actually make it.

The visuals and audio are the real challenge when it comes to making a game. Game logic itself is very simple. When it comes to rpg's these are some challenging bits of code you'll want to prepare for:
> Reading save-game files (writing them is the easy part)
> Scripting for quests and dialogue
> Creating the ruleset (this includes defining enemy stats, loot tables etc)
> managing items

If you were to go the C# route and use unity, most of your development would be writing text or xml files, not actual code. Unity has already taken care of most of the hard stuff.

I hope things go well for you, and if you want to do things open source / GNU, drop it on a git repository. There's lots of us out here who would love to collaborate on games.

Oh, and the most important advice for learning programming:
>Fail Faster.
Don't be afraid of making mistakes, make all the mistakes you can. Don't get overly attached to your early projects, treat them like a learning experience not your magnum opus.

GL-HF op.

Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.