I want to make small games for fun but I have no idea what I need to learn!
I have decided that my 30s are going to be dedicated to all the things I wished I could have learned when I was younger, that being said one of those things is programming, more specifically game develepment (mainly small games for others to have fun with) but Im very confused as to what skills I actually need to do this or more specifically what steps to take from here.
For some background I never went to university and have very limited knowledge about the subject, I tried learning html and css and have gotten decent at it but i don´t think that will help me, other than that i dont have any other experience with programming.
I know how to use VScode and from the research I have done I think Gogot would be a good engine to work with (do I even need anengine?)
About this post
- Posted
- Archived
- Score
- 10 · 86% up
- Kind
- Text
- ID
- 1wsbus7
21 comments
You might consider the 20 games challenge (you can google it) to add to your portfolio. They'll point you in the right direction better than I can.
I checked it out and it seems like a great idea, I had no clue it existed thank you
I'm gathering all tips I can find here as well, I've never heard about that one and it's pure gold
Deleted before we saved it.
You don't need a game-engine. If you are in it for a slow burn experience, you could learn things from the ground up, but an engine gets you much faster from an idea to something you can play.
The engine is typically a full toolset that has already done the legwork of things like rendering (how to put data on the screen), event management (something happens that causes other things to react to it), input handling (gamepad, touch input, key presses and modifiers), and a bunch of other things, alongside providing you with literal tools like level or sprite editors, animation timelines, and so on.
If you went the route where you wish to do it without a game-engine, your first question would be, how the F do I even create a window? I think the most popular choice here is SDL with OpenGL. These two are very low level, which means they do the basics, but if you don't use a game-engine you want to create your own layer on top of them that better meets your needs.
Back to engines, Godot is great. I enjoyed it a lot. I think it strikes a good balance between power and ease of use. Another option is Unreal Engine. It is intimidating at first, but there are a lot of tutorials, and you can get away with purely visual programming, meaning you don't write code but instead use logical blocks with inputs and outputs that you connect with each other.
There are a bunch of other skills that can be very useful depending on what kind of game you're making. spriting, 3D-modelling, audio design and music to name a few.
If you want to learn programming, and you want to get a better understanding of how games work, my recommendation for you is to first write your own software renderer. It involves a lot of hecking math, but when you first see that rotating cube on your screen, or when you implement things like phong shading, it will feel amazing.
No idea what a software renderer is or SDL or OpenGL . I guess I have more research to do . Thank you for the detailed answer
Well, you've got a decade to learn it 😄
Software renderer means it doesn't use the GPU to render the image, but rather the CPU. You essentially have to figure out how to interpret 3D coordinates and project them onto your display. And from there you can create a bunch of additional effects, like shading, movement, visual cullling.
SDL is Simple Direct Media Layer. It's a library to basically let your Operating System and your Application Interact with each other, like requesting a window or reading keyboard and mouse input.
OpenGL is a Graphics API. Maybe you've heard of Vulkan or DirectX (Direct3D) before. It's basically like those. It uses the GPU to render graphics. The reason I suggested making a software renderer earlier was because it's easier to create.
Those are basically the three options:
All options are good.
Yes, you will need an engine. You either have to make one from scratch (very difficult) or use a prebuilt engine like Unity or Godot. Godot is a great option.
Brackeys has a few great tutorials to get you started: https://youtu.be/LOhfqjmasi0?is=JJoyRpS6ltm2_4IM
Programming is quite different from HTML and CSS, which themselves are more about formatting and design. But they are a good first step to learning the discipline.
Deleted before we saved it.
Godot is a good engine to learn with, just open it, find a very simple goal that you want to make, and go! You can start with something like Pong or Breakout to learn some basics, or try to create a moving character. Learn as you go.
Damn, it's like I'm reading a post I'd make some while from now on
Depend, If you only want to learn to make smal videogames, first read a littel about game design (important step), then make a game design document (is your todolist), go for the game, if you don't know how to make something search a tutorial for that requirement, and nothing more, make tutorials without knowing or having good fundamentals is a bad idea, you will learn anything, with context is better and more important "Don't use IA" sure make development faster but it will drain the fun of the process
what sort of games do you want to make?
.
To build on your html and css knowledge you could do a Twine game (text based, choose your own adventure style game tool)
Mini Micro is great for making small games. See https://miniscript.org/MiniMicro/#programs for some examples. Then to get started, just work through the free online book at https://introtocomputerprogramming.online/
(And be sure to join the Discord — we're a very friendly and supportive community, and we'll be delighted to help and cheer you on your way!)
Make the game you want to play! Focus on the mechanics on that game and seek out tutorials that address those mechanics. The work required of replicating the tutorial project will help introduce you to code and game engine. I personally recommend Unity, lots of free lessons on their Unity Learn pathways as well as plenty of YouTubers doing Unity tutorials! Beware scope creep and shiny object syndrome! Good luck!
Well, small games are the right choice. The Godot engine is another good choice. All you have to do is decompose the game entities of your game to the level of nodes and scenes of the Godot engine. And then assemble your game from nodes and scenes.
I haven't put my hands on gamedev for real yet, only made some research and spent a while now in a few subs here; I have a web design business, but plan to get into making games soon.
A few things I could say to contribute to your post are:
Your knowledge of HTML/CSS will help you learn any engine/language you choose, regarding code management and design systems, and combined with your design experience (considering you have some) will be useful for getting the UI right too.
Unity/Godot are a better choice for starting out without having to build your own engine from scratch, that alone would take you an enormous amount of time to learn everything you need to achieve that.
For getting a game out with as little hassle as possible, I'd recommend against Unreal, it's heavy and bloated, not even big companies are able to optimize it to a satisfactory standard, so I'd recommend Unity or Godot like you're already inclined to stick with.
Between Unity and Godot, I'd pick Unity myself, as it's already well stablished with plenty of proper documentation, resources and tutorials on overall/particular-case problem-solving guides out there and a few masterpieces made with it; although 100% free, Godot would require more programming skills and would probably deliver a harder time for you on problem-solving and figuring out how to achieve something or troubleshooting, and that probably would be less of an issue with Unity; BUT I'm also inclined to try Godot out, I've seen plenty of impressive stuff made with it, and maybe I'm just overconcerned with something that might not even apply to a real workflow.
I'd say go with Godot and, if you face a hard time with it, try Unity. As to how to start/skill to learn, the other comments are great, I'll try the "20 games challenge" myself when I get to start out in game development for good.
Deleted before we saved it.
If you want to learn to program, or at least understand programming logic, I recommend making some games with Python using Pygame. Then you can move on to Godot, which is good for getting started in game development. At least that's how I started in 2021. You can start with Godot if you want; that's fine.
Godot uses GDScript, which is a programming language similar to Python. You can use AI tools like chatgpt to help you with some tasks if needed. These days, there are many tools that can greatly facilitate the work, so you won't feel frustrated if you can't find a solution.
Good Luck.
Deleted before we saved it.