Day 2 Baby


Got quite a bit done today. The biggest thing was the charge shot. It was a lot easier than I thought it would be. I only really needed one main line of code and then I could move that into all the other code I had for shooting the ball already. I feels really good and I kept messing with the physics. I might need to keep adjusting it but I guess I will see how it feels compared to a real pool table. The next big thing was messing with some more hitboxes. I added some circles for the holes and ended up screwing with the polygon collider so that there was collision behind the holes. I didn’t need the ball going through the walls. I guess even before that I worked on respawning the character. For some reason, this took way too long. I was stupid and looked at every solution except for onTriggerEnter2D.  After this I made it so that the position is reset. I also had to make the velocity 0 and it seems kind of abrupt but I will just have to add a timer and maybe an animation for the ball falling down. I finished off the day by making some placeholders for the enemies. I think they look pretty good but I might have to adjust the design depending on how it looks in game. I guess tomorrow I want to start on spawning the enemies, giving them AI and maybe killing them.  I would also like to animate the pool cue moving back. It shouldn’t be too hard I hope. Overall, this project isn’t feeling too hard and I should be done in a month at the most and a couple weeks at the least.

Leave a comment

Log in with itch.io to leave a comment.