- 1
- Posts
- 6
- Years
- Seen Sep 7, 2018
Hi! I'm attempting to implement random generation of the mining minigame dig spots like in the Sinnoh Underground, but I'm not completely sure how I should go about it. I don't necessarily need to have the ability to touch on the ground and see sparkles appear, but I want the dig spots to be randomly placed on what I deem as "wall" tiles.
I know I would need to break it down into:
- Establish which tiles are walls (probably an array)
- Pick an x amount of those tiles to make mining spots
- actually make them mining spots
- add the sparkle
I have coding experience, but not a whole lot in this language. If someone has already done something like this, feel free to let me know, but otherwise, any help would be greatly appreciated.
I know I would need to break it down into:
- Establish which tiles are walls (probably an array)
- Pick an x amount of those tiles to make mining spots
- actually make them mining spots
- add the sparkle
I have coding experience, but not a whole lot in this language. If someone has already done something like this, feel free to let me know, but otherwise, any help would be greatly appreciated.