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.

2 Questions

OS

Sponsor

Question 1: How would I go about loading and displaying a large amount of graphics at once with little lag (I really don't care that much about this one right now)

Question 2: How do I wait for a certain amount of time before running code. I mean, read this:

Code:
if enemy_turn?
   enemy_turn_play1
   delay(2000) #inactive screen for two seconds
   enemy_turn_play2
   delay(2000) #inactive screen for two seconds
   enemy_turn_play3
   delay(2000) #inactive screen for two seconds
end

How would I create a delay method that makes the player wait for a few seconds? This one is really important! Thanks for any help. Peace!
 

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