Building my own store

Hello i have a space game for android and your the spaceship that moves around and random enemies spawn toward you and you have to kill them. After a certain amount of points you earn by killing them you move on to the next scene. You keep moving to the next level and different enemies appear. Well in the main menu i have a button where it takes you to a store to obtain upgrades on your ship and different types of ships that you can get (you unlock a ship by completing a certain number of levels) ex. say i have to unlock ship 2, well i need to reach level ten to do so. Can somebody help me out with this because im very confused on the way to code this and it is becoming very frustrating. I don't know how to make it where you lock the ship until he reaches a certain number of levels and i dont know how to save it where if you purchase something it saves it and it saves the amount of levels you've gone through. Please help this is a very complicated topic thanks!

Comments

Sign In or Register to comment.