Quote from: Egmundo Huevoz on Sun 04/02/2018 02:32:33
Is there a way to check what object is behind another object?
I believe so, I think you can try with object[ID].Baseline.
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 from: Egmundo Huevoz on Sun 04/02/2018 02:32:33
Is there a way to check what object is behind another object?
if (video != null)
{
video.DrawEx(DsScene, 158., 95., 0., 0., 0., RtScreen);
video.NextFrame();
}
int ButtonClicked, Buttonlength;
function repeatedly_execute()
{
if (IsTimerExpired(5)) // decrease width "button bar"
{
if (ButtonClicked != 0) {ButtonClicked --;}
if (ButtonClicked <= 0) {ButtonClicked = 0;}
SetTimer(5, 3);
}
Buttonlength = FloatToInt ((IntToFloat (ButtonClicked)/159.) * IntToFloat(Game.SpriteWidth[BtnBar.Graphic]));
BtnBar.Width = Buttonlength;
}
function ButtonPush_OnClick(GUIControl *control, MouseButton button) // increase width
{
if (button == eMouseLeft)
{
if (BtnBar.Width < 585)
{
ButtonClicked += 2;
SetTimer(5, 3);
}
else // button bar has reached the full width
{
}
}
}
Quote from: Crimson Wizard on Mon 01/01/2018 14:23:49
That's because on second screenshot it runs fullscreen - there is no "W" letter after resolution. Your monitor/gfx card supports 1024x600 fullscreen mode.
Since you were running without debugger AGS uses an option from Preferences: "When running without debugger". It was probably either "fullscreen" or "use config".
Quote from: Crimson Wizard on Mon 01/01/2018 14:23:49
The only reason I can think of is that software renderer just cannot create windows of necessary size, and it switch to other renderers. I am not sure why OpenGL though, on Windows it should try Direct3D 9 first, maybe it is also not well supported on your notebook?
We may know more if you turn logging on. If you open acsetup.cfg and putQuotethen run the game, it should write the log into ".ags" folder inside your usual saved games folder.
[misc]
log=1
Quote from: Crimson Wizard on Sun 31/12/2017 22:58:37
I wonder why on your first screenshot the window is smaller than the size of the game.
Quote from: Crimson Wizard on Sun 31/12/2017 22:58:37
In theory, software renderer may fail to create a window of certain size, in which case it may try other renderers.
Quote from: Vincent on Sun 31/12/2017 17:03:19
So the first thing that I do when I open a new project is to go to the default panel in the editor and change the graphic driver to be Software renderer.
Quote from: Vincent on Sun 31/12/2017 19:38:15I believe that it worked because the resolution of the game was lower than 800x600.
:EDIT: I have just re done in this way and it is worked fine this time.
Quote from: Crimson Wizard on Sun 31/12/2017 19:50:00
Also, it is strange that there were differences when you run with debugger and without one, because in theory it should work the same.
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.162 seconds with 14 queries.