hi guys im making a 2D mining game and wanted to worms armageddon style digging
i searched up and found out i have to make a part of ground sprite destructed then reset the polygon collider
but i have no idea how to do sprite one can you help me plz thx
You have selected one of the hardest most abstract things to code.
A mining game that modifies terrain is essentially a complete game AND a level editor rolled into one.
I suggest you consider a simpler approach such as simply filling your entire screen with small square sprites and deleting the ones you intersect with to cause digging.
Once you get that working 100% you will have learned a LOT of what is necessary to make a nice “smoothed terrain digger” system.
This one-step-at-a-time process works well for a lot of people:
Imphenzia: How Did I Learn To Make Games:
cant, unity is not made to let you delete pixels like that
theres workaround to do it, but it will be very laggy operation
Yeah, you’re asking about something so specific, and I mean this in the most respectful way possible, but it’s time you search google and youtube. One of the many awesome things about Unity is the fact that there is SO much information available. I don’t know how to do this myself, but I just searched youtube, and found this (among a bunch of other results):
"In the new versions of Unity, there is already a built-in feature for creating composite colliders with different modes. Check out the video via the link 2D Ring Collider?