Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Pokemon style encounters

Is there a script where if your in long grass you can ecnounter monster but not the hole map. Cause in my game I want to have a town and in this town there is a patch of grass. In the grass you can enouter monsters but in the rest of the town you can't . Just asking
 

Seto

Member

Hello

Just a suggestion but you could make the grass out of events and set them to player touch. On the event you would need to set it up like a dice. E.g. Set variable encounter randomly between the number 1-5, then use a conditional branch to check it the variable is equal to one of the numbers e.g. 2 if it is equal to 2 start a battle if not do nothing. That way the play can walk thought the grass and randomly find battles.

Also if you want to make more then one kind of monster able to appear use the dice idea again e.g. if it is set to this number start this battle or if it is set to a different number start a different battle.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top