LOG 26: FINAL DEVLOG MAINLY BUG FIXES AND SOME MINOR CHANGES
CHANGES
Enemies previously scaled to strongly and beat you too hard after the boss fight. Also because it was hard to scale the opponents down i decided to make the hp of everyone higher (everything got stronger in theory, player has 100 starting hp, does 20 damage etc.)
LATE ADDITIONS
LICENSE
I licensed the project under the MIT licesne because it seemed fitting
BUILD FILE
I added a build file for the repo so i could upload a release binary (ncurses is required tho)
BUG FIXES
HIGHSCORE BUG
There was a bug with the highscore not being displayed when there was no highscore.txt file. I needed to change the handling of the fact that the open function returned NULL, because NULL either meant, no file was there or no file could be found which resulted in no file being created because the function exited when the open function returned NULL, the fix was pretty simple overall tho (just adding an extra if conditional to check)
FULL INVENTORY BUG
Previously when having a full inventory, you couldnt pick up new items, issue was when using items that state didnt reset so one full inventory meant no items anymore :( . The fix was just to reset the state after using items
BOSS ITEM INVENTORY BUG
I forgot to make the boss item return the correct state which resulted in the item sometimes not being put in the inventory. The fix was just to add return ENTER_LEGAL to the boss items if statement
SET ROOM ISSUE
Because of random rooms sometimes boss room dimensions where bigger than current room which resulted in bugs (see previous devlogs). My previous fix worked in theory but had more affinity for potential bugs so i changed the set room function from two static values to two values that get passed into the function
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.