Skip to content

u/guywithknife

In this archive from Mar 2018 to Oct 2026

6
posts
308
comments
2
media
1.3k
score
2 saved before deletion

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...

8 points4 comments
Open on Reddit

Top comments

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.

258 points

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.

47 points

Subreddits

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.