How to create "circle of vision"around main character?

Started by Aarduil, Thu 06/10/2011 16:55:44

Previous topic - Next topic

Aarduil

Hello to the AGS community. :) I've been drawing the graphics and writing the music for a game for quite a while now, but I am quite inept in the field of programming, so I turned to AGS as it seems to fit a dialogue-heavy exploration game.

Since it all takes in one big map (a single big room in the AGS, it seems?), I want to make a circular "field of view" centered onto the main character. Sort of like this: http://imgur.com/fljBo (taken out from an RPG Maker VX game), but I want it to be completely black outside the circle of view.

Can that be accomplished in a (relatively) easy manner? If not, would someone care to assist me (can show assets, music, etc.)? :)


Aarduil

Ah, should have searched for "fog of war" instead of "lighting". This is close enough; I only don't want previously explored territories to be visible (as with the provided example).


Aarduil

You're absolutely right - this is what I'm looking for. I implemented it semi-successfully too... :) I'll ask for further assistance in the specific script thread.

Thanks!

SMF spam blocked by CleanTalk