P#114402 2022-07-16 10:59
I am very new to coding and pico 8 has made it that much easier for me to start. It's been a lot of fun!
In the last couple of months, I've been playing around with code and following various tutorials on youtube. Recently I started working on a rudimentary pinball game. It now has a bouncing pinball on scrolling table using the full vertical length of the map. While collision works for the most part, the ball does often 'catch' on sides of flagged tiles.
I would really appreciate some advice on what I am doing wrong in the collision functions.
... and a supplementary query I have is can I use existing code to change the angle at which the pinball deflects? I suspect it will require trigonometry but thought I'd check before moving on...