Footprints, and general 'stamp' stuff?

  • #1, by PykeTuesday, 18. June 2013, 09:59 7 years ago
    I was wondering if its at all possible to create objects at certain areas, that would follow in a characters wake.
    For example, footprints in snow, or have a character be able to 'tag' an area he has been with a flare, or paint. It would give things mazes quite a cool element, in being able to see where you've been through the character actually leaving a mark on the world.

    Newbie

    59 Posts


  • #2, by afrlmeTuesday, 18. June 2013, 12:07 7 years ago
    yes I think this is possible using lua to get characters current position & then setting a animation or frame to characters position + offset to correctly place the footprint or object.

    I was planning on looking into it at some point in the near future.

    Did you check out the dynamic footsteps demo I added to the demo folder of the dev build dropbox? I think I could probably edit that easily enough for the footprint part.

    Imperator

    6842 Posts

  • #3, by PykeTuesday, 18. June 2013, 12:13 7 years ago
    I did! It was actually something that prompted this question.
    Would you then need a completely unique object or animation for each footstep?

    Newbie

    59 Posts

  • #4, by afrlmeTuesday, 18. June 2013, 13:47 7 years ago
    for the footsteps I was thinking of using x amount of frames for each foot & then controlling which frames should be displayed using a count variable & an if else query so say after 10 steps we reset back to the first footstep frame ... of course we'd have to take into consideration the direction the character was/is facing for each footstep.

    Imperator

    6842 Posts

  • #5, by PykeTuesday, 18. June 2013, 14:19 7 years ago
    For STASIS I don't think that would be a massive issue, because the character is so small. The footprints would only be a few pixels wide.

    Newbie

    59 Posts

  • #6, by afrlmeTuesday, 18. June 2013, 14:43 7 years ago
    what I meant was that like in say ff7 when you are on the world map on the snowy island near the crater thing - it creates x amount of footsteps before it starts removing the last ones added after a period of time or after you've taken x amount of steps - in other words we recycle the footstep animation frames to save on memory/vram usage. I don't think having them permanently displayed would be the best idea really as it would be unnecessary clutter.

    Imperator

    6842 Posts

Write post