Profile avatar
donkulosislabs.bsky.social
Captain Diarrhea and The Shartening out now! http://bit.ly/3utUvgR https://mastodon.gamedev.place/@donkulosislabs https://x.com/donkulosislabs
23 posts 47 followers 93 following
Regular Contributor
Conversation Starter
comment in response to post
Great idea. Add please! 🫡
comment in response to post
Correct.
comment in response to post
Awesome :D Let us know how it goes
comment in response to post
Like this, perhaps: if shapecast.is_colliding(): for i in shapecast.get_collision_count(): var collider = shapecast.get_collider(i) // collider.has_method(...), etc.
comment in response to post
I see! Peeking at the docs, it says "one of the multiple collisions at index". Meaning, there can be multiple collisions simultaneously and you have to tell it which one you're interested in (by index). You could use get_collision_count() to find out how many, and loop over them.
comment in response to post
Can you elaborate on "doesn't work" and "keeps crashing"? What solutions did you try and how don't they work? I'd say don't give up! Shape casts should work.
comment in response to post
I'm slowly working towards a bevy plugin to support 2D destructible terrain games, like Lemmings or Worms. So far it's more so on the terrain data manipulation end of things, including general tools for working with it (like this pathfinding bit), and less so rendering.
comment in response to post
Sure! I have a camera that represents the player's view, and then I have a position marker that is associated with the screen. When I interact with the screen, I create a temporary camera and interpolate the position and rotation from the player view to the screen marker. Happy to elaborate.
comment in response to post
Wow, thank you! It was super fun to build.
comment in response to post
@darkzek.bsky.social As promised! 🥳
comment in response to post
Thanks! I have a ton of animated gifs showing various features, but I just learned that's a limitation around here. I'll be capturing vids going forward, so I can share here! Stay tuned. :D