In my last post I shared my experience with asking AI to help me build a utility that would speed up my game development (at least building scenario and story lines) but for those of you who have been writing code knows that generating something new is relatively easy compared to adding features and maintaining it for very long time.
So I asked Chat GPT (who assisted me to generate a prompt that I feed into Antigravity - of course this can be done by Gemini as well) this question:
Can I assume to keep working in "this manner" (here I mean to ask AI to generate a prompt and feed into Antigravity) or would I soon see the tipping point where I need to roll up my sleeve and expected to code?
The answer I got was - as long as we are very clear on what we want and be able to explain it clearly, there is no reason why I have to go into deep end of a codebase (but it reminds me, I need to provide all the data, scenario etc.)
Of course that's what it says so I asked Chat GPT my specific ask of extending that CSV file to simulate ability to add party (so that I can easily add or remove someone into the game party) Mind you, at this point my game didn't even have concept of party (though Chat GPT knows as I exchange LOTS of conversation about the scenario and how I want to expand) so I thought this is too much ask.
The result? Chat GPT gave me super long prompt (really scary length - I can follow what is asking, even on my good day it would take me few days to implement this without any bug) and ask it to give to Antigravity (I ask to expand CSV to be able to add/remove party, be able to tell who can be added to party and also add reusable UI component to render as we add character to the party) Wait a bit and ... wola, it's working! (I wont' lie, I need to ask few times to tweak a bit so it wasn't all one shot but still pretty impressive!)
Here is a screenshot - I trigger one event where I added 2 characters to my party (nothing is happening other than adding to party and add display but still started to look like a real game, isn't it? :))
I can't believe what I just experienced - this means not only I can ask it to build something but keep tweaking and maintaining it. It can sure understand what is the current implementation, be able to only add code that is needed (this, kudos to the Chat GPT giving me great prompt to instruct Antigravity to do that)
With that success, I also told my desire to be able to specify source and destination of my source scenario (txt) file and where to generate scenario file (csv). What this allow me to do is to separate as many scenario files as I wanted - again huge plus to keep this project more maintainable!
So my goal is to see what's the limit of this AI driven approach to develop a game - and I plan to keep making posts about it here so please stay tuned!

Top comments (0)