Dismiss Notice
This section is for the discussion of the tutorials and resources on Relic Castle. To find tutorials and resources, check out the Tutorial and Resource Manager for optimal navigation.

Resource Modular Pause Menu 1.0

Extremely modular. Extremely user-friendly. Somewhat pretty.

  1. Luka S.J.

    Luka S.J. Thread Author Wastage of Time member

    Joined:
    Mar 27, 2017
    Posts:
    70

    Resource Modular Pause Menu

    Discussion in 'Tutorials and Resources Discussion' started by Luka S.J., Apr 14, 2017.

  2. Jephed

    Jephed Trainer member

    Joined:
    Apr 1, 2017
    Posts:
    98
    I´ll be sure to add this! It looks very smooth :)
     
  3. Fontbane

    Fontbane Lettuce, Keep Me Warm... member

    Joined:
    Mar 23, 2017
    Posts:
    85
    Looks great, Luka! Seems like something every fangame should have. Customizable graphics are a plus!
     
  4. The Riks

    The Riks Rookie member

    Joined:
    Apr 15, 2017
    Posts:
    1
    Thanks Luka! I'll be sure to use it. :)
     
  5. Venomous_Zero86

    Venomous_Zero86 Rookie member

    Joined:
    Apr 15, 2017
    Posts:
    4
    how do i fix this
    ---------------------------
    Pokemon Chosen Ones
    ---------------------------
    Exception: NoMethodError
    Message: undefined method `pbBitmap' for #<PokemonMenu_Scene:0x7b30898>
    Pause Menu( New ):183:in `pbStartScene'
    Pause Menu( New ):343:in `pbStartPokemonMenu'
    Scene_Map:193:in `call_menu'
    Scene_Map:163:in `update'
    Scene_Map:68:in `main'
    Scene_Map:65:in `loop'
    Scene_Map:72:in `main'
    Main:74:in `mainFunctionDebug'
    Main:52:in `mainFunction'
    Main:52:in `pbCriticalCode'

    This exception was logged in
    C:\Users\Mike\Saved Games/Pokemon Chosen Ones/errorlog.txt.
    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     
  6. Marin

    Marin ( ͡° ͜ʖ ͡°) member

    Joined:
    Apr 13, 2017
    Posts:
    222
    This is something Luka added new. This is what the function looks like:
    Code:
    def pbBitmap(name)
      if !pbResolveBitmap(name).nil?
    	bmp = BitmapCache.load_bitmap(name)
      else
    	p "Image located at '#{name}' was not found!" if $DEBUG
    	bmp = Bitmap.new(1,1)
      end
      return bmp
    end
    It's something that came with the UPI I think
     
  7. Luka S.J.

    Luka S.J. Thread Author Wastage of Time member

    Joined:
    Mar 27, 2017
    Posts:
    70
    Ahh
    Ahh, that is definitely my bad. I overlooked it. I've updated the script to fix this issue.
     
  8. lilbluedemon

    lilbluedemon Lord of Shadows member

    Joined:
    Apr 10, 2017
    Posts:
    14
    For some reason the Pokédex does not appear when I use

    "$Trainer.pokedex=true"

    Would you happen to know why?
     
  9. Luka S.J.

    Luka S.J. Thread Author Wastage of Time member

    Joined:
    Mar 27, 2017
    Posts:
    70
    I think you also need to have a viable Pokedex. i.e. at least one species of Pokemon already seen/registered in the dex.
     
  10. lilbluedemon

    lilbluedemon Lord of Shadows member

    Joined:
    Apr 10, 2017
    Posts:
    14
    No, doesn't seem to show up at all.

    It does, if I use the default start menu.


    I've managed to get it to appear, but, no Pokédex shows up.
    I get this screen:

    I have a set Pokédex, and own 1, and have seen 2 Pokémon of that Pokedex.
     
    Last edited: Apr 20, 2017
  11. Luka S.J.

    Luka S.J. Thread Author Wastage of Time member

    Joined:
    Mar 27, 2017
    Posts:
    70
    Ok, so I was half right and half wrong. Right: you do need to have seen/owned at least one species of Pokemon before you can actually get access to the Pokedex. Wrong: there is one line of code that I seem to have missed from the original menu, causing the list of viable Pokedexes not to update.

    TL;DR: I updated the script.
     
  12. lilbluedemon

    lilbluedemon Lord of Shadows member

    Joined:
    Apr 10, 2017
    Posts:
    14
    I now get this
    [​IMG]

    When I try to open the pause menu.
     
  13. Luka S.J.

    Luka S.J. Thread Author Wastage of Time member

    Joined:
    Mar 27, 2017
    Posts:
    70
    I keep forgetting the same thing over and over again. Ok. Updated the script properly this time around.
     
    Jephed likes this.
  14. lilbluedemon

    lilbluedemon Lord of Shadows member

    Joined:
    Apr 10, 2017
    Posts:
    14
    Ah, it works perfectly now, thank you!! <3
     
    Luka S.J. likes this.
  15. Luka S.J.

    Luka S.J. Thread Author Wastage of Time member

    Joined:
    Mar 27, 2017
    Posts:
    70
    So I've made a quick update to the script. There's most notably 2 changes there:
    1.) Added the _INTL way of declaring the names, so that those of you who use Essentials' translation method can do so easily.
    2.) Changed up the way the Save option works. The menu now fades out first, and if you don't save again, fades back in again.
     
  16. Venomous_Zero86

    Venomous_Zero86 Rookie member

    Joined:
    Apr 15, 2017
    Posts:
    4

    thx this works great now
     
  17. Diverscope

    Diverscope Rookie member

    Joined:
    Apr 16, 2017
    Posts:
    8
    It seems that the menu doesn't consider if the player is currently in the safari zone or in the bug contest. Normally the "Save"-Option gets replaced by the "Quit"-option which lets you quit the safari game/bug contest. Furthermore both games show additional info on the Vanilla pause menu (e.g the remaining safari balls in the safari game).

    Also if the save acces is disabled by the event command ("Change Save Access: Disable"), you can still save your game.
     
  18. Luka S.J.

    Luka S.J. Thread Author Wastage of Time member

    Joined:
    Mar 27, 2017
    Posts:
    70
    Thanks for letting me know, I completely forgot about the Safari Zone aspects of the Pause Menu. Once my time frees up a bit further I'll take a look at it. I have another "feature" planned for the menu in any case, so I have to rework a few things.
     
    Diverscope likes this.
  19. Luka S.J.

    Luka S.J. Thread Author Wastage of Time member

    Joined:
    Mar 27, 2017
    Posts:
    70
  20. Venomous_Zero86

    Venomous_Zero86 Rookie member

    Joined:
    Apr 15, 2017
    Posts:
    4