I got bored the other night and decided to see how chatGPT does at game development these days. I started with the simple prompt "make a browser based game". I then followed up by saying "yes" to whatever it suggested. I did have to intervene a few times to let it know about bugs but in the end this is where we go. This game was designed and built entirely by chatGPT. My next few posts will have a few other games it made but my level of interference gets higher and higher with each game.
Chatgpt Makes a game engine... and a game(now with touch support)
I recently decided to use GPT to create a game engine based on an entity component system. The first attempt didn't go as well as I had hoped, and I ended up starting from scratch. This time around, I was able to get a mostly working game engine right away. However, I did run into a small issue with the handling of dt (delta time) for movement. GPT was treating it as if it were in seconds instead of milliseconds. I spent a few evenings tinkering with different components and getting them to work properly. During this time, I had GPT create a sample game that required some assets. One of these assets was the player character and present you see below, which was generated by GPT as an SVG file and then converted to a PNG. The game was a bit bare-bones, so I asked GPT to add a gradient background and create a particle system to create a "snow" effect. GPT was able to create a functional particle system, but it was unable to properly integrate it with the entity c...
Comments
Post a Comment