Friday, July 9, 2010

Video!



Short clip of what I have right now. I set the game loop sleep to 1 second per turn so you can actually see what's going on; the only issue is that it makes the cursor movement sluggish when the game's not paused. The elf inside the room opened the door (/) at turn one which is a shame, because you could have seen it turn from closed (+) to opened. The door has a faction assigned (which is silly in hindsight) so that only creatures on faction 2 can open it, but I guess it's just as easy to make it only so that creatures with the hands tag or whatever can open it. Elves (E) are currently the fastest things with movement and attack speed 1. I gave the troll a weapon (spawned a 2 right under him and he picked it up).

Also, a sample of a creature right now from the save:

2:E:7,11:5:1:1:1:2

I use : to demarcate separate info.

2: List number, not important really
E: appearance, elf.
7,11: where it is right now.
5: HP
1: attack speed
1: movement speed
1: damage
2: faction #, doesn't attack any other creatures on faction 2

Also, at around 1k lines of code in c#.

No comments:

Post a Comment