It wasn't boring last time. I had fun but all I'm saying is it was long 
I guess the biggest thing I'm trying to ask is if there can be more to do.

I guess the biggest thing I'm trying to ask is if there can be more to do.
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
void CenterScreen(float step) {
if(btnInvDown.Visible == true){
}
else if(btnInvDown.Visible == false){
float x = IntToFloat(player.x - System.ViewportWidth/2);
float y = IntToFloat(player.y - System.ViewportHeight/2 - charheight/2);
float dx = (x-vpx)*step; if (dx*dx < 0.01) dx = 0.0;
float dy = (y-vpy)*step; if (dy*dy < 0.01) dy = 0.0;
vpx += dx;
vpy += dy;
SetViewport(FloatToInt(vpx), FloatToInt(vpy));
}
}
Quote from: S3 on Tue 22/11/2011 00:02:32
It works and it even has that smooth scrolling effect like I wanted to add from the start. However it's being blocked by the first entry room(the room seen above has a cutscene right at the start of the game). The view is locked at the at one the view it was entered in from. And it doesn't fix it self until I gain control of the player again.
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.367 seconds with 15 queries.