Devlog 1: Adding Cap to Knights


I have been working hard on adding more spermalicious features to my game. I have a basic prototype down, but need to add basic things like main menu capping the amount of knights and formations.

First I tried making a if statement that said if there is more than 15 knights then the button will keep return you to its original state. For some reason whenever I added a knight it would not add to the variable.


Turns by using the term var it was trying to constantly reset it to 1 so removing the word var fixed the issue.


I then easily added it so when you press remove knight it will remove the knight from the variable.

Files

Knight Fight.zip 15 MB
Sep 11, 2022

Get Knight Fight

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

This update will be added soon with other features.