Random Encounter RPG?

0 favourites
  • 6 posts
From the Asset Store
Easily generate many levels from a set of pre-built scenes (Construct 3 template for top-down view games)
  • Hello ^^

    I'm now wondering if Construct 2 has the capability of supporting a random encounter thing that happens in some JRPGS?

  • Sure, using the timer behavior, or creating a timer yourself.

    You could also use every random amount of seconds if player is state it set to overworld or something. There are lots of ways to do it. So to answer your question. Yes, C2 can do it.

  • ArcadEd

    I see ^^ awesome. Thank you very much for the reply. I'll try to see what I can make with what I have at the meantime. Although I'm slightly clueless as to how to make the thing...since i actually never tried programming this XD.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm quite sure C2 can do it. At the same time C2 is a lot more generic and open package than those 'adventure building kits' so you can expect to need to effort to make it happen.

  • Create two global variables; one labeled "encounter" that is set to a random number from 100-150 and one labeled "movement" with an initial value of zero. Then for every movement of the character on the overworld add to the movement variable based upon the type of terrain encountered (-2 for grassland, -5 for swamp, -3 for hills, etc...). Then create a compare two variables statement that if the movement variable is greater than or equal to the encounter variable go to random battle. Then be sure reset the movement variable back to zero.

  • droptank21

    <img src="smileys/smiley1.gif" border="0" align="middle" /> , it is a nice implementation of what i can do. Thank you very much. It gives me another idea for random encounters ^^

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