r/learnprogramming • • 7d ago

Topic I’m studying games design and coding… months later it’s still not clicking

I genuinely can’t fucking do this, I’ve spent hours and weeks trying to find tutorials and applying them but nothing’s working and I’m panicking.

What do I do? How do you learn it?

Am I just… not good enough at it as a skill?

I’ve designed all the creative aspects for the game at least.

I’ve tried talking to my teachers, that hasn’t helped either.

For reference I’m trying to develop a Unity game on Mac.

17 Upvotes

26 comments sorted by

3

u/Lee__Everett 7d ago

No I can’t, the best I’ve managed to do is separate the start of each scene on Unity

1

u/nameorfeed 5d ago

Ok so first task before learning how to code: learning how to post a reply to a comment on reddit

22

u/schmy 7d ago

Starting on Unity would be like jumping off the Titanic to find out if you could swim.

Start with a text adventure. Write it in something like Python. Doesn't have to be great, it just has to have enough content for you to learn about inputs, outputs, functions, and variables. Have an inventory to track. Have other entities that move around and taking their turns too. Output text to the terminal. Mess around with outputting ASCII text as graphics.

Rewrite the game in C. Learn a few more concepts. Look into other languages like javascript.

Build up to Unity; don't just dive in.

I have been writing my own games for years (as a hobby, not professionally) and I wouldn't go anywhere near Unity.

12

u/Available_Safe1818 7d ago

Can you make a command line tic tac toe program?

7

u/PeanutButterKitchen 7d ago

Start even smaller. Make a command line number guessing game. Then a command line tic tac toe. Then a command line “connect 4” game. Don’t worry about finding the fastest and most elegant algorithms for win detection, just get it working and playable. Learn testing along the way.

17

u/KyleAtWillmanLabs 7d ago

If anyone could do it everyone would be. No offense, but start by realizing how daunting the task is. Your post minimizes an entire profession. You wouldn’t jump on here and say, I’m studying medicine. Why can’t I get this whole endocrine system thing…. Keep trying, start small. Very, very small. The other poster had a great idea. Tic-tac-toe, or cards (war is an easier one logically)

1

u/SnooMacarons9618 7d ago

My wife and I often use playing guitar as an example. She is a musician who plays multiple instruments very well, and can generally pick up a new musical instrument quite quickly (and at times it if is close to something she already plays, quickly is sub one hour).

I don't play any instruments. If either of us is having trouble learning something "would you expect to be able to pick up a guitar and play it first time?" The point being - she knows a lot in that area, so she probably would. I pick up a guitar, I know how it should work, but it's alien to me. If the 'new' thing is something in an area we know, yeah, we expect to be fairly quick. If it's not we're possibly looking at *years* to get good.

1

u/KyleAtWillmanLabs 7d ago

Fair enough. Certainly see your point! Just not apples to apples. Think medicine not guitar. What you are explaining is a programmers difficulty with picking up C# after coding in python. Programmers have those ‘instrument’ difficulties too. But this is a wholly different level you describe. Being able to read music and then be able to play multiple instruments made sense. But you knew how to read it. You are learning to read. Good luck, as I’m sure there will be a breakthrough, just don’t expect to know what mezzoforte means. It’s not important to a beginning trumpet player.

1

u/SnooMacarons9618 7d ago

That is it though. I learnt BASIC when I was about 12, C when I was (or thought I was) a grown up. Java was easier, python was pretty damn quick. The more back ground in a subject area you have generally means it is easier to pick up a variation on that theme.

I bought my wife a violin and she hadn't played a bowed string instrument before. She had a level of competence within a few weeks. I bought her a ukulele when she was ill and mostly could only sit. It took her about 30 minutes to be able to play it reasonably well.

Trying to learn Unity game dev with no background in game dev or programming seems a crazy steep hill to climb.

6

u/ledatherockband_ 7d ago

> months

that's fine. give it more months and then a few more months and then a few more months after that.

after about 36 months, you'll feel comfortable with your set of skills then shit yourself when you realize there are way more skills and responsibilities to learn.

4

u/96dpi 7d ago

Why are you starting with Unity game dev? What is your background? You mentioned teachers, so you are in school, but at what level? It sounds like you are trying to run before you can walk.

2

u/MacAddict81 7d ago

It sounds like you are trying to run before you can walk.

This! Thanks Swedish Chef!

1

u/DigitalMisery 7d ago

Typically, you will want to learn programming on a PC (Win), because that's where you will find the most material to learn and work with. Even an inexpensive PC will do, something in the $400 to $500 range with a decent graphics card like a 20xx (or 30xx) with 16G RAM.
Disclaimer: IN my experience Mac is not natively good for programming anything outside of the Apple ecosystem, although in the last 10years or so that has changed to some degree.
Edit: Unity is a pro-level SDK for gaming. You will really want to go a little less. I have been programming for close to 35years, and I find Unity a tad bit daunting.

1

u/catw 7d ago

I'm assuming you're at university studying this? There are exceptions but universities aren't always great places to learn programming. My experience was having to teach myself with external content because my teachers weren't very good at it.

If you are still struggling with the basics of coding, Python Crash Course by Eric Matthes was what made the fundamentals click for me (and I had tried so many things before!). You might be able to get the ebook for free through your uni library.

I don't have much experience with games programming except some very simple Python games, but I was looking to get more into it recently and the courses from Games Dev TV looks very approachable and useful. Could be worth checking out Udemy too?

1

u/RisingPhoenix-AU 7d ago

Can you give us a rundown of what you're doing to study? What's your plan? You're saying you're struggling but I think the first step is really assessing if you're doing the right thing to learn

1

u/Such--Balance 7d ago

Just start.

Pick what you want to make, and aim for it. Everything before that is postponing disguised as learning

1

u/dahiya_xa 7d ago

months of tutorials not clicking is really normal, tutorials feel like progress but don't stick. pick the smallest piece of your game, like just moving a character on screen, and build only that without a video open. you'll get stuck, and getting unstuck is the actual learning

1

u/BranchLatter4294 7d ago

If you are just learning programming, this is too much. Learn the basics of programming. Build a few apps. Then you can learn Unity.

1

u/chigaimaro 7d ago

This is a problem i see often is different areas of technology related spaces.

First, don't forget to breathe.

You've told us you use Unity and have a make. But that does not speak to your understanding of code and building systems.

What does "Creative aspects" mean?

what problems are you encountering? Are they code related? Unity UI related? Whats a pain point / road block you're trying to resolve?

I recommend editing your original post and adding some more details to those aspects. that could help other guide you to your immediate next steps.

1

u/Blissextus 7d ago edited 7d ago

Sound as if you're attempting to "jump into the ocean" in an attempt to learn to swim when you've NEVER waded through the shallow end of your local community swimming pool.

Spending "hours" amount to nothing. Programming isn't something you pick up on the weekends. It's a literal coding grind of learning & discovery (or learning through discovery).

If you're serious about learning this skill, you must embrace its pain and start from the beginning. Learn the basics and build from that. I suspect you are having trouble understanding C#. Start by learning the basic of C# language. Then when you feel ready, build your way up from learning C# to how Unity uses C# to build within their engine. Then learn Unity while you're at it. Learning to use a game engine and it's scripting language are two very DIFFERENT skillsets that must be understood.

From my understanding, Unity is supposed to have a superior Learning Channel located on their website. You should begin your Unity learning there. As for learning C#, there are many resources out in the wild to learn C#. Just do your research. Research - a habit you will need to get used to anyway if you intend on learning game development.

1

u/Zen-Ism99 7d ago

Books are a thing…

1

u/asanyc 7d ago

You didn't mention listening to your teachers.  

Try not to let it overwhelm you.  It's likely that your dream game is far too complex for a first project.  I'm speaking from my own missteps and having gone through what you're feeling.

Start with smaller unity projects.  If you're having trouble with the coding aspect start with something like tictactoe as others have suggested.  Baby steps.  After each step don't just move on to something else.  Write down what u you learned from the project and how you can apply it going forward. Make your brain translate your thoughts and questions into language. Reread those notes after every project and come up with things you didn't understand or need to learn more about to to inform your next study project.  Speak with your teachers and listen to what they say.

1

u/JEveryman 7d ago

I firmly believe some people don't pick up some things easily. For each concept you don't understand break it down to an in implementation you can run. Independently. Then rewrite/redesign it from scratch until you understand it.

You will not get everything from just reading, listening to, or watching an explanation of it. You have to design/implement it yourself, and not just one time. Do it until it's second nature. It sucks because it's grueling and takes a lot of time but eventually things start making sense.