All the walls have exact same shading. Maybe try a radial gradient gently making the corners of the room darker. If you have a central hanging light the walls will be darker in the corners anyway, but only slightly.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu//Check if the cursor is over a hotspot defined as an exit and change the visual accordingly
function check_cursor()
{
if (GetLocationType(mouse.x,mouse.y)==eLocationHotspot){
Hotspot* h = Hotspot.GetAtScreenXY(mouse.x, mouse.y);
if (h.GetTextProperty("Exit") == "Top")
{
mouse.SaveCursorUntilItLeaves();
mouse.Mode = eModeWalkto;
mouse.UseModeGraphic(eModeExitTop);
}
else if (h.GetTextProperty("Exit") == "Bottom")
{
mouse.SaveCursorUntilItLeaves();
mouse.Mode = eModeWalkto;
mouse.UseModeGraphic(eModeExitBot);
}
else if (h.GetTextProperty("Exit") == "Left")
{
mouse.SaveCursorUntilItLeaves();
mouse.Mode = eModeWalkto;
mouse.UseModeGraphic(eModeExitLeft);
}
else if (h.GetTextProperty("Exit") == "Right")
{
mouse.SaveCursorUntilItLeaves();
mouse.Mode = eModeWalkto;
mouse.UseModeGraphic(eModeExitRight);
}
h = null;
}
}
function repeatedly_execute() {
// put anything you want to happen every game cycle, even when
// the game is paused, here
if (IsGamePaused() == 1) return;
// put anything you want to happen every game cycle, but not
// when the game is paused, here
// Check if the mouse cursor is over a hotspot defined as an exit
check_cursor();
}
[code][code][code]AGS Editor .NET (Build 3.1.2.81)
v3.1.2, February 2009
In GlobalScript.asc:
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.070 seconds with 14 queries.