• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Animated Title Screen

Pharetra

zzzz
  • 436
    Posts
    14
    Years
    • Seen Apr 22, 2024
    I've made a nice (if I may say so) Title Screen with 96 frames and I'd like to use it. Problem is, it doesn't work. .Gif files won't work and I've tried renaming the file to splash.png (changing the extension) without succes.

    What is the best way to do this? I do not have much knowledge of RGSS, so...
     
    Making an image for each 96 frames name them some thing like splash_1,_2,_3, and etc... then make a global variable it can be anything like
    Code:
    @splash=0
    then once you start looping
    Code:
    @splash+=1
    this makes it so it can play each frames
    then
    Code:
    @splash=1 if @splash==96
    once it hits 96 it starts the animation again from frame one.
    when you are going to make the splash images show do something like this
    Code:
    ("Graphics/Pictures/splash_"+@splash)
    But gif images should work, when they are renamed to png.
     
    I suppose these lines of code have to be added to the script Intro_Scene?
    I've got this so far:
    Spoiler:

    I get this error after starting the game:
    Spoiler:
     
    I think it need to be
    @pic.name=("Graphics/Pictures/splash_"+@splash+"")
     
    Back
    Top