31
Technical forum / Windows not working with scrolling screen.
« on: October 22, 2012, 11:55:19 AM »
Hi guys, I searched the forums and could not find this issue so hopefully you can help me. I am making an game that scrolls when the character walks to a certain point. The default Game resolution is 1024x768. When the character moves and the screen scrolls the window will not follow the character past the Game resolution., I did a Game.Msg command and it always says that the .X and .Y coordinates are to the Games coordinates and not the scene's coordinates. So the mouse scene X coordinate will be 1300 and the window will be something like 500. Im trying to make the window follow the actor but this will never happen because of this issue. Any suggestions? Thanks
Oh and here is my looping code:
while(true)
{
thoughtbubbleWindow.X=actor.X;
thoughtbubbleWindow.Y=actor.Y;
Sleep(10);
}
Oh and here is my looping code:
while(true)
{
thoughtbubbleWindow.X=actor.X;
thoughtbubbleWindow.Y=actor.Y;
Sleep(10);
}