Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Digital Mosaic Games on Tue 29/12/2009 14:00:21

Title: Broken Sword 1&2 Sidescrolling?
Post by: Digital Mosaic Games on Tue 29/12/2009 14:00:21
Hey AGS--Friends,

In Broken Sword is this "Paralax-Effect". There´s a Module too.
With this Module the screen follows the player a bit slower. This is a cool effect.
You also can make movable forgrounds.
But my problem is:
I want to change the mouse cursor-graphic when the cursor moves in the near of the horizontal screenends like in broken sword. In broken sword the cursor turns into a hand wich makes this "come-on-move". I´ve already tried it but I ever create it on only one side.

I´ve got the Paralax-Effect but I need this Cursorgraphic-Change as aforementioned.
Could anybody help me please? ???
Title: Re: Broken Sword 1&2 Sidescrolling?
Post by: Khris on Tue 29/12/2009 18:01:12
Mouse coords are screen coords, so just check if the mouse is < 5 or > 314 / 634.