Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Skip To The End

Sign in to follow this  


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
Sign in to follow this  


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
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!