Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Bernie on Tue 30/03/2004 18:41:06

Title: Custom scrolling and text pos.
Post by: Bernie on Tue 30/03/2004 18:41:06
I've made a simple custom scrolling using the new repeatedly_always function. I'm changing a characters x and y position so it would follow the player character around the playfield, and I focus the viewport on this character.
This all works very well, except that the lucas arts style text does not stay centered over characters if the screen still scrolls while a blocking function is called. Is there a way to make it stay focused?

Thanks~
Title: Re:Custom scrolling and text pos.
Post by: SSH on Tue 30/03/2004 18:53:12
I suspect that quite a few functions will assume that things like the viewport can't change during blocking... which was true until rep_ex_al came on the scene!
Title: Re:Custom scrolling and text pos.
Post by: Pumaman on Tue 30/03/2004 21:09:48
Interesting point -  yeah, this is likely to be a systemic problem since it's not something the engine has had to deal with in the past.

If anyone else notices any other cases like this, please let me know.