Is using ChatGPT to help with programming so bad? But my Godot thanks me for it

in #hive-1484412 months ago


Is using ChatGPT to help with programming so bad But my Godot thanks me for it.png

Is it possible for ChatGPT to create a game entirely on its own?

Of course not, that would be a silly question (well, for now at least, the future is uncertain.)

Today I want to share my experience using ChatGPT to assist in game development with the tool Godot.

Recently, I needed help finalizing a REQUEST for an API in a project on HYPLAY. It was a request to get some player information. But as you can see below, I was losing my way.


image.png

Errors and more errors.

When we talk about game development, one of the biggest challenges is dealing with the enormous amount of code that needs to be generated, adjusted, and tested. In my case, I was at a point where I needed to integrate HYPLAY’s API with my game. This required a specific request to the API that was giving me a headache. I had a general idea of what needed to be done, but there were still some crucial details missing.

Save me, ChatGPT.

Of course, I knew the tool wouldn’t simply spit out the ready-made functional code, but I expected it to help me better understand the right direction to follow. And that’s exactly what happened.

It's like a dog that you need to train.

I described what I was trying to do with the HYPLAY API, and instead of giving me a closed solution, ChatGPT offered several suggestions, explaining what each part of the code should do and how I could better structure my request.

It seemed I was making mistakes in how things were being called.

Something like (Make request to API > Receive request > Try sending another request without Headers > No response). I don’t understand how I forgot about the Headers, which is almost the main line to make it work. It also reminded me of the correct format for the data that the API expected to receive and how to handle the responses coming from the API. These are the kinds of things that sometimes take hours to figure out, even when the answer is right in front of you.

It even corrected my code “professionally.”

Yeah, it seems I have some issues with indentation, but it’s not just the Framework or Godot itself—I just got used to the way Ruby does things. It’s simple and straightforward.


image.png

Well, it seems to work, and it’s much easier to understand now.

I had already been seeking inspiration through an AI art generator. Well, I really like arty, it’s one of the best in my opinion. Whenever I need an idea for a character concept, landscape, or something similar, I go there.

You can use it on @ausbitbank's server in ausbit's stuff and things.

Could this take jobs from small teams aka Indie teams?

I don’t think so. As I mentioned, you need to train it well to get a satisfactory result. In the first entries, it ended up sending me how to simulate a REQUEST, which wasn’t what I needed. I had a bit of work showing it the right path to better understand what I wanted. But I must admit, it was less work than trying to figure out my mistake on my own.


Is using ChatGPT to help with programming so bad But my Godot thanks me for it.gif

Sort:  

Congratulations @spidersilk! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 800 upvotes.
Your next target is to reach 900 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

Our Hive Power Delegations to the September PUM Winners