Posts

Taking it to the limit

 After the first two games that were largely made with minimal design input from me I decided to make one more game but this time ended up giving a lot more input. We started with the same prompt as the previous game but and ended up with basically the first game all over again so I decided I needed to take a little more of a design roll this time. I pushed it into more of a mining and upgrade based game and although it never quite got the the upgrade store right considering it was made over the course of a couple of hours with no human coding I'm still pretty impressed with the result. The game needs a lot of tuning but it's still a pretty fun game overall. I found with chatGPT using just the chat interface it seems to be limited on the scope of a project that it can hold in it's memory all at once and once you get too many features it can only seem to implement some of them so you get to a point where it leaves out the shields and you tell it to put the shields bac...

What else have you got?

 Well that last game was not too bad. It was a great improvement from some of chatGPT's previous attempts but I wanted to see what else it would come up with so after we were done I said "Make me a completely different game with a similar level of complexity." ChatGPT just reskinned the game. I had a laugh and then asked it to make me a new game in a completely different genera. This time it came up with a tower stacking game but it really struggled with the physics. It wanted to make realistic physics but it just couldn't figure out how to pull it off so I had to intervene  and suggest it use an existing library. I also suggested a few changes like making the canvas a little bigger so you could see the blocks fall off and changing the scoring so it made more sense. There are some issues with how rotated blocks render but I was doing this for fun one evening and I just didn't care enough to have it fix it after it tried to gasslight me that that's how rotated ...
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. Restart

Chatgpt Makes a game engine... and a game(now with touch support)

Image
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...

ChatGPT Makes a Fluid simulator

To Quote Chat GPT This code appears to simulate a fluid using the Navier-Stokes equations, a set of differential equations that describe the motion of fluids. The fluid properties (density, velocity, and pressure) are stored in 2D arrays with dimensions gridSize x gridSize, and these properties are updated over time in the updateFluid function. The Navier-Stokes equations are solved using the Euler method, a numerical integration technique that approximates the solution to a differential equation by dividing the time interval into discrete steps and using the values of the variables at each step to calculate their values at the next step. The renderFluid function is responsible for visualizing the fluid, and it does so by drawing a particle for each grid point, with the radius and color of the particle depending on the density and pressure at that point. The applyForce function allows the user to apply an external force to the fluid by adding the force vector to the veloci...

ChatGPT writes and illustrates a childrens story

  This is a story Written and Illurstrated by ChatGPT ChatGPT gennerated the graphics using prompts from the story prefixed by the instruction "write svg that draws". Often, multiple retries were need to get useable results. I then asked chatgpt to make me a carousel which mostly worked. I had to disable the easing because it was sending the divs with the code off screen. This is the live stream if you are bored enough to watch . I hope you enjoy. Maria and the White Horse Story and art by ChatGPT Edited by Joel Cook Once upon a time, in a small village nestled in the rolling hills of the countryside, there lived a young girl named Maria. She was known throughout the village for her kind heart and her love of animals, ...