Author Topic: Zelda Maps...Someone help, please  (Read 12346 times)

0 Members and 1 Guest are viewing this topic.

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Zelda Maps...Someone help, please
« Reply #15 on: August 18, 2011, 07:21:40 pm »
A worthy idea. Not too hard to implement. I'll play with it a bit when the time comes.

Offline chattahippie

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +27/-0
  • Super Member! :D
    • View Profile
Re: Zelda Maps...Someone help, please
« Reply #16 on: August 18, 2011, 08:04:20 pm »
That is what I do for AI, although for multiple enemies, you would have to structure a list, and make a routine to read the correct list value.

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Zelda Maps...Someone help, please
« Reply #17 on: August 18, 2011, 08:14:58 pm »
Enemies in the Zelda games tend to use a line-of-sight approach to their attacks. Line of sight often seems to be based on what obstacles their attacks can clear, not just what they can walk over.

At least for trolls, even once you have stepped out of their line of sight they will continue to move toward you for a bit. As far as I can tell, if you remain out of their line of sight for long enough AND if you are more than two or three tiles away from them, then they'll leave you alone and continue meandering aimlessly about the room until they spot you again, but I think if you're within two or three tiles, they'll still try to move toward you even if there's a wall there. At least they'll try for longer before giving up and leaving you alone.
« Last Edit: August 18, 2011, 08:16:05 pm by ZippyDee »
There's something about Tuesday...


Pushpins 'n' stuff...


Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Zelda Maps...Someone help, please
« Reply #18 on: August 18, 2011, 11:16:07 pm »
I never payed enough attention to that before slaughtering them all :P

Also, it depends on which zelda. In the original I often found that the monsters would target you from anywhere, esp. the ranged ones.

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Zelda Maps...Someone help, please
« Reply #19 on: August 22, 2011, 09:43:06 am »
Well, I'll be needing help with AI if it going to be as complex as the two examples above.