BeanPet
- 11 Devlogs
- 15 Total hours
cat as a pet!!!!
cat as a pet!!!!
Figuring out how to make a good gif and setting up the windows took me a bit of time, but I think it shows a lot of the fun parts of Bean!
SHIP! I saw that there would be a stardust multiplier if you submitted this week, and I think my project is in a good shape. Might work on it more after ship?
Getting Bean to jump at the right time on the ledge was hard, I had to mess around the the pxs and timing. I also struggled with making the window automatically be dragged by your cursor, and I finding an asset for the bowl was hard. I ended up making my own in Krita.
I’m thinking of making more interactive things, such as a ball for Bean to play with! Throw it across the screen and she’ll go towards it or something. I also want her mood to affect more of her behavior, maybe meow randomly if she’s hungry?
It was hard figuring out how to do the bounce math, so I asked Claude to help me debug. I used Area2D for collisions, similar to my rock obstacle in the game. The bounces also used velocity, kinda like the throwing mechanic.
I am working on a SETTINGS window! It will include muting, controls, and a quit button! I’m still searching for more things to add as well.
For the stats bug, while testing, I realized that all of the icons appeared with I played with Bean. It seemed like it was only tied to happiness, but I could’ve sworn I did it properly. Issue was: I forgot to save my code, and so my laptop turned off automatically and made me lose the fix </3 I asked Gemini to help me figure out what was wrong, then manually switched everything out into the proper order.
I will continue to update Stats UI since it doesn’t have the new topbar, alongside the endless runner window. I also want the moods to affect Bean more, maybe taking naps on her own if she’s really sleepy.
I had a hard time trying to figure out how to make it so the trees properly come in after they have left the scene, changing the right position took me a bit of guess and checking.
I might add more obstacles, and I will keep making UI changes so that it feels more clean. I also want to make throwing the cat more fun, since it only meows right now. Maybe a particle effect?
i have added a stats system that saves and loads the cats stats like:
you can FEED to increase hunger, make the cat SLEEP to increase energy levels, and either click on the cat OR play the endless runner game to increase mood! i struggled with the saving and load system because mood was the only thing properly saving and loading, but the issue was that i had simply forgotten to add energy and hunger to the save stats function and only added it to the load stats function. woops
it took me a bit, but i added in a minigame!
Endless Runner:
my biggest struggle was the collisions, i had forgotten how to properly use area2D and tried to do some more complicated math. i used claude which reminded me of said area2D and so i started messing with hitboxes. i am planning on adding a hurt animation for when you lose and stylizing the minigame and making it look way better!
i have added NEW features such as:
i struggled with placing the meow effect in the right spot in the code, since I didn’t know if I wanted the cat to meow when landing or being thrown. i also struggled with the particles since i wanted to make it look like the guide but i went with a falling anim instead of an explosion.
i have added a throwing mechanic and a menu that opens up when you right click onto the cat, giving you two actions as of now! i also added another idle anim where the cat will meow
i was struggling a lot with the throw mechanic, since i was confused on why the code didnt find delta. it was a simple scope issue, since i put the code into another section instead of the physics process function that took in delta as a parameter. i used claude to help me debug, which was because i just forgot to add a vector line.
this took way longer than necessary, but i made it so when its dragged, it falls onto the taskbar!
i used gemini to help me debug and figure out why my logic wasn’t working, which was because i placed the falling mechanism after the position, so itd call the position before the fall thing would ever occur.
with my handy dandy itch.io warioware grant, i bought the rest of the asset pack since i really liked it! it now can sit instead of just standing as an idle, and i plan to add more stuff like feeding + minigames!
this is my FIRST devlog for this project, which has been so fun so far! currently, this is what ive done:
throughout making this, i struggled with the idle animation a LOT because i could not remove the background of it, and i dont want a cat with a white background idling out of nowhere.
for now, i have no idle animation, but i am going to fix it soon once i figure out how to remove the bg without making it look ugly.
i also had an issue where my cat would not actually run, it’d just stay stuck. it took me too long to figure out that i just had the animations named differently, Walk_Right in code but Run in the actual animation itself.
overall, i think this is going great! also, creds to tuff carysaurus for making these sprites! if you want these, you can find the free version at: https://carysaurus.itch.io/black-cat-sprites