Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm now wondering if Construct 2 has the capability of supporting a random encounter thing that happens in some JRPGS?
Develop games in your browser. Powerful, performant & highly capable.
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.
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.
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.
<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 ^^