Hey,
I'm going to start my first project, a text based game like , A Dark Room.
I have a few questions regarding the way to program it/set it up.
1. In unity, i want to have clickable text, when the player clicks it, it loads to the next level.
I tried with
void Update () {
if (Input.GetMouseButtonDown(0)) ;
Debug.Log("Pressed left mouse.");
}
But it keeps spamming "Pressed left mouse", and i'm not sure how i even attach the mouse press to the text. Or can i add a button component to the text?
2. Ill be cycling through text, and picking up items, should i do it all in new scenes? And just use a LevelManager script? Or can i do multiple levels/texts in 1 scene?
3. Where do i start with players being able to save their progress? Or use autosave? For where they are at a level, or the items they picked up.
I'll probably have more questions later on , but these are already my first few mindbreakers :)