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.

HBGames

Hi,

So basically, I've created a script that, if a variable is equal to a number, an image will appear onscreen,

However, I'm having a few problems so far, because there are three possibilities for the variable, which means three pictures can be shown, however, when the variable switch from 1 to 2, as you can imagine, picture 1 would dispose, and 2 would appear, however, this isn't the issue, as I don't know how to dispose of just one of the images. I'm also trying to get the opacity of the images to fade in when called, and fade out when they are disposed, which is becoming annoying. And also, would anyone be able to help me with making wait commands in a script, because as one image is disposed, I'm guessing the next image will be called directly after, however, I'm wanting it to wait x amount of frames first, so the transition doesn't happen too quickly.

Thanks to anyone that can help !

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