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 transitions? no, this isn't your everyday question D:

MED

Member

Transitions for RMXP!! what a noob question

obviously the transition graphics tell which pixels appear first, second etc etc

I got the default script down well enough-

But I'm not satisfied  D:

--my question's this:
Is there a way to get a picture of the next screen to transition into the first not by appearing pixel by pixel or whatever, but by sliding in from, say, the left, pushing the first screen/pic out to the right.

I'm thinking something similar to Zelda: Link to the Past (for the SNES! great game... : D). I think rpg maker 2000 had some feature like it in their transitions.. I was hoping I wouldn't have to get too deep into the coding, but w/e.

I checked out the tuts and didn't see anything right away; so sorry if I turn out to be retarded and missed the obvious or something

much thanks to anyone who read this all  8D
 
1. Take a screenshot of the screen right before the transition and save that as a picture in the pic folder.

2. Show the picture when doing the transition.

3. Transfer player to new map.

4. Use move picture command to move that picture off the screen in which ever direction you want (e.g. [640,0] for sliding it rightward), revealing the new setting.


Have fun. :)
 

MED

Member

Hm, that would work.

though, with multiple transitions like this...
I actually meant something like the second screen sliding in with the player character or changes to that map already included, but now that I think about it, that may be too much of a hassle, eh?

XD well, I'll try it

Thank ya'
 
MED":3lurv6oo said:
I actually meant something like the second screen sliding in with the player character or changes to that map already included
Oh, then instead of using a screenshot of the screen before transition, take a screenshot of the screen after transition. Then slide that over, transport player, erase picture. Bam, it's there. D:

But yeah, it might feel like a hassle if you are not used to eventing pictures. But after you get used to it, it's fairly convenient.
 
Med, I think it's possible...

1) Freeze the current screen (Prepare for transition)

2) Transfer the player

3) Capture a bitmap of the new Game_Screen (not displayed yet, but the object exists)

4) Display the bitmap as a picture, off the screen.

5) Move the picture onto the screen

6) unfreeze the current screen to allow the transistion to occur behind the picture (Graphics.

7) Erase the picture.


I have to test to see if you can display a picture with the Graphics frozen,

[ EDIT ] Nope, the 'freeze' prevents the picture from showing until after the transition.

The rest is easy, except for Capturing the not yet displayed Game_Screen.
(but I think Seph already did this. I'll see if I can find it.)

Be Well
 

MED

Member

Aye

Well I tried some stuff out and found that adding a black border was the easiest solution. the black border covers the character and acts as the end of the screen. when that happens, like you guys suggested, a picture of the current area appears and immediately scrolls right and an off-screen pic scrolls in from the left. they both disappear and then I have the character set to walk out of the screen automatically.

It'll be a bit of a pain to take all those screens, but it doesn't look bad. Great for making things like areas in houses look like one unit :3


unless someone finds a more revolutionary way to do it, I guess this is it--
 
Just make a really big map, it won't all be on the screen at once and when you move to the edge of the screen it will move with you, it won't entirely like the Zelda games but it'll be as close as you can get without a script or playing with screenshots.
 

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