You are browsing as a guest. Sign up (or log in) to start making projects!

3h 19m 40s logged

Dev log #22
.
Back to business!!
.
Today I added:

Uncompleted level select lockout
Separated tile load into own file
Easter egg room added

Level lockout works by calculating max_player_level, the furthest level a player can select based on if they have beat the previous levels.
.
This works buy using a function to check if current player_level is greater than max_player_level, if it is then max_player_level = player level.
.
Then for level select button with number greater than max_player_level, a red cross is screen.blited ontop,as well as not allowing mouse clicks of the rect from having any function.
.
Tile file separation helped me remove 150 lines from my main file, improving readability.
.
My easter egg has a 2% chance of happening and gives the player a custom gun appearance on discovery.
.
The code used to change the guns appearenece should let me, in future, make custom skins for the gun, skins that could be rewarded for levels complete, secondary level goals reached, ect…
.
I will not share how to reach my secret room, but I think it would be better for someone to stumble across it by accident.
.
Good day today, progress is picking up pace again, good job me!!!
.
Strange, it seems, there is a man here….

0
33

Comments 1

@ShinyMist

sorry for low quality gun image, no idea what caused that