09-Sep-2023, 19:02
(This post was last modified: 09-Sep-2023, 22:10 by SweptThrone.)
Week of September 3, 2023
Collision Test
The past few weeks have been dedicated to setting up basic collision between the player and "props," of which there are currently only two: rocks and trees. The video shows the player unable to walk through rocks and the bases of trees.
Originally, I had implemented my own movement system where the game would set the player's position by adding their velocity to their current position. Turns out you need to use a special Godot function to move your entities if you want them to collide with things. My fault for not following a tutorial all the way through! I had some big issues with spawning props with their hitboxes because I didn't have a solid grasp on the parent/child relationships when it comes to positions. Furthermore, I'm trying to figure out the optimal way to store data about props so that I don't have to set every value every time I spawn one. I'm not quite Down With OOP yet so I'm kinda just winging it for now.
Also, I've been working on Garry's Mod stuff as well as Tale of Flocksworth because I want to. Read more about that here.
Collision Test
The past few weeks have been dedicated to setting up basic collision between the player and "props," of which there are currently only two: rocks and trees. The video shows the player unable to walk through rocks and the bases of trees.
Originally, I had implemented my own movement system where the game would set the player's position by adding their velocity to their current position. Turns out you need to use a special Godot function to move your entities if you want them to collide with things. My fault for not following a tutorial all the way through! I had some big issues with spawning props with their hitboxes because I didn't have a solid grasp on the parent/child relationships when it comes to positions. Furthermore, I'm trying to figure out the optimal way to store data about props so that I don't have to set every value every time I spawn one. I'm not quite Down With OOP yet so I'm kinda just winging it for now.
Also, I've been working on Garry's Mod stuff as well as Tale of Flocksworth because I want to. Read more about that here.
~SweptThrone •.-