Hey all,
I'm currently developing a virtual pet site, and today decided to revisit one of the games I started a while back (but never finished). I scrapped the old code and re-wrote from the ground up in the last few hours.
The idea behind the game is that you are "Mining" for treasure, so I've created the terrain generation when you first open it, followed by the ability to "hammer" and "chisel" into the rock. If you have ever played the "underground" mining in Pokemon Gen 4, then you will know what this is based from.
For now, it is simply 4 layers of brown that get darker the more tougher it is, however before release I'll likely add images for the tiles instead.
The player has 2 tools at their disposal, but I've coded it so that it could have more in the future - maybe a drill for the hard rock, or a brush for the light rock.
I'm thinking there could be an "energy" bar that depletes each time you hit, and the game is over once the energy bar is empty. The Hammer reveals more and digs deeper into the rock, however would use more energy than the chisel, which doesnt dig as deep. The player would need to decide which would be better to use.
At the moment there is no "win" scenario, however I'm going to have it show a greyscale version of reward items that get revealed, and if the player manages to reveal the entire item before their energy is depleted, the item switches out into it's coloured version to imply "you have found this". The player can then continue looking for other items before their energy is all gone.
I've recorded a minute video of it so far to demonstrate the mechanics of it, I was wondering if anyone had any better ideas or suggestions?
PS. Sorry for the bad quality.. YouTube doesn't like this video because I haven't ran it through Adobe Premier before uploading.
I'm currently developing a virtual pet site, and today decided to revisit one of the games I started a while back (but never finished). I scrapped the old code and re-wrote from the ground up in the last few hours.
The idea behind the game is that you are "Mining" for treasure, so I've created the terrain generation when you first open it, followed by the ability to "hammer" and "chisel" into the rock. If you have ever played the "underground" mining in Pokemon Gen 4, then you will know what this is based from.
For now, it is simply 4 layers of brown that get darker the more tougher it is, however before release I'll likely add images for the tiles instead.
The player has 2 tools at their disposal, but I've coded it so that it could have more in the future - maybe a drill for the hard rock, or a brush for the light rock.
I'm thinking there could be an "energy" bar that depletes each time you hit, and the game is over once the energy bar is empty. The Hammer reveals more and digs deeper into the rock, however would use more energy than the chisel, which doesnt dig as deep. The player would need to decide which would be better to use.
At the moment there is no "win" scenario, however I'm going to have it show a greyscale version of reward items that get revealed, and if the player manages to reveal the entire item before their energy is depleted, the item switches out into it's coloured version to imply "you have found this". The player can then continue looking for other items before their energy is all gone.
I've recorded a minute video of it so far to demonstrate the mechanics of it, I was wondering if anyone had any better ideas or suggestions?
PS. Sorry for the bad quality.. YouTube doesn't like this video because I haven't ran it through Adobe Premier before uploading.