Griggsby's Recent Forum Activity

  • The problem with that is how do I make something that picks the fastest speed for me?

  • Now Im just not sure how the events would work. So would i do a "for each" for every character? For example (object:player1, expression:player1.speed, order:by descending) then the same for players 2-10? Then set their turn order instance variable to loopindex?

  • I thought of this before but couldnt get it to work because i dont understand how loops work. I also dont understand what u meant by set turn order to loopindex. But everything else you mentioned like the speed and turn order variables I do understand.

  • Ok first of all yes i am a noob. No developing exp at all just a normal guy with a big idea. Im working on a turn based rpg. Right now im creating the turn order and how to decide which character goes first based on how fast their speeds are. (Eg. P1 100spd, P2 101spd, P3 99spd. So P2 would go 1st, P1 goes 2nd and P3 goes last.) In my case I have 5v5 so thats a maximum of 10 players on screen at one time. Since I couldnt find a practical way of sorting out the turn orders I had to go with a very tedious way of going about things which has resulted in over 13000 events and ive still not gotten past turn order 5. The reason why there are soo many events is due to the sheer number of different turn orders involved with 10 characters on the screen at once ( thousands upon thousand of different combinations. Its possible for p1 to go 1st, 2nd, 3rd, 4th etc. )

    Basically in conclusion I need an efficient way that I can make a system that can determine turn order for a 5V5. Ive tried many times to look up demos, tutorials and youtube videos but no one can answer my question and Im desperate. Its taken me months just to finally make it to turn 5 out of 10 turns with 1000s of possible turn combinations. Ive hit 13000 events and now whenever I copy and paste an event it overlaps the previous event and i lose progress. heres a pic:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Example: Im making a 5v5 turn based rpg. A game like pokemon, raid shadow legends, summoners wars etc. How do I set the fastest player to go first then the next fastest goes, then the next and so on, without repeating the same event for each and every character? My game will have 100's of characters and I need a more efficient way to manage every characters turn and speeds. Ive spent weeks looking through youtube videos and these forum and tutorials but I cannot find a straight answer. Ive given each character their own variables with their own speed stats. Making a 1v1 battle system is vary simple but trying to make a 5v5, 4v4, 3v3 and 2v2 is too over whelming.

    Tagged:

Griggsby's avatar

Griggsby

Member since 19 Dec, 2020

None one is following Griggsby yet!

Trophy Case

  • 3-Year Club
  • Email Verified

Progress

4/44
How to earn trophies