Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker XP > Thunder during a Storm for the Complete Noob

Thunder during a Storm for the Complete Noob


Tutorial by: Biohazard
-----------------------------
This is a simple tutorial to show you how to make your screen flash with a thunderclap sound when you set your game to rain or storm outside. Follow the steps in order and you'll be struck by lightning in no time....(not really)

1) Go to your database and click the Common Events tab.

2) Create a new common event and name it something that will remind you it's for your thunderstorm. For this tutorial, we'll call it Thunder.

3) Set the trigger to "Parallel" and then next to that set the condition switch to a switch that will remind you this is for your thunderstorm, again I'll call it Thunder.

4) Now add a new event to the list by double clicking the @> and then select Loop in the first tab.

5) Add another event under "Loop" and above "Repeat Above". Select Wait and then select 30 Frames.

6) Add another event and choose Screen Flash. Set all the colors and strength to 255 then select 6 frames.

7) Add another Wait event, this time for 10 frames.

8) Now add another event, this time select Play SE. It should bring up all your existing Sound Effects. Hopefully you have a thunder sound effect, it comes with RPG Maker XP. You can use whatever sound effect you wish, but for this tutorial try using thunder03. If you wish, you can lower the pitch some for a better effect.

9) Finally, add another Wait event, this time for 220 frames.

Your common event should look like this

@>Loop
@>Wait:30frames(s)
@>Screen flash:(225,225,225,225),@6
@>Wait:10frames(s)
@>Play SE:'thunder03(or whatever you chose)
@>Wait:220frames(s)
@>
: Repeat above
@>

Now all you have to do is turn on the switch you made (we called it thunder) in an event on one of your games maps. As soon as you do this, it will thunder with sound and lightning with, well, light! Set your weather effects to rain and you'll be caught in a storm, congrats. 
Details
Tutorial: Thunder during a Storm for the Complete Noob
Date Listed: 2010-11-29
Author: Biohazard
Total Hits: 2022


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal