Day 29

Today at the beginning of class i fixed the powerups with this code.


//Powerup activation
if (powerup) {
    jumps = 1;
}
if key_jump and (powerup) {
    powerup = false;
}

So that was easy. Then I made a new level where you have to jump twice to get to the platform.

Then at the last bit of class of worked on the title screen.
I used the same code as my last game. Quit exits game, Level select takes you to level select and start, starts from level 1.

Tomorrow i will work on another level.


No comments:

Post a Comment