Hello.
I'll start explaining my core game concept and I would be appreciated if help me understand and how to implement such functionality. ill be using DirectX 9 by the way.
my game is top-down style game with 8 movement direction(like Hotline Miami), the player will be controlling a mining space ship or a robot with a drill attached to it.
the player will fly around and drill through the asteroids to gather resources. the stage cleared if the player meets the job quota.
I want the player to have free movement control while digging through the asteroid. I have been searching for polygon/texture dividing or splitting with little result.
I have also been trying to implementing Pixel perfect collision detection based on this article but I seem to hit a wall, it seems to be that SPRITE class isn't recognizable in DirectX 9.
the effect I'm trying to create is smaller to terrain destruction from the game worms or lemmings. here is a demonstration of the effect made with GameMaker.
https://forum.yoyogames.com/index.php?threads/solved-lemmings-style-destructable-terrain.26288/