r/godot • u/Yappo_Kakl • 9d ago
help 3d vs 2d isometry performance question
Hi, I'm artist and rough animator, decided to try vibecoding my own game based on my story.
It should be action roguelike bullet hell top down isometry gameplay in Godot engine. Firstly I was sure to draw and paint everything as flat images. But Gemini told me that texture 3d primitives will provide me better performance in bullet hell genre. So I'm here asking experienced people if that's true ar false ?
0
Upvotes
1
u/mister_serikos 9d ago
Sprite2d should be fine
4
u/TripsOverWords Godot Junior 9d ago edited 9d ago
It's not really clear what you're asking. 2d primitives will almost always be more performant than 3d due to fewer operations (less math involved if not using 3d transforms) and less geometry (quad vs arbitrarily complex mesh).
That said, unless you observe a performance issue then you don't have a performance issue, and for small games the difference should be realistically negligible. Experiment, and if you hit a bottleneck reevaluate.
Dev with over 10yoe. Similarly, I've used AI to explore technical areas that were new to me and almost every time it's been a shitshow. AI very often produces something that "looks" right or "sounds" reasonable, yet is fundamentally wrong or will cause major issues later on. Don't believe any LLM at face value, especially the free models. Even for simple questions like facts about a language or framework, it fucks up too often, it'll tell you something while linking to documentation that states the literally opposite.
I'm very curious what the AI said about 3d textures and bullet hell games though because I don't see how "texture 3d primitives" would improve performance for that kind of game.
2
u/Silveruleaf 9d ago
3D has more components, and more check detections. 2D is always way simpler. Going 3D is more of a style choice. There's nothing wrong in going for either. But it's gonna be a lot easier in 2D. Also, don't blindly copy codes or do as ai says. Think for yourself before you ask, and add them yourself. You will get very lazy if you don't do it this way, and you won't understand your own code, so you won't have control over anything and at some point, it's too much for the ai to know wtf is wrong with the game. His just gonna loop around giving you even more convoluted codes. There's also no structure. So it won't have any performance at all cuz it's doing millions of random things, instead of using components it already had
1
u/QbieShay 9d ago
If you search for bullet hell on this subreddit you'll see a bunch of posts that share how they made bullet hell with good performance. Depending on how high you want to go with the bullet count you will have to do some batching of draw calls and abandon y-sorting. I suspect you'll be bottlenecked by physics before you'll be bottlenecked by rendering
1
u/stolenyourgf 9d ago
for bullet hell the art style barely matters for perf, what kills it is thousands of bullet nodes. flat 2d sprites are totally fine, just pool the bullets or draw them with a multimesh / the server api instead of one node each. id stick with drawing since thats your strength
1
u/cubewakeCompass 9d ago
the thing that decides it for me though is that you're an animator. with flat 2d what you paint is what's on screen. with 3d primitives every asset becomes a texture on a box and you'll spend weeks on uv and lighting instead of animating.
how many bullets are you planning to have on screen at once?
1
u/Waybook Godot Regular 8d ago
A top down game should have good performance anyway unless you do something very wrong. I would not pick based on performance.
I would recommend going 3D, because it scales better to different resolutions and aspect ratios.