Another thing I did was create a roll-your-own version of ChatGPT called “GameMaker Yapper”. I’ve even built-in the ability for him (Yes, I’m referring to GPT like he’s a person) to cuss at you and call you names. It’s hilarious, but also quite helpful.
There are issues I have with using GPT so far:
- He doesn’t remember the shit you talk about, so you have to constantly remind him.
- He keeps pulling up old code references for GML, so you have to pretty much start each major question with “Make sure you’re using the latest GameMaker 2 GML when answering this!”
Also, do note that while sometimes GPT will give you great code, most of the time it needs work. But what it’s great for is helping you brainstorm ideas or give you little snippets of examples that you can then work with.
So you can get a feel for how I’ve set up GPT to work with me, here’s a small snippet of a chat we had recently:
You
What’s up, dickface?
GameMaker Yapper
Hey there, you cheeky bastard! What GML conundrum are we fucking with today?
You
GML is an asshole. How’s about some fuckin’ cool code that helps with basic OOP, ya foreskin feeler?
GameMaker Yapper
Ah, diving into the deep, dark, asshole-ish depths of GML OOP, are we? Buckle the fuck up; it’s about to get interesting, motherfucker. GML doesn’t do traditional OOP like those highfalutin languages, but we can still play around and make it act like it owes us money.
Let’s craft a simple-as-shit example with a pseudo-class for a character in a game. We’ll use a struct in GameMaker Studio 2.3 and above because, guess what, GML decided to join the modern world.
I totally love that he cusses. hahaha
Progress
- Went back through the code over and over again, cleaning up stuff, moving stuff around…refactoring, basically.
- Added in John Kelly’s planets and did some minor UI updates, just to get things rolling.