Quote"Hello! I remember when you were new to the AGS scene,"
PLEASE DON'T TELL THEM ANYTHING. I'm trying to forget myself! ^_^
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 MenuQuote"Hello! I remember when you were new to the AGS scene,"
float sensitivity = 2.0;
float ox;
float oy;
function repeatedly_execute_always()
{
if(mouse.x != FloatToInt(ox, eRoundNearest) || mouse.y != FloatToInt(oy, eRoundNearest))
{
// Mouse has moved
// Work out the mouse movementinteger
if (Game.DoOnceOnly("set_fx"))
{
ox= IntToFloat(mouse.x);
oy= IntToFloat(mouse.y);
mouse.Visible=false;
return;
}
float x = IntToFloat(mouse.x);
float y = IntToFloat(mouse.y);
float nx = ox + ((x - ox) * sensitivity);
float ny = oy + ((y - oy) * sensitivity);
Mouse.SetPosition(FloatToInt(nx, eRoundNearest), FloatToInt(ny, eRoundNearest));
mouse.Update();
bmouse.Visible=true;
bmouse.NormalGraphic = mouse.GetModeGraphic(mouse.Mode);
bmouse.SetPosition(mouse.x, mouse.y);
// Set old location ready for next time
ox = nx;
oy = ny;
}
game.debug_mode = true;
Debug(4, 1);
}
Quote from: miguel on Fri 02/01/2015 16:22:51QuoteAprilSkies, you are the man!Yeah, right.
Fantastic game guys, congrats!Spoiler
The sound does stutter a lot when I die and restart, it affects gameplay. My PC is pretty old, so I guess that's the reason.[close]
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 1.950 seconds with 16 queries.