For the past little bit, I have been working with a team on a spooky game called Trick Nor Treat, in which you must use information found on podiums and clues found along the map to uncover what kind of creature is lurking in the area.
As I mainly focus on UI and FileIO, this journal was an immediate must for me to work on. The map, the clue information, the information on various creatures, and even settings, can all be found within this journal. This was made entirely in Unreal Engine Blueprints, with all data being saved for the player to leave and return any time with no worries on needing to find those pesky clues again.
Check out my portfolio page for more information!
The next project I am focused on will get its own post soon, so be sure to watch for it! A Unity Plugin that allows developers to start with a basic active template any starting project will need, including folder structures, a few basic files, and more!
Over the past week, I’ve been learning React to widen my programming knowledge. The syntax is a bit weird to me, especially with the addition of the return values being JavaScript. That being said, I’m getting the hang of it, and it’s been a fun challenge overall! The reason for TicTacToe is the Official React Documentation page has a tutorial to teach users through making TicTacToe. Naturally, I followed this tutorial, attempting to make each next part before looking at the tutorial.
Now, I didn’t know how to adjust the button sizes at this point, but don’t you worry, I learned that during Wordle. In the tutorial, they never set the sizes, they just used the default size. However, these buttons auto-size when theirs did not. I simply assumed this was a version difference and moved forward.
Next we have Wordle. Basic, simple, right? Wrong. There’s a lot more complexity in Wordle than many may think. If you notice, none of those previous guesses were real words. This is a limiter I had to add later on. As well, you need to pull from a list of words to randomize what word the player must guess each time. I did that nearly last, right before the word guessing limiter. Fortunately, I had a txt file from my Programming 1 class that contains all the Wordle words they had us download. I simply used that.
As for guessing, you can’t forget the ability for the player to deselect letters. This didn’t take long, but was a hard requirement that could not be missed.
Win conditions. You can’t forget these, as it wouldn’t be a game at that point. This required checking after confirm is pressed, and then changing the return value based on that check. Overall this might have been the easiest change to make, but once again was a hard requirement, and thus I couldn’t leave it behind either.
The opposite of a win condition, a lose condition. Wordle gives you a set number of guesses. Beyond that, and you lose, game over. Can’t forget that.
And with that, Wordle was completed! Now, there were obviously smaller pieces, harder to notice. This included the seemingly obvious piece, that still needed to be programmed. Once the player has chosen 5 letters, clicking a 6th letter should do nothing. However, in my version it was still changing the last letter instead. A simple change, adding a check at that point. Naturally, I had to do it, otherwise the game would not be complete.
I was casually watching a CaptainSparklez Subreddit video, where he reviews the top 19 reddit posts, this month, from the CaptainSparklez Subreddit, where he came across this post.
Immediately, my mind went to, “I could easily create something in Unity real fast that tells me how many there are to confirm this.” Thus, I did exactly that!
I can confirm that there are NOT 69 L’s in the TryHardNinja/CaptainSparklez song, Revenge. I did test Fallen Kingdom, however, where there are 69 S’s. The fun part is that I did all this in under 100 lines of code, with a few comments thrown in! That wasn’t necessarily a challenge I was trying, but a neat detail nonetheless!
As for the video, be sure to give it some love with an extra view! Also, no, he is not dead, but there is a great reason it has that as the title!
I’ve been hard at work, but in my free time I’ve been hard at work recreating Spokes in Unity, as mentioned in my last post! I am nearly at the point where this version will actually surpass the Unreal version!
The logic has been created, and was much easier in this version thanks to the concept of the GameManager, to check for win scenarios. With this, my next step it to add extra options, such as a color system to tell the player hoe close to winning they are, and to decide what I want “you win” message to be changed to. Overall, I’m happy to have tried remaking this in Unity, as I’ve been enjoying it more than when I created it in Unreal.
This month I’ve been focused heavily on class work, but it’s been extremely fun working on it! We’ve been making Conway’s Game of Life using wxWidgets in C++, and so far it feels like it’s coming along nicely!
It took a while for the game to take shape, but as soon as it did, we started adding extra features, such as Finite versus Toroidal space. Toroidal allows the cells to loop around the edges, and can sometimes be referred to as “Donut Mode” instead! Since making this gif, I’ve added many more options including two randomize options, making the settings save and load, and more!
Going into winter break I’ve barely even looked at my own projects, as I’ve been working on class work instead. That being said I did manage to add the absolute basics of an enemy encounter in my Text-Based Roguelike game! On top of that, winter break means I should have plenty of time to work on my own projects for the next few weeks!
When you arrive in a room that has an enemy, which is currently always true for testing, you are prompted to fight or flee. Choosing flee will rotate you 180 degrees and send you right back through the door to the previous room. Choosing fight will start the challenge, or so I have planned! Currently, there is no true enemy, and you simply continue to the normal room movement options.
I’ve been so busy with class this week that I haven’t even touched my Roguelike project. That being said, I’ve been learning a lot in this class! Most recent lecture and lab were on Linked Lists! I learned to take a list and either add an item to the front or back, and to erase an item from any location or even clear the entire list.
As you can see here, I have a few examples. First, I populated a list with 0-4 and pushed 123 to the front. Next, I pushed 16 to the front and 25 to the back. After that, I removed the 3rd item, “1”, to finally return to pushing 110 to the front. I did not show clear as an example however, as it would simply be a back background with no numbers!
This has been a very busy week, so I was unable to find time to work on the Roguelike during the week, however I did work on it right after last week’s post, getting the overhaul I previously mentioned fully finished!
However, this was a massive change! I completely re-wrote the entirety of my room generation, deleted the old rooms I had to create a single room that replaced all the old rooms on its own. With that, I was able to correctly adjust the character’s rotation, allowing you to move through rooms in a way that moving forward doesn’t always mean north. This can cause confusion, I’m sure, but once I add more details, such as random items, rooms will be more unique and easier to traverse. For now, I’ve added the room coordinates to the top to help traverse for testing purposes.
Happy Thanksgiving readers! I’ve been spending this time playing around with ideas to practice my C++ skills, and I thought why not build a Text-Based Roguelike game? So far what I have is very basic, but I have some ideas to improve it by making each room more disconnected, making it easier to move from one room to another whilst keeping track of where you are.
Step one is being able to move from room to room. This step, however, may have to be completely rewritten, as I have an idea to keep the rooms connected but separate, as right now if you return to an old room it doesn’t treat it completely correctly. Currently if you return to a 2 door room from the wrong direction it can lead to you walking into rooms the wrong way.
Next, the filing system. I took inspiration from Minecraft based on their chunk loading system using the coordinates of the room to be able to easily return based on where you are. So far this has worked well enough, but I will need to change what information is stored within these files, partially as the game evolves and partially as I change how the room to room movement functions. Overall this has been an amazing learning experience, however!
Going to school for Game Development doesn’t always mean working in Unreal Engine. In fact, all of what I’ve been doing in this blog so far was extracurricular development to become more familiar with Unreal Engine before classes start using it. Mostly, I’ve gone through core classes including Calculus and Discrete Math. These past two months, however, were Programming 1 and 2 in C++ and I’ve learned lots, even given my background knowledge in programming in general. These skills come in handy, but in ways you wouldn’t expect a lot of times.
My cousin asked me for some quick sample code for a marketing assignment he had, and my first thought was simply, “What could I build quickly that is fully functional?” I remembered making a shop in an optional challenge in Programming 1 and decided to rebuild a quick easy version of that shop for him with a fun name because it sounded silly! Now, I’ll be the first to admit there are issues in this code. However, I made it in like 15 minutes, and I had to keep it all in a single class with a couple methods so I could easily take a screenshot of the entirety of the code, as opposed to multiple screenshots.
That reminded me of the text-based game most people know, called Zork, which was also re-created within Call of Duty: Black Ops. I figured it would be good for coding practice, so I started typing. First getting the player name and introducing them to the world, and then giving them a moment before throwing them in, by using the enter key to officially start playing.
I’ve created two basic areas so far with the grass field being the first area you enter. From there, you can choose what direction to venture toward to create your own story! However the forest entry and the front door of the house are the only areas I have created thus far, so for now it is very limited.
Something we learned in Programming 1 was how to create a time-based display, similar to Pokémon, which I absolutely love using, so I added that to give the player a feeling of fluidity in the text, as opposed to all the text popping up on the screen immediately, with no real transitions.