• 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.

Simple Dual Screen System

664
Posts
16
Years
  • Great script crazyninjaguy, but I have this problem:
    http://www.iaza.com/work/100404C/error51388.png

    Thanks for all.

    That would be your screen size set at 240x160.
    You can do one of two things to sort this out.

    1. Change your screen size back to 480x320
    2. Change the values in the script.
    2.1 - Find the line that says
    Code:
    Screen.resize(485,695)
    Change that to this
    Code:
    Screen.resize(245,330)
    
    2.2 - Find this line: [code]@spacer=IconSprite.new(0, 320)
    Change the 320 to 160

    2.3 - Find this line:
    Code:
    @sprite=IconSprite.new(0, 325)
    Change the 325 to 165

    It works for me! It works!

    But, er, how do you get it to actually do something? Like, menus and whatnot.

    At the moment, this script is only a base. In the future i'll be adding various different menus that you guys can choose from.

    Realy nice Script. Only one thing, when you want to change the Screen Size there is no Dual Screen anymore.

    Gigatom~

    Yeah, in the next version, i'll take out the option where you can change the screen size in the options menu.
     
    69
    Posts
    14
    Years
    • Seen Nov 19, 2014
    Very thanks crazyninja guys.

    I now how i do to show images in the bottom screen.
    I know what i need to put
    Show.picture("picture filename") but where???

    Sorry for disturbing
     
    664
    Posts
    16
    Years
  • Ok well.
    When you create a new event command inside the events editor window (with Show Message etc.) click the 3rd tab at the top to go to the 3rd event commands page.

    Right at the bottom theres a command called Call Script.
    Click that and enter the Show.picture command in there.
     

    Birdybot

    -insert witty phrase here-
    139
    Posts
    14
    Years
  • Ok well.
    When you create a new event command inside the events editor window (with Show Message etc.) click the 3rd tab at the top to go to the 3rd event commands page.

    Right at the bottom theres a command called Call Script.
    Click that and enter the Show.picture command in there.

    I found it works if you put the Show.picture thingy at the bottom of the Duel Screen script.
     
    664
    Posts
    16
    Years
  • You can do that yeah.
    That way a picture will show up as soon as you start the game, and will stay there until you set a new picture.
     

    Birdybot

    -insert witty phrase here-
    139
    Posts
    14
    Years
  • Ooh, an updated version sounds wonderful. I've managed to run the current one perfectly fine, with an image and I've even managed to resize it :) So I have good faith in your scripting abilities!
     
    20
    Posts
    15
    Years
    • Seen Oct 26, 2015
    Hey if you dont mind me askin (sorry if you do) but when do you think youll release the next script?
     
    664
    Posts
    16
    Years
  • Lol yeah.

    Well ok, just thought i'd let you know i'm working on V2 now.
    It'll have a mouse module with instructions, and a lot of customizations that can be controlled by you, including easy screen resizing etc.
     

    KingCharizard

    C++ Developer Extraordinaire
    1,229
    Posts
    14
    Years
  • Good work CGN! I really do like this. Now I just have to go read up on some Ruby/RGSS and see if I can customize it to do what I want.

    Kudos to you, instead of waiting for him to expand it your gonna try yourself, if your serious pm me I can give something that will help u greatly with learning RUBY
     

    Vorpalis

    Creator of Pokemon Chromite
    26
    Posts
    15
    Years
  • Bit of script to help

    Code:
    Screen.resize(485,695)
    @spacer = Sprite.new
    @spacer.bitmap = RPG::Cache.picture("spacer")
    @spacer.y = 480
    @spacer.z = 9999999
    
    @background = Sprite.new
    @background.bitmap = RPG::Cache.picture("menu_tile_picture")
    @background.y = 500
    @background.z = 51
    @menu = Sprite.new
    @menu.bitmap = RPG::Cache.picture("lower_screen_bg")
    @menu.x = 5
    @menu.y = 360
    @menu.z = 100
    @item_icon = Sprite.new
    @item_icon.bitmap = RPG::Cache.picture("Pokedex")
    @item_icon.x = 32
    @item_icon.y = 532
    @item_icon.z = 9999
    @skill_icon = Sprite.new
    @skill_icon.bitmap = RPG::Cache.picture("Pokemon")
    @skill_icon.x = 232
    @skill_icon.y = 532
    @skill_icon.z = 9999
    @stat_icon = Sprite.new
    @stat_icon.bitmap = RPG::Cache.picture("Bag")
    @stat_icon.x = 32
    @stat_icon.y = 660
    @stat_icon.z = 9999
    @equip_icon = Sprite.new
    @equip_icon.bitmap = RPG::Cache.picture("Pokegear")
    @equip_icon.x = 232
    @equip_icon.y = 660
    @equip_icon.z = 9999
    @save_icon = Sprite.new
    @save_icon.bitmap = RPG::Cache.picture("Trainer Card")
    @save_icon.x = 32
    @save_icon.y = 778
    @save_icon.z = 9999
    @end_icon = Sprite.new
    @end_icon.bitmap = RPG::Cache.picture("Save")
    @end_icon.x = 232
    @end_icon.y = 778
    @end_icon.z = 9999
    Is this bit of code any help (It's from your old dual screen script)
    You'll probably need to edit the sizes and stuff
     

    Birdybot

    -insert witty phrase here-
    139
    Posts
    14
    Years
  • Woah, today or tomorrow?! That'd be some pretty quick working!

    I would like to know how I can put an image on top of the dual screen's background image. I'm not gonna do this, but for example having a picture of a chicken on the bottom screen then putting a picture of a Magikarp on top of it.
     
    664
    Posts
    16
    Years
  • Well hopefully in the next release i'll make a script version of what you want, but for now, i'll just tell you how.

    First of all, create the background with Show.picture("filename")
    Then, do a show picture event command with a picture, and set the X and Y coordinates.
    Remember, the Y coordinate MUST be more than 340 for it to appear on the bottom screen.
    And just set the picture number to 2.

    Any pictures with a higher number than that will appear on top of it, so it's ideal for buttons etc.
     
    Back
    Top