RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Can someone tell me how to make a fishing minigame?

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 88
OVER 9000!!!!!!!!!!
I've been looking for one for a while, a simple one would be okay  ;D.
Signature goes here

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Sure, it's not so hard. What kind do you want it to be? Catch different fish at different levels? press certain buttons in sequence to obtain the fish? Just tell me what you want from it and I'll make you one from events.

**
Rep:
Level 88
OVER 9000!!!!!!!!!!
If you could tell me how to catch different fish at a different fishing level that would be nice ;D.
Signature goes here

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Ok, it's pretty simple. For the sake of simplicity, I'll use a single common event, three variables and a few items (Fishing Rod, various fishes). So, first, define three variables: 1) Fishing Level. 2) Fishing Exp. 3) Fishing Outcome. Now, go into the Common Events tab in the database. And make the event look something like this:

Code: [Select]
Conditional Branch: [Fishing Rod] in Inventory
   Conditional Branch: Variable [Fishing Level] = 0
      Control Variables: [Fishing Outcome] == Random No. (0...4)
      Conditional Branch: Variable [Fishing Outcome] = 0
         Wait: 50 Frames
         Play SE: '015-Jump01'
         Show Animation: Player, [Exclamation]
         Text: You caught a Common Fish!
         Change Items: [Common Fish] + 1
         Control Variables: [Fishing Exp] + 1
      Else
         Wait: 150 Frames
         Text: You caught nothing
      Branch END
   Else
      Conditional Branch: Variable [Fishing Level] = 1
         Control Variables: [Fishing Outcome] = Random No. (0...9)
             Conditional Branch: Variable [Fishing Outcome] <= 2
                Wait: 50 Frames
                Play SE: '015-Jump01'
                Show Animation: Player, [Exclamation]
                Text: You caught a Common Fish!
                Change Items: [Common Fish] + 1
                Control Variables: [Fishing Exp] + 1
             Else
                Conditional Branch: Variable [Fishing Outcome] == 3
                   Wait: 50 Frames
                   Play SE: '015-Jump01'
                   Show Animation: Player, [Exclamation]
                   Text: You caught a Regular Fish!
                   Change Items: [Regular Fish] + 1
                   Control Variables: [Fishing Exp] + 1
                Else
                   Wait: 150 Frames
                   Text: You catch nothing
           
      Else
         Conditional Branch: Variable [Fishing Level] = <>
             <Continue to do the same process for higher Levels>
      Branch END
   Conditional Branch: Variable [Fishing Exp] == 10
      Text: You are now a level 1 Fisher!
      Control Variables: [Fishing Level] == 1
   Branch END
   Conditional Branch: Variable [Fishing Exp] == 100
      Text: You are now a level 2 Fisher!
      Control Variables: [Fishing Level] == 2
   Branch END
   Conditional Branch: Variable [Fishing Exp] == <>
      <contine for higher levels>
Else
   Text: You can't fish! You don't have a fishing rod!


I think I missed a few Branch ENDs but that should work. Wherever you want fishing, just make an event which calls this common event. Basically, this particular one gives a 20% chance of catching a Common Fish at Level 0. After you have successfully caught 10 Common Fish, then you advance to Level 1. At Level 1, there is a 30% chance of catching a Common Fish and a 10% chance of catching a Regular Fish. After successfully catching another 90 Fish, you would advance to Level 2, etc... If you need any help understanding just post. I am not sure how to post a demo, but I'll see if I can't figure out a way to do it if what I have already done is a bit confusing.

**
Rep:
Level 88
OVER 9000!!!!!!!!!!
Wow Thanks! :chocobo: :huge:
Signature goes here