• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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

Great script crazyninjaguy, but I have this problem:
https://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.
 
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
 
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.
 
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.
 
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!
 
Hey if you dont mind me askin (sorry if you do) but when do you think youll release the next script?
 
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.
 
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
 
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.
 
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