How can I make a "jumpscare" pop-up?

Started by SaaturN3 on

Topic category: Help with modding (Java Edition)

Last seen on 19:08, 16. Sep 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a "jumpscare" pop-up?

Hello, I wanted to know how I could make pop-up images appear on the game screen at random times and with a specific time, like in that mod "The Silence"

Last seen on 19:56, 5. Oct 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Idk the silence but you…
Tue, 09/10/2024 - 00:19

Idk the silence but you could make a large texture and use an overlay, to make it move either use a gif, which idk if it animates in an overlay. Then use the conditional trigger to only show when you want. Use a random integer to set a cooldown and have it tick on world tick and then the overlay will come up and leave randomly, make sure to leave some time before setting the next cooldown so the overlay stays on screen for the necessary time. For specific times you can just set the cooldown to 0 at those times.