CyberHoarder 2048
Solo game, Arcade, PC & Keyboard
Solo game, Arcade, PC & Keyboard
The process
My first idea was to have a 3d grid with interactive elements, but I ran into a lot of problems while coding the logic.
I decided to stick with a 3D environment but not for the grid as it was simpler and more time efficient to implement in 2D using a canvas.
After finishing the 2048 part of the game, I just had the feedback part left to make.
I wanted to have the players hoard numerous objects and be able to visit the scene as it fills up.
I wrote a script that instantiates objects depending on what tile was just created.
Here is an exemple to further explain the object instanciating script:
If you fuse two different "8" tiles, it creates a "16" tile and makes a PC appear in the scene.
Every tile value has an object associated to it, so everytime players get a new tile they also discover a new object.
I also wrote a quick script that lets players switch between moving tiles and moving around in the scene.
After making the objects and scripts, I had a few days left before the deadline. I finished up the project by adding some audio feedback and music using Wwise, and created a particle system that emits 3d meshes of the object that spawned after fusing, with the color of the new cell.
Reusing the example from earlier, when creating a "16" tile an old PC spawns, and the emitted particles are 16 orange PC meshes.
Here is a small video that showcases those features.
All in all, this project was pretty fun to make. It was a little tough to make with my programming skills at the time, but it made me progress quite a bit. I updated the project after the deadline, since the UI consisted of basic Unity buttons. I re-made the main menu using a custom button sprite, inspired by old-school windows XP alert boxes.