09-28-2015, 04:48 AM
Okay... Keep em coming. It's great to hear from people, even bug reports. Oh, and the both of you are going to be in the credits for the next version of Lycan.
Insofar as your problem with the arrows? An easier fix than you may know.
Within 5 - Game Code, the passable? method begins on line 2342. It has a regular set of routines that look for the upcoming x/y positions so it can see if the next position for a character is valid.
Replace
With
The new code recognized all 8 directions, using a method I already penned within the Game_ABS engine.
Oh, the actual attack of a single diagonal missile did not work. As it was deemed an invalid direction, the arrow wouldn't go any further than the shooter himself.
Insofar as your problem with the arrows? An easier fix than you may know.
Within 5 - Game Code, the passable? method begins on line 2342. It has a regular set of routines that look for the upcoming x/y positions so it can see if the next position for a character is valid.
Replace
Code:
new_x = x + (d == 6 ? 1 : d == 4 ? -1 : 0)
new_y = y + (d == 2 ? 1 : d == 8 ? -1 : 0)
With
Code:
newxy = $ABS.get_newxy(x, y, d)
new_x = newxy[0]
new_y = newxy[1]
The new code recognized all 8 directions, using a method I already penned within the Game_ABS engine.
Oh, the actual attack of a single diagonal missile did not work. As it was deemed an invalid direction, the arrow wouldn't go any further than the shooter himself.