So I've begun thinking of menus, and start screens for my game. I want to have a nice big "LOVE2D" screen when the game starts, as well as some other minor stuff.
I'm not totally unfamiliar with game states and I could probably create a really gross version of what I want, though I'm wondering if there is an easier/better way.
Basically what I want is this:
# Launch Game
> Shows LOVE2D splash screen (fade in, for a couple of seconds)
> Personal splash screen (fade in for a couple of seconds)
> Game Logo/Splash (fade in for a couple of seconds)
[[perhaps a small loading bar throughout the splash screens]]
# Main Menu
> New game
> Options (only video scaling/ audio options)
> Quit
So - from what I actually know - I could create this by basically programming and timing everything, though I assume this isn't the best way. I want this to be as stable and polished as possible. Anyone have any thoughts on this?
Thanks!
splash screens, game states, loading, etc.
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: splash screens, game states, loading, etc.
All decent ways to do that basically involve having a draw and update function for each state, put into a big table, and then you can defer love.update and love.draw to those functions.
Help us help you: attach a .love.
Re: splash screens, game states, loading, etc.
Yeah that's actually how I imagined doing it, and it's how I've done it in the past as well. Is this the best way?Robin wrote:All decent ways to do that basically involve having a draw and update function for each state, put into a big table, and then you can defer love.update and love.draw to those functions.
@rynesaur
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: splash screens, game states, loading, etc.
Yeah, that or using a game state library (which is usually built on the same principles). You can choose which one you prefer, that doesn't really matter.
Help us help you: attach a .love.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: splash screens, game states, loading, etc.
Ryne, did you ever see my game Dye? I had something very similar to what you described, minus the splash screen. Dye is a simple enough game that it might be a useful reference.
Wow, now that I've typed that, it sounds conceited as heck.
Wow, now that I've typed that, it sounds conceited as heck.
Kurosuke needs beta testers
Who is online
Users browsing this forum: Google [Bot] and 4 guests