Individual Code

While my biggest part of the game project was my involvement with the artwork, I did also work a lot with the music, dialogue, and collisions for the game.

Code that I did: Music

Dialogue

Collisions

Web Basics

Calculator

Over the trimester, these all led up to my basic understanding of JavaScript and HTML.

Key Commits

The biggest commit of the trimester was my debug for the game background and collisions. On October 30th, I spent around 4 hours mapping out the collisions on a few maps, but ran into a problem. When I tried testing the collisions out, on certain maps, the Lopez sprite would completely vanish upon moving.

This was my first time “debugging”, so I decided to try and isolate everything that could be a factor. I consulted ChatGPT first, but it could not provide any answers. So, I made a copy of the current code and started removing things one by one, and running make to see if it would work or not. For example, the first thing I removed was the collisions on the affected maps, and testing to see if Lopez sprite would disappear or not. He did, so I came to the conclusion that the collisions were not the problem. Therefore, they could be implemented back in, and it was time to move on to the next factor.

I went through this process in the different backgrounds, trying different images, and trying to change the movement script. In the end, it turns out the problem was the sprite scale factor. I changed it, and now Lopez sprite would not disappear.

Features That Did Not Make the Game

Battles

Safin NPC

Map Button

We realized that working on these would take too much of our time, so they did not make the game.

Individual Blog Summary

Over the course of the trimester, I have learned a lot about working with JavaScript and HTML. I have documented all of the things that I have done and learned in my time box through the use of hacks, weekly plans and summaries, and even placing my own test versions of our game in my own repository.

Things I learned:

ChatGPT with coding, basics of JS and HTML, integrating them together, pulling from different scripts, etc.

Things I want to Learn:

How to protect my code from others. I am looking to go into Cyber Security in the future, so this will probably relate a lot to what I’m doing, whether it be protecting networks, companies, files, or objects of interest.