How do I create fishing game logic/engine?

0 favourites
  • 4 posts
From the Asset Store
75 vehicle sound effects, from real looping car engines to jet aircraft and sci-fi engines.
  • I need a complete mindset change here as I don't know where to start... hoping someone can guide me in the right direction.

    Basic mechanics i'm fine with, variables etc... but what about scenarios such as:

    If you fish 'X' Lake, with 'X' Bait, at 'X' Depth, at 'X' time of day.... the odds of you catching FishType1 are 'X', FishType2 are 'X', FishType3 are 'X' etc. etc.

    I need to get the fundamental 'fishing engine' sorted before I work further on the game.

    The game will have multiple types of fish, and multiple lakes all with different fish to catch etc.

    Any advice/guidance would be hugely appreciated.

  • Start with one kind of fish, one lake and one bait. Get that to work, on the way the rest will occur to you.

    yours

    winkr7

  • You might need to store all this information in some data object - an array or JSON file. It may be a simple table, say the first column contains fish name, second column contain odds of it to be caught in a lake and so on.

    The odds should probably be cumulative. For example, the base odds of catching fish X in lake Y is 20%. Certain baits can increase or reduce these odds.

    After you calculate the odds for each fish type for the current conditions, you can create a probability table with Advanced Random plugin, and pick a random fish from that table.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thank you.

    I was wondering whether setting up a table of data may be the answer...

    Now I just have to research how to do that!

    Thanks again.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)