dreammelter / NVD23

Example Godot project for the Speedrun Workshop
0 stars 0 forks source link

Cannon coords seem off? #27

Open dreammelter opened 1 year ago

dreammelter commented 1 year ago

🚨 Not sure what the difference between the sandbox where I prototyped the paddle behavior and this new file, but things don't work like they did.

Clicking to fire a ball doesn't send it away in the right direction at certain angles on the path. Rather than firing perpendicularly (which is how the marker is oriented and how it works in the sandbox) it might be affected by skew, like the bar sprite was. It could also be something else entirely, considering I managed to clean up sprite skewing a bit anyway...

Not sure how to go about debugging the marker yet, but we unfortunately don't have time to for this item. Leaving this as a "bonus" fix while I try something else out so we can finish this prototype.

See: https://github.com/dreammelter/NVD23/issues/1#issuecomment-1749790139

dreammelter commented 1 year ago

what if... we didn't need the path follow nodes? something rotating in place will rotate in a circle regardless.

UPDATE: ball still fires wrong. But I also noticed the cannon component has to be offset A LOT to position it properly on this new scene. Which is odd.

"we unfortunately don't have time" Turns out I started debugging this by accident trying something for the cursor...

dreammelter commented 1 year ago

Leaving open in case I decide to fix or repurpose the cannon. The related block breaking mechanic issues are closed for now, though.