Release: December 2023
Platforms: Web
Team Size: Solo
Project Length: 2 Weeks
Tools: Aseprite, Visual Studio Code, p5.js
Programming Language: JavaScript
This project aims to create a virtual pet experience, inspired by the classic Tamagotchi toy. Straying from the original Tamogatchi design, this project simplifies the gameplay to a smaller slice focusing more on the pet responding to interactions with the user and the environment than keeping the pet alive.
This condensed version will allow users to fulfill the pet’s basic needs with button inputs, watch the pet grow quickly in response to care, and repeat phrases the user records using input from their device’s mic.
I wrote all of the code for this project in JavaScript, using the p5.js library for easier audio and image handling.
I created all art assets and animations in Aseprite.
I implemented basic collisions, gravity, and sprite animations with only my own code.
I used a simple state machine to handle the pet's behavior when interacting with the user and the environment.
I designed and programmed all of the project's UI, consisting of interactable buttons and status bars that change color on a gradient in response to stat changes.
I developed an audio responsiveness feature where the pet will repeat back phrases that the user speaks into their device's mic.
I implemented sava data persistency across gameplay sessions.