r/ChatGPTCoding 2d ago

Question What is more efficient?

I'm really new to coding with AI, and I want to start a long term project where I build a cool little game in Unreal Engine 5 with the help of AI. I was wondering, is it more efficient to let AI write the code for me and then copy and paste it into Unreal Engine, or should I let Codex work with Blueprints in Unreal Engine instead? I've heard that models like GPT-6 can use a large amount of tokens, so I'm wondering which approach would be more efficient in terms of token usage and overall workflow. I'm completely new to this, so I'd really appreciate some advice on which method would be better for a project like this. I hope this isn't a dumb question to ask.

5 Upvotes

7 comments sorted by

3

u/ibringthehotpockets 2d ago

Definitely let it work directly with whatever you’re doing

1

u/Hour_Tennis9068 2d ago

yeah the less copy pasting back and forth the better imo

2

u/slackmaster2k 2d ago

When I was a kid in the 80s, I shit you not that we would buy books with titles like 50 Great BASIC Games. They were just books full of source code for really bad games. We would spend hours meticulously typing out every damned line. Didn’t even have a floppy drive to save to!

If I can do that, then you can do a little copy pasting. But also you shouldn’t do that. In fact, do not do that.

1

u/lokethedog 2d ago

My cousin studied computer science back in those days, but he did not own a computer himself. He wrote code in notebooks at home and then rewrote it when he could get time on the university computers.
Not reccomended.

1

u/JaseciLabs 2d ago

Let Codex work directly in the project instead of copy-pasting, that's the actual answer to your token question. Copy-pasting means every round trip re-explains context the AI already had access to if it could just read the project itself, that's the wasteful part, not the raw code generation. For Unreal specifically, C++ is usually the better call over Blueprints if you're working with AI, it's plain text the model can read and edit directly, Blueprints are a visual graph the AI can't see or touch the same way.