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

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker VX > Easy fishing/mining/woodcutting events.

Easy fishing/mining/woodcutting events.


This tutorial applies to the RMXP and RMVX.

+++++
Fishing, mining, wood cutting events.
+++++

Make the fishes first, of course.

Now, make 1 event in the water.
If you wish, make a conditional branch that will only allow the player if he got an item like a fishing rod.

Ok you got the fishing rod and the condition allows you...

Now make a variable, random number between 1 to 4.

Conditional branch, if the number hits 1, then player get a fish... If not, no.

Here is the code:

Code:

Conditional branch, if player got fishing rod, then:

Set variable "random" to random number 1 to 4.

Conditional Branch, if variable "random" is equal to 1, then:

Play victory sound.

Give player a fish.

Else

Show text: "Looks like you didn't find a fish this time".

End If.

Else

You didn't got a fishing rod.

End if.



That's the basic idea for fishing, mining, and wood cutting.

Thank you.
Bye. 
Details
Tutorial: Easy fishing/mining/woodcutting events.
Date Listed: Sat, 19 Jul 2008 11:06:44 -0700
Author: Omegas7
Total Hits: 14172


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