PHS-TSA / wizards-in-calculus

TSA Video Game Design 2023-2024
3 stars 0 forks source link

Whizard can't Slide Up Slopes #19

Closed lishaduck closed 6 months ago

lishaduck commented 6 months ago

Contact Details

@lishaduck

What happened?

The whizard can't walk up slopes.

Reproduction steps

  1. Run the game.
  2. Walk up one of the ledges.
  3. You'll get stuck.

What should have happened?

You should be able to walk up them.

Date

2024-02-01

What device are you seeing the problem on?

Macbook Air 2020 (M1)

OS

macOS

Browser

No response

Context

15 proved that you can slide downward.

We're currently using move_toward, but we should be using move_and_slide() for a CharacterBody2D. I think that's what's causing the issue, but I'm not certain. Never mind. I misread those lines. I guess it's an issue with the TileMap then?

Code of Conduct

CC: @MattsAttack

lishaduck commented 6 months ago

Fixed in #22.