Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Liked the game with the physics and the sound. It is a bit difficult to try to achieve the precision the game requires tho. What I wanted to learn is I opened this game a few days after I first played it, but it still started from the level that I last left it. How did you do this?

(+1)

I used unity's player prefs to save an int after completing a level and then load the level based on that int whenever a player hits play. There are a few reasons not to use player prefs (they are easy to manipulate from what I have heard). Brackey's has a good video explaining a more secure save system. 

If you want to use player prefs you can check them out here! https://docs.unity3d.com/ScriptReference/PlayerPrefs.html

Thanks for the direction!