Stu's Rusty Bucket

FOV in caves

So I added working FOV in caves, 2 lines of code, so that was nice. We now have a FOV ticker, that ticks down, and when it hits zero, reverts to your original FOV size in dungeons.

The addendum to this is that any time you use a lantern or torch, it disappears instantly from your inventory and the ticker is increased by X seconds. Thats right, its based on seconds not moves. Reading between the lines also means, once you turn on your torch, you cant turn it off....

The ‘Birds Eye View’ also wont work in caves. Im debating about this, so this mechanic may change in the future.. I may also make it more roguelike-ish, in that if you use a gem to get a preview of the map, it may only show tiles you have ‘seen’, so not revealing unseen parts of the map. I think that is a good compromise. It will also not be ‘remembered’ when you leave the cave/dungeon.

Posted by on 12/15 at 01:14 PM    
Filed Under : ComputersDevelopmentFishguts
Comments are closed There are no comments on this entry.

Next entry: Chunking out combat code

Previous entry: More Combat thoughts

<< Back to main