u/guywithknife
In this archive from Mar 2018 to Oct 2026
- 6
- posts
- 308
- comments
- 2
- media
- 1.3k
- score
Top posts
Best method of mixing 2D and 3D?
I'm thinking of using 3D environments as backgrounds for an otherwise 2D game, so I've looked into ways of mixing 2D and 3D. There seem to be three ways to do this, but I don't know what the tradeoffs between them are. The ways that I've found are: The environment is a 3D scene and the 2D scene is r...
How should you "fix your timestep" for physics?
For a long time now, the advice has been to "Fix your timestep" as described in the linked article back in 2004, so that your physics code runs at a fixed timestep for stability and determinism. On the other hand, I recently saw [some comments](https://www.reddit.com/r/gamedev/comments/uktah1/commen...
[ Removed by moderator ]
How do I set Camera2D's pivot point for rotation in code?
I've implemented a radial screen shake and it works great as long as the player is in the center of the camera's viewport, but I'm using the camera's limits feature to allow you to walk a little before the camera starts to move. If the player is off-center, then it looks a little odd, because my rad...
Top comments
Subreddits
- r/gamedev2 posts · 162 comments
- r/godot3 posts · 52 comments
- r/GameDevelopment0 posts · 34 comments
- r/worldbuilding0 posts · 28 comments
- r/ClaudeAI1 post · 16 comments
- r/StableDiffusion0 posts · 7 comments
- r/DnD0 posts · 5 comments
- r/Baking0 posts · 1 comment
- r/aigamedev0 posts · 1 comment
- r/SoloDevelopment0 posts · 1 comment
- r/gamedevscreens0 posts · 1 comment
Completely false. Remember that people have been saying that C++ is dead for twenty years and yet here we are.
Languages like Python can be and are used for game logic, but everything else is still typically C or C++, especially rendering. You need a language that can give you low level control of performance and memory, a language that lets you control threads, cache, allocations and what-not. Python is terrible in this regards and even amongst interpreted languages, Python isn't exactly known to be fast. Python is convenient and that's why people use it, but for performance-sensitive code (which games have a lot of), even JIT (via PyPy) comes even close. I'm not saying all languages do their performance sensitive stuff in C++, Minecraft is in Java for example, but certainly the majority and definitely most AAA games do.
Also, consider third-party game engines: Unity is written in C++ (and your game logic in JIT-compiled C#), Unreal is written in C++ (and your game logic, largely, also in C++), CryEngine/Lumberyard are written in C++, Godot is written in C++. See the trend? The industry isn't abandoning C++ any time soon, your instructor doesn't have a clue what he's talking about.
Also, you can learn Python in a dedicated/focused weekend.
Rain wasteland or barren land or something to that effect.
What I love about AI for learning is that it never tires or gets annoyed at you if you keep asking it to rephrase something.
Eg, I want to learn about something, I’ll ask it to explain to to me. Then I keep asking “I still don’t quite get it, please rephrase it in a different way” until it finally clicks. Or ask it to explain it live in five. It will do it without complaint, and I can ask “give me another example” over and over.
The key to learning with AI is not to let it solve problems for you, so if you’re learning to program, do NOT use AI to generate code, do not use AI auto complete. Instead use it as a tutor and explainer. For this, it is absolutely a game changer.
I can’t read it at all without a great struggle, which I’m not going to bother doing.
That was a very interesting read and interesting solution.
However, subjectively, I think the ones with gaps look more appealing because the solution looks too regular. Some jitter and randomness just looks more natural, even if it’s not a perfectly dense coverage.