Sign in to follow this  
  • entries
    55
  • comments
    55
  • views
    24447

Skip To The End

Sign in to follow this  

108 views

Today I got passwords working so the player can now skip to levels they have already completed (these will be given to the player after completing the level - the level transition).

I have the passwords in a text file, which is read into a two-dimensional array of char. I was going to use an array of strings but I had to read the player's input character by character. So that was an array of char and it was easier to just cycle through each password and check each letter explicitly (passwords are only five letters long).

After typing in their password, the player presses enter and it will either clear the password they put in (if its invalid) or start the correct level.

Tomorrow, I'll start on either the level transitions (I didn't put these in my original plan so I don't really know what I want them to contain - I'll need to brainstorm). Or the high scores depending on what mood I'm in. Then, after that, it's just powerups (will take a while) and sound (finding the right sounds will be the most time consuming I think).

Thanks for reading
-AEdmonds
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now