0
\$\begingroup\$

Currently I am working on a quick game for some friends, but I don't know the proper name for this type of game, so here is an example of the mechanic in The Lion King II:

enter image description here

To unlock the exit, you need to cover the ground with paw prints and not get caught by enemies.

I am trying to recreate the footprint-path covering part but I don't know if this has a proper name/term or not and can't find any tutorials to get started.

Currently I have created several planes with the footprint texture going in either direction, and my plan is that when the player walks on it, depending on the direction, will make the appropriate texture appear, then something will check when the path is entirely covered, before setting the exit door to inactive.

\$\endgroup\$
  • 1
    \$\begingroup\$ It sounds like you have a workable solution figured out. How have you tried implementing this solution, and where specifically did you get stuck, or get outcomes different than you intended? Also, are you doing this in raw C#, or are you using Unity? \$\endgroup\$ – DMGregory Mar 27 '20 at 13:21
  • \$\begingroup\$ ... Or Godot, or OpenTK, or MonoGame...? - If none, what graphic API? Unlikely this is pure GDI+, or is it? - Note: I'm assuming 2D, given the example. \$\endgroup\$ – Theraot Mar 27 '20 at 13:58
  • \$\begingroup\$ @DMGregory What I am currently trying is I have an OnTriggerEnter that sets the MeshRenderer for the footprint textures to turn active when the player collides with them. The problem is, I'm not sure how I can do a sort of checklist for when all the footprints in an area are set to active, so that the door to the next area opens. \$\endgroup\$ – CraftyMaelyss Mar 27 '20 at 15:30
  • \$\begingroup\$ @Theraot This minigame is set in 3D with 3D models but the camera is set into place for the same POV as in the example video provided. \$\endgroup\$ – CraftyMaelyss Mar 27 '20 at 15:31
  • \$\begingroup\$ I've tagged your question "Unity" since it sounds like that's what you're using. Please ensure you include all of this relevant information in your question in future. \$\endgroup\$ – DMGregory Mar 27 '20 at 15:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.