DEVLOG #13 - ALPHA v1.3
Hello and Good Day,
"A New Level of Confidence and Power!" - PANTERA
R.I.P Vinnie Paul
Ok - Back to GameDEV!
Under Brush ALPHA Version 1.3 Released! Here is what has been added:
- Player Die Animation added and Programed (Cheat = Press "ENTER" to die)
- Added Player Die Sound
- Respawn After Death Programmed -- Respawn at original player start location unless a Shelter is Built - If Shelter is built player will Respawn at Shelter
- Updated GUI Menus some more (Still WIP)
- Added "LEVEL UP" sound
- Harvesting now takes less time
- Implemented the Player Leveling System (Chop / Mine / Build / Garden) -- The More you Do the Higher Your Level will become
- Set a Level Cap of 20 (This is by design and wanted)
- Placing a Garden increases your Garden Level Experience
- Completing a shelter increases your Building Level Experience
- Added Inventory to the Player Menu (Fibers, Wood, Stone, Metal)
All Very Cool Stuff Added - Lets take some time and chat about the Player Leveling System and how I like to make this type of system work.
1st I will add the Global Variables to be used. I add them to my Global Variable Object: (Example of the Chop Level System Below)
- level_chop = the players level in this skill
- level_chop_max = the level cap I have put in place
- level_chop_exp = the variable that will increase when chopping is happening
- level_chop_max = the point where the level_chop_exp will reset and your player will increase a level_chop level
2nd I will make all of this work in a Step Event. This also lives in my Global Variables Object:
The above Code says:
If the player is chopping and the chop level has not reached its cap (20) then the chopping experience should raise .1 per frame.
Then:
The above Code says:
If the player's chopping experience level reaches the max (500) then the player will gain a chopping level, the time its takes to chop a tree down will decrease, the experience for chopping is reset to 0 and a nifty little sound is played. YAY! By implementing the code this way it means that each level raised the player will actually be chopping less per level making it take slightly longer to level up each time.
I implemented this for all 4 of the players skills. Chopping, Mining, Building and Gardening. I also made changes to the Menu GUI to reflect the level system and to show the user what level they are currently at. Totally WIP - So much Menu work still! Never-Ending -
It is interesting to write this out this way. My mind works in code and this is cool to see what it's doing. Hope this Helps someone somewhere.
Life is Short = Be Creative
Files
Get Under Brush (Prototype)
Under Brush (Prototype)
A Work-in-Progress, Pixel Art, Survival, Foraging, Farming, Crafting Game.
More posts
- DEVLOG #19 - ALPHA Version 1.7 Released!Nov 25, 2018
- DEVLOG #18 -- ALPHA Version 1.6 Released!Jul 15, 2018
- DEVLOG #17 -- ALPHA Version 1.5 RELEASED!Jul 09, 2018
- DEVLOG #16 - ALPHA v1.4 ReleasedJul 05, 2018
- DEVLOG #15 - MuSiC!Jul 01, 2018
- DEVLOG #14 - The Leaf Tree!Jun 27, 2018
- DEVLOG #12 - Death to PlayersJun 22, 2018
- DEVLOG #11 - GUI Menus not GeoducksJun 22, 2018
- DEVLOG #10 - Art UpdateJun 19, 2018
Leave a comment
Log in with itch.io to leave a comment.