QuoteBegin-Athlor+Jul 15 2006, 07:39 AM-->QUOTE (Athlor @ Jul 15 2006, 07:39 AM) |
You may have noticed the dungeon pics have no line-of-sight code. That will be the hardest part, I think. The source even had a pregenerated array in c. I haven't a clue yet how to implementing it as yet. I'm also not sure I have the exact sequence of combat down right. I'm going to use animget to study it better. I added the wiggling when struck code part in last night. ;) It's technically playable but not really right yet. |
I use a pregenerated array in C to accomplish the LOS algorithm. It is so much faster than actually trying to calculate it. I had to have an intermediate tile grid of 17x17 tiles, because Ultima V has light sources, which really complicated the LOS algorithm. Would you like some help implementing it?
I also need to add the "wiggling" algorithm for the Tremor spell among other things.
What exactly is "animget"?
Keep up the great work Athlor!