Rayd12smitty
Shadow Maker
- 645
- Posts
- 13
- Years
- Seen Feb 21, 2016
Hey guys. So Thanks to thor348 I figured out how to do something that has been bugging a LOT of people. How to Animate the Title Screen! I've seen many posts asking how you can use a .gif or multiple frames in a loop as a title screen instead of a static image. I found out how (It was actually really simple XD) Anyway here we go.
Tutorial by Rayd12smitty using Pokemon Essentials Version 11
The Images
First, you need your new title screen. No .gif images here! You need all your images as frames, one for each frame in the game (Unless you want to mess around with the timer) There are 20 frames in one second, so you may have a LOT of images. Thats alright though. Name your images
Splash_1, Splash_2, Splash_3, etc. Put them in a folder Called Splash inside your game folder in Graphics/Titles. I recommend over 100 frames, even if they are just duplicates. I have 40 different frames, but 3 or 4 of each one in a row so it doesn't move so fast. This brings the total to 120 or 160 depending on how fast I want it. It takes a while to name all the images but it needs to be done.
The Script
Alright. The script we are dealing with is Scene_Intro. This is the scene that loads the start screen (The black screen with Pokemon Essentials creators on it) and the Title screen. Open the script and go to line 50. It should say
Directly ABOVE it, add the line
This sets the title screen's frame to 1.
Then REPLACE the line that is now line 51 which says
with
This will change where the images are found and makes it so the images name depends on the variable we created (@Animation)
Halfway done. Now find the line that says
it should be around line 62. AFTER this line add
This adds 1 to the variable @Animation every frame and once it reaches a certain number resets it to 1. It also updates what image is being shown depending on the variable @Animation.
Replace ZZZ with how many frames your title screen has. If you have 160 images in the folder Graphics/Title/Splash, this number is 160. If you have 40 frames, this number is 40. Simple right?
Thats should do it :D Now your title screen acts animated, not static. Below I will explain one more little change to the title screen to help your game.
The Cry
If you've played your game or any other Pokemon Essentials game, you know that a random pokemon's cry is played when the "Enter" button is pressed. But your game might be about Rayquaza, you don't want a random Wynaut screaming when the player hits start! This is a real simple fix. Once again in the script Scene_Intro search for
and replace it with
where ZZZ is the national dex number of the pokemon who's cry you want played.
There are 2 places in the script where these lines are found. Do this to both
Please Read
Thats all. Thanks for reading through this and I hope you found it helpful. If you use the animated title screen edits, please give me credit Rayd12smitty. I don't require credit for the cry played. Please comment with any questions/errors (Although there shouldn't be errors if you followed the directions right)
Example (Mine don't use)
Tutorial by Rayd12smitty using Pokemon Essentials Version 11
The Images
First, you need your new title screen. No .gif images here! You need all your images as frames, one for each frame in the game (Unless you want to mess around with the timer) There are 20 frames in one second, so you may have a LOT of images. Thats alright though. Name your images
Splash_1, Splash_2, Splash_3, etc. Put them in a folder Called Splash inside your game folder in Graphics/Titles. I recommend over 100 frames, even if they are just duplicates. I have 40 different frames, but 3 or 4 of each one in a row so it doesn't move so fast. This brings the total to 120 or 160 depending on how fast I want it. It takes a while to name all the images but it needs to be done.
The Script
Alright. The script we are dealing with is Scene_Intro. This is the scene that loads the start screen (The black screen with Pokemon Essentials creators on it) and the Title screen. Open the script and go to line 50. It should say
Code:
@pic.name="Graphics/Titles/"+@splash
Directly ABOVE it, add the line
Code:
@Animation = 1
Then REPLACE the line that is now line 51 which says
Code:
@pic.name="Graphics/Titles/"+@splash
Code:
@pic.name="Graphics/Titles/Splash/Splash_#{@Animation}"
Halfway done. Now find the line that says
Code:
@timer=0 if @timer>=80
Code:
@Animation+=1 if @Animation<ZZZ
@Animation = 1 if @Animation==ZZZ
@pic.name="Graphics/Titles/Splash/Splash_#{@Animation}"
Replace ZZZ with how many frames your title screen has. If you have 160 images in the folder Graphics/Title/Splash, this number is 160. If you have 40 frames, this number is 40. Simple right?
Thats should do it :D Now your title screen acts animated, not static. Below I will explain one more little change to the title screen to help your game.
The Cry
If you've played your game or any other Pokemon Essentials game, you know that a random pokemon's cry is played when the "Enter" button is pressed. But your game might be about Rayquaza, you don't want a random Wynaut screaming when the player hits start! This is a real simple fix. Once again in the script Scene_Intro search for
Code:
cry=sprintf("%03dCry",1+rand(PBSpecies.maxValue))
pbSEPlay(cry,100,100)
Code:
pbSEPlay('ZZZCry',100,100)
There are 2 places in the script where these lines are found. Do this to both
Please Read
Thats all. Thanks for reading through this and I hope you found it helpful. If you use the animated title screen edits, please give me credit Rayd12smitty. I don't require credit for the cry played. Please comment with any questions/errors (Although there shouldn't be errors if you followed the directions right)
Example (Mine don't use)
![[PokeCommunity.com] Animated Title Screen and Other Title Improvements [PokeCommunity.com] Animated Title Screen and Other Title Improvements](https://fc01.deviantart.net/fs71/f/2013/117/0/6/title_screen_by_rayd12smitty-d635l6g.gif)
Last edited: