Checkpoint 1 | Player Movement
I've started off with a really basic arena area just to define the boundaries and get the player movement working, I'll start to work on art later.
I got asked ChatGPT for a basic movement script and it was pretty good, I modified some values with the speed and made it so the player will jump for as long as I hold space. This gave a a movement system that felt similar to Terraria and I was happy with it.
I then tried adding a dash mechanic but it felt kind of unnatural and awkward for how little screen space there is. Also because of it having invincibility frames, it would turn off its hitbox, leading to it dashing out of the game window. The horizonal dash also didn't work properly.
This mechanic leading to more problems than I would like, I decided to scrap it and instead replaced it with a teleport to mouse position mechanic with a longish cool down. The cooldown time may change depending if I want to make attacks the player HAS to avoid using dash or If I want to make some attacks to constrict the player to a small area.
This new mechanic is good but it did have the minor issue of the player being able to teleport out of the game area, but it wasn't too hard to fix, so now the mechanic works well.
Death's Purgatory
Status | In development |
Author | mswalles |
More posts
- Checkpoint 3 & 459 days ago
- Checkpoint 2 | Level design73 days ago
- Game Concept90 days ago
Leave a comment
Log in with itch.io to leave a comment.