Game Development Community

dev|Pro Game Development Curriculum

TGB Splash Screen Resource

by Deozaan · 07/12/2009 (6:17 pm) · 2 comments

Ever since the Indie licensing changed to require us to display the TGB logo at the beginning of our games, I've always been a bit annoyed at having to try to figure out how to create a splash screen. Thankfully, there's a great SplashScreen Behavior out there made by Mike Lilligreen which makes it fairly simple to create a splash screen for TGB Projects. But then you have to manually download and copy the behavior and the official TGB logo into each of your game projects just to get the thing going.

I've simplified the process by creating a TGB resource that can easily be added or removed to/from any TGB project in the same way as the StarterArt resource can. Basically what I've done is taken Mike's SplashScreen behavior, the official TGB logo, included a template splash screen level (.t2d file), and packaged it up into a resource.

All you have to do is download the file once, unpack it into the correct directory, and you're good to go from there on out.

SplashScreenResource.zip

Unpack splashScreen (the directory) and place it into [TGB Install Directory]/tgb/resources. The next time you start up the editor you should be able to press Ctrl-R (Project → Resources…) and add or remove it as easy as that.

The resource defaults to showing the TGB logo, but it can easily be customized to show any logo. You can just load the [Project Directory]/resources/splashScreen/levels/splashTemplate.t2d from within the TGB Editor and make necessary changes, or if you prefer editing from your code editor, you can do it that way as well. Then just save the changes as a new level file in the [Project Directory]/game/data/levels directory and it's done.

Enjoy!

#1
07/13/2009 (5:57 pm)
Nice job
#2
07/16/2009 (12:40 pm)
Well done :)

I had already done this myself but it's a great idea to add these little useful things that perhaps should be standard with the TGB install itself!

Cheers
Colin