Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Help with Showing pictures script

Ok, this is something i desperately need help with so i'll be grateful for any sort of answer.
I've just changed my screen resolution to double widthways so that i can display pictures on the black part (where the map doesn't go)
But whenever i set the picture to display at x = 640 with the showpicture command, it cuts off the part of the picture when it hits the black part of the screen. (see screenshot)

Screenie.jpg

What i want is for the image to display on the black part of the screen.
So which part of which script would i go about editing? I've tried everything that i can think of but nothing seems to work.
Any help is appreciated, thanks.
 

Ares

Member

Well, the default Viewport is 640x480, so you'll have to go into the script: Spriteset_Map
and change:
[rgss]@viewport1 = Viewport.new(0, 0, 640, 480)
@viewport2 = Viewport.new(0, 0, 640, 480)
@viewport3 = Viewport.new(0, 0, 640, 480)
[/rgss]

to
[rgss]@viewport1 = Viewport.new(0, 0, 1280, 480)
@viewport2 = Viewport.new(0, 0, 1280, 480)
@viewport3 = Viewport.new(0, 0, 1280, 480)
[/rgss]

I didn't test it, but it should work i guess....
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top