#Question about simulate digging earth

13 messages · Page 1 of 1 (latest)

ornate quartz
#

Hi,

I'm wondering how or if bevy can do things like this a bit:
https://store.steampowered.com/app/1713810/Lumencraft/

To precise, i'm interested the way the earth can be dig in 2d and avoiding despawing sprite by sprite .
Here are my thought:
A front layer with the dirt which can't be run through. An attack for the player which will destroy the front layer ( can be in a radius for exemple). After that it's an animation on destroy.

What do you think?

Lumencraft: A Top-Down Rogue-Like Shooter with Base Building & Tower DefenseLumencraft is a unique combination of a top-down shooter and base building game with tower defense elements. Enter procedurally generated levels with a fully destructible environment to build your base, dig some tunnels and find the precious Lumen - humanity's only chanc...

Price

$19.99

Recommendations

789

▶ Play video
zenith bone
#

Yes, you can do this with bevy (or any engine out there). Though this is on technical side of the things, generic but usually game specific

#

There are great devlogs by Lumencraft, which I heavily suggest checking out 😄
https://youtu.be/ujy9ANE2phc

Wishilst on Steam!:
➡️ https://store.steampowered.com/app/1713810/Lumencraft/

Soon we will be able to discuss the matter of playtesting with you. For now, we are happy to announce the very first devlog! Grab a bucket of popcorn and enjoy the show! We will teach you how to destroy the Earth!

Facebook ➡️ https://www.facebook.com/lumencraftgame
...

▶ Play video
#

They have masks they apply texture in a shader. Then if you destroy something, they remove that color from mask, so looks destroyed

#

Physics of it is a little more complicated though

#

IIRC it is based on a data structure called sparse tree

ornate quartz
#

Oh thx a lot for all these info. Didn't know he had a devlog. 😅

zenith bone
#

Yeah, it is a great source of information! 😄

frozen lotus
#

this might be interesting: it's not a full Plug-in, but the essential core

ornate quartz
#

I will look at it, it looks interesting at first but i need also to add physics to it and after that to make it pretty😅 surely with domr texture or shader so i need to see if it can ne adapted

#

But thx for the info

buoyant ice