Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

ive been having a lot of fun with this lol, I was using talk alot just to learn godot, past couple days been trying agent and flying. 

the issue i'm running into is gemini saying that my file is getting to large,

how do you get around this? I asked gemini and it said about editing it so that it has a map of which scripts handle what so that it can ask for the context it needs,

whats your advice so that i can keep going when it gets complex lol

(1 edit)

Can you tell, what exactly is getting too large? Is it code? Is it something like a tilemap or sprites that sometimes get into the master prompt as bitmap (thousands of 1s and 0s).

From my Addon's settings you can select/deselect individual scripts/scenes from the export. There you also see what contributes most to master prompt size.

There is also an ignorelist for files or properties in the addon script.

If you find out and tell me what exactly is causing the large size, I can help you figure out the properties that need to be put on ignore. 


Or is your problem that you have one large script that tries to do everything? Then you should prompt it to do a refactor. Turn the one script into multiple so one script is responsible for one thing("separation of concerns"). A starting point could be the architecture review prompt from the prompt library in the addon.

lovely stuff, settings helps a lot, it seems to be my code an scenes, 

I will give the refractor a go see if i can spread the load so that i can export what i need

That doesn't seem too large. I am way bigger and never had Gemini say the file is too large. Any chance you had Nano Banana selected as model? that can't process such large files. Gemini should have no issues.

turns out my structure was an absolute mess, didnn even know what refactoring meant but currently going through that process of reoganising and fixing it so the prompt isnt as confusing and so it actually works in the long run, thanks for putting me on to this lol, very much just thumbing in a softie and hoping for the best xD