Updating the village... Yay
- Nathaniel Tyler Jones
- Mar 31, 2016
- 1 min read
Hello folks happy Easter and all that.
This week I'm writing all about the new village system I'm implementing.
But to start with lets talk about the old one.
Originally we only needed one shop menu, that holds everything the player needs; resources, new houses and a few upgrades for the plane, so we clumped everything together in one messy system.
The script that makes this all possible is written so that whatever the cursor is highlighting will be what you purchase when the purchase button is pressed, from there it deducts the amount of things it took to buy it from the player and if necessary, updates the cost of items to a higher price.
Thankfully when writing this script, I kept in mind that i would have to update it in the future. Because the script is written this way, in most cases I can create another shop with different products and slap the same script on it, as long as I add the products to the script itself, which is simple to do.
While I've been doing this, our lovely artist Joel, has been creating new models for the buildings and shops alike. Which are being used to replace the old one, and to differ between the regular trader and the other shops.
Once all this has been completed, I will be moving onto creating an actual place to end the game in favor of the village, as of this moment it is just a glowing circle.
Anyway peace out guys, hopefully my next post won't be late :P
- Nathaniel Tyler Jones-
Comentarios