#11 | 2023-07-10 | Fixing Collision Bug #1
Hello!
My previous fix for the bug where the player can't climb a slope was not satisfactory, so I set out to fix it.
The angled tile I shared in DevBlog #9 didn't sit well with me. I hate having to manually place it instead of painting the grid like a tile.
In order to avoid doing this, I did some research. I learnt about the sprite editor and how I can customize the physics shape (collider).
In the sprite editor, in the "Custom Physics Shape" section, I pressed the "Generate" button and it spawned four moveable points on the sprite.
Moving these points allowed me to customize the collider to better fit the shape of a triangle.
Once I figured this out I felt great, one step in the right direction! I repeated this process for all four angled tiles.
With that done, I focused on fixing the bug itself. I went around a couple Discord servers looking for answers and got one that worked!
It was very simple to implement. A simple solution to a simple (yet seemingly complex) problem.
And this fix created another bug...
This bug looks like it'll be easier to fix, though I may have to completely rebuild my levels and add another tilemap + tag.
I'll fix this next bug as best I can before doing anything else. Once all bugs are ironed out, I will create some levels and move onto the second alpha build. So far I've done two alpha builds and will do two beta builds before initial release.
Here is a table to understand my plans for alpha/beta/release builds for this game:
One more thing to mention is that I'm pleased with how my improved graphics turned out. They have more texture and create depth. But if you look closely, when the tiles are next to each other they create a pattern. I wouldn't say that is a bad thing, but I may change it up by creating more tiles with the same colour scheme but slightly different from each other.
Thanks for reading and stay tuned for the next log!
Get Factory of the Damned
Factory of the Damned
2D Side-Scrolling Platformer!
Status | In development |
Author | Ice Diamond Studio |
Genre | Platformer |
Tags | 2D, Puzzle-Platformer |
More posts
- #27 | 2024-01-20 | Project EndJan 21, 2024
- #26 | 2023-09-24 | Beta v1Sep 24, 2023
- #25 | 2023-09-16 | New TrapsSep 17, 2023
- #24 | 2023-09-03 | Scaling Down DevelopmentSep 04, 2023
- #23 | 2023-08-25 | Development RoadmapAug 25, 2023
- #22 | 2023-08-24 | Alpha v2 ReleaseAug 24, 2023
- #21 | 2023-08-16 | Major Code OverhaulAug 16, 2023
- #20 | 2023-08-13 | PSAAug 14, 2023
- #19 | 2023-08-01 | Major Code OverhaulAug 01, 2023
- #18 | 2023-07-31 | Major Code OverhaulAug 01, 2023
Leave a comment
Log in with itch.io to leave a comment.