During the last working week I have work on developing a few new elements of the game. Firstly I have implemented a working game loop allowing the player to continously play the game, lose, return to the menu and play once again. This will has already created a more game like feel to my program and really brings together all of the previous work I have done. Issues did arise when coding the loop, when the player is prompted to return to the main screen the key they would press would return them back to the game rather than the menu screen. I discovered this happended due to the play button for the game and return to menu were the same and due to the lack of a delay the game would run forever without pausing. To fix this i simply added a brief cooldown period which has fixed the issue.
As stated last week my focus was working on the Anchor pickup and ability. As of now the anchor pickup and ui would as intended as the code is similar to the currently working life system so no issues came up. The firing of the anchor ability on the other hand isn't quite finished, in its current form it can be projected onto screen only when player currently has an anchor but the projectile does not move and the anchor pickup is not removed from the players inventory.
The chargers from the last post are still causing some unknown issues but they are now capable of being deleted from memory on hit finally fixing the memory leak issue they were causing. As of now there is an issue where on hit the move update my players position slightly to the left. This will be looked into.
And lastly the plans of this week. The anchor projectile will be fixed and be able to destroy objects, the third enemy type will be coded and implemented and a hazard will be added which will have the unique quality of only being able to be destroyed by the anchor projectile.
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.