Skip to content

How do I learn coding?

I am really passionate about creating games. Mostly 2d ones since these are the ones I enjoy the most. However, unity requires a lot of coding and programing. Is there an easy way a beginner like me can learn how to code? (I don't really care if it takes time to learn or not, I just want something that can provide me the knowledge I need effectively) please don't suggest watching youtube videos :/

12 points15 comments
Open on Reddit
About this post
Posted
Archived
Score
12 · 77% up
Kind
Text
ID
1d6cmvu

Author

1
posts
2
comments
0
media
View profile

17 comments

Everyone is passionate about coding games until they have to learn debugging, source control, asset management, project layout, etc.

I'd start small, don't even make a game, make a calculator or a to-do app or any of the other tried and true intro to programming projects. Learning to code with games is simply a recipe for burn out. This may seem harsh but it's the reality, you simply don't know right now how much information there is to digest. You have to learn an entirely foreign way of thinking that prevents most of the population from doing intro programming. So just do small projects until you are comfortable using the development environment, importing packages, compiling and debugging. At that point you can probably get pretty far with unity tutorials.

Good luck.

16 points

Most people are passionate about the idea of having made their own game, but they aren't really passionate about the process of creating games because they haven't done any of that yet, so they wouldn't know. That's just it, though. If you find that you ARE passionate about that process and all of its nitty gritty details, congrats. You're a game developer.

6 points

Take Harvard's free online cs50x introduction to computer science. It's a go-at-your-own-pace 12 week/lecture course that will get you to think like a programmer. Can't recommend it enough.

7 points

I'm a programmer with almost 10 years of experience, started out with the exact same passion for creating something fun or interesting. In my opinion the best way to learn how to program is to start programming. Practice backed by theory and lessons on the internet is the best way.

2 points

RPG Maker. You can learn general Game Development and Game Design with it and if you need specific things that would require Programming you can look at Tutorials and the principles behind it.

Programming is implementing Features but If you don't understand the Game Design behind it and try to Programm it first you are doing the entire thing Backwards which gets mentioned almost never.

Its like giving you a Hammer, Nales and Wood and say build a Wood House without ever giving you a blueprint and telling you why its build that way. That is the Programming First and Game Design later approach which I dislike greatly.

2 points

Why don’t suggest YouTube videos? YouTube is great and can teach you so much for free!

2 points

Do stuff, small stuff but just jump into it.

The best skill to learn in coding is how to Google well (especially in unity), so jump into something that doesn't seem that hard, break it down step by step then learn how to do each step.

Personally I started by making a hangman game, so you need a way to input something, you need to display something (I was lazy so mine was text based), and you need a loop of "ask for input, check if input in word, react accordingly"

I googled the basic of each step and made them work together (google as little as possible, only when you don't know at all how to do something)

At first you won't do things properly, but you learn with time

Btw, I advise doing a few things in python (cause it's simple) on the side before jumping in unity

PS: while chatgpt and the likes are amazing coding assistants, I'd advise staying away from them for as long as possible, they won't help you learn the basics and you won't be able to correct them when they eventually fail

1 points

Learning by doing. Just start with a good Engine of your choice und try some small projects with some help of youtube tuts. I also started 4 years ago with ue4. What's I've learned the past years is unbelievable und I'm still learning so much more. It makes really fun when you know what you're doing. So just start an choose you're engine wisely 😉

1 points

Just start doing! I learned to code with the help of ChatGPT a year ago (and YouTube videos, even though you don’t what to know that😊) and now publishing my Unity game. It takes determination and time but you can do it!

1 points

Oh and start with a project you’re passionate about, that helps keep up the motivation! Even if it’s a bigger project. 💪🏼 Don’t do a calculator.. unless you’re into that 🤷🏻‍♀️

1 points

I like you , you seem passionate about coding and creating your game , keep going . 🫶

0 points

Thanks. Do you have any suggestions or advice in general regarding my question?

2 points

Your direct nature and reiteration of your question is a real turn-on. If you keep it up, you’ll rule the world, and I love that. Keep going, and you’ll truly be loved by all. 🔥❤️

0 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.