You are browsing as a guest. Sign up (or log in) to start making projects!

1h 22m 54s logged

Virtual Pet

DEVLOG: #9

window collisions, new drag anims, game affects mood

What’s new?

  • Window Collisions: Bean will now collide off the custom windows, + BOUNCE off them and the edge of the screen!
  • Drag Animations: When being dragged around the screen, will be in a crouched position. When thrown, will do a pounce animation once.
  • Game: Endless Runner will now give Bean more mood / happiness based off your points! Every time you score, a bit of her happiness goes up.
  • Auto Sleep: If energy is low, Bean will automatically take a nap to restore energy.

Struggles?

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.

What’s next?

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.

0
32

Comments 2

@D-Pod

love the pixel art, really cute animations! you should probably add some velocity increase on the way up and decrease on the way down (kinda like parabolic movement) to the jump movement in Endless Runner, but it looks really good as is! great work!

@marygoat

@D-Pod thanks! i thought of doing something like that, but it felt like too much math lol. ill definitely keep that on my to do list if i continue on this!