ZFGC

Resources => Coding => Topic started by: Penguin on May 01, 2006, 09:14:12 pm

Title: [Request / Solved] [TGF]Screen scrolling
Post by: Penguin on May 01, 2006, 09:14:12 pm
I need help with screen scrolling. Basicly when the character is like 75% to the right then the screen would scroll with the character. Help please!  ;D
Title: Re: [TGF]Screen scrolling
Post by: Limey on May 01, 2006, 09:19:06 pm
Not sure how to do it that way, but I can guide you through keeping your character always in the middle (Unless near the edge of the area)
Title: Re: [TGF]Screen scrolling
Post by: Penguin on May 01, 2006, 09:55:35 pm
Not sure how to do it that way, but I can guide you through keeping your character always in the middle (Unless near the edge of the area)
Oh, how do you keep it in the middle?
Title: Re: [TGF]Screen scrolling
Post by: Franz on May 02, 2006, 11:58:52 am
If you want your character always in the middle - have an event:

Always
  * Center window at character (0,0)

You find this action under the frame column.

If you want it the 75% way, I think there's a condition saying When character is * pixels away from the windows edge - then do the same action.
Title: Re: [TGF]Screen scrolling
Post by: Penguin on May 02, 2006, 09:22:23 pm
If you want your character always in the middle - have an event:

Always
  * Center window at character (0,0)

You find this action under the frame column.

If you want it the 75% way, I think there's a condition saying When character is * pixels away from the windows edge - then do the same action.
Lol, I figured it out 7 hrs after I posted it. I really should work on closing topics after I figure it out... XD

Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved