• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
451
Posts
12
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...
     

    zingzags

    PokemonGDX creator
    536
    Posts
    15
    Years
  • 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.
     

    Pharetra

    zzzz
    451
    Posts
    12
    Years
    • Seen Apr 22, 2024
    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:
     

    venom12

    Pokemon Crystal Rain Relased
    476
    Posts
    17
    Years
    • Age 33
    • Seen Dec 28, 2023
    I think it need to be
    @pic.name=("Graphics/Pictures/splash_"+@splash+"")
     

    zingzags

    PokemonGDX creator
    536
    Posts
    15
    Years
  • The reason you are getting that error is because you are not suppose to call the image that way.
     

    FL

    Pokémon Island Creator
    2,450
    Posts
    13
    Years
    • Seen May 4, 2024
    Try: @pic.name=("Graphics/Pictures/splash_"+@splash.to_s)
     
    Back
    Top