Wednesday, November 20, 2024
spot_img

unity – Robotically setting the parameters based mostly on participant’s potential


I work on a easy arcade sport. The participant controls a diver. The diver strikes ahead at a continuing velocity. The participant can use enter controls to maneuver the diver up or down. Alongside the way in which, the diver encounters tunnels, and the participant should then transfer the diver down in order that the diver goes by way of the tunnel. The diver consumes oxygen at a continuing charge. The participant loses if the diver runs out of oxygen. Alongside the way in which, there are oxygen bottles, and the participant can transfer the diver as much as accumulate them. The participant wins if the diver reaches the tip of the trail.

As the sport ought to be performed by gamers with broadly various skills, I wish to routinely decide among the sport parameters, in order that the sport problem would match the participant: the sport ought to be difficult, however not too arduous. The next parameters will be modified:

  • The velocity of ahead motion, and the velocity of up/down motion.
  • The speed of oxygen consumption, and the quantity of oxygen in a bottle.
  • The peak and size of every cave.
  • The variety of caves, and the gap between adjoining caves.

Is there an algorithm for figuring out these parameters for a particular participant, given e.g. 30 seconds of gameplay? Any reference to such an algorithm is welcome.

Specifically, can or not it’s carried out utilizing the brand new AI system in Unity 6?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest Articles