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.

Fading Images in and out

Hey,

How do I fade a picture? I have an event that runs as a parallel process...it goes like this:

@>Change Screen Color Tone (-255,-255,-255,0),@0
@>Wait: 20 frame(s)
@>Play BGM: 'TheBattle', 100, 100
@>Wait: 55 frame(s)
@>Change Screen Color Tone (0,0,0,0),@20
@>Show Picture: 1, 'presents', Upper Left (0,0),(100%,100%),255,Normal

The first Change Screen Color Tone is to make the screen black before the picture. There's a wait so the music doesn't kick in right away. AFter the music, I have another wait to time up the picture to the music. Than I have one more Change Screen Color Tone so that way the picture now shows up. "presents" is the name of the picture I'm showing, it's a jpg file. Now, how do I make this picture fade in and fade out? And then, any other pictures I want to show after that? Because right now, it just pops onto the screen...it's kind of jarring.

Thanks,
- Tommy
 

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