How can I make a Title Screen?

I don’t know how to code at all, and I would like to make a title screen for a game I am trying to, and probably never make…

I was going to say that the title screen should be the last thing you do, but then I thought better of it. If you want to start with the title screen, why not? It’ll be a fun way to learn about the UI stuff in Unity, and you can actually write a complete game (of certain sorts) using just the UI stuff, so… go for it!

So, start by going through these lessons on UI. You can make a title screen with probably no coding at all, but some of those lessons will show you some code. That’s OK. Follow along as well as you can; those are things you’ll need to know later.

Once you’ve been through all those lessons, you should be quite well equipped to make your title screen… but if you get stuck, post back here and we’ll help!

4 Likes

Not to mention it’s a good place to stick any objects that need to be present the entire game (like GameSparks’ script).

That’s true, though I tend to put such objects in all the scenes, and then do a little hoop-jumping to ensure that only one of them (the oldest one) survives when switching scenes. It’s more work, but I do it so that every scene can be tested independently. I’ve worked on some other projects where that wasn’t the case, and man, it’s a pain to have to test the scene you’re working on by switching to the title (or other setup) scene, and then navigate to the one you’re trying to test!

2 Likes

This is another post where I think to myself I’d like to learn your style of working. My current game uses a few Singletons and manager objects that all get called at application start, but only from the initialization scene. Would be much nicer to be able to jump in at any point.

OK, I’ve put this on my list of things I should write up as a blog post. I’m trying to get better about blogging regularly, and my list is fairly short, so there’s a reasonable chance I’ll get to this soon. :slight_smile:

3 Likes