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.
106
Developing ENIGMA / Re: EGM Migration
« on: September 21, 2014, 07:01:06 pm »
No worries about broken files; I'd much rather suffer some breakage if it stabilizes things down the line.
107
Works in Progress / Re: Iji is now in Beta! Please test~
« on: September 19, 2014, 03:44:01 pm »
Thanks, this will probably fix a weird positioning bug on Windows. I'll try it and let you know.
Thanks for being careful; if you can prepare some test games (and expected results) I can try them on OS-X for you.
Thanks for being careful; if you can prepare some test games (and expected results) I can try them on OS-X for you.
108
Issues Help Desk / Re: window_handle() is messed up
« on: September 19, 2014, 03:42:16 pm »for instance window_get_width() was reporting the minimized window size when in fullscreen
Ah, that might explain another bug I was running into. I'll test this later this weekend. Thanks!
109
Works in Progress / Re: Iji is now in Beta! Please test~
« on: September 19, 2014, 10:37:51 am »Youtube link is wrong though. Just takes me to my videos.
Thanks, I fixed it.
110
Works in Progress / Re: Iji is now in Beta! Please test~
« on: September 19, 2014, 03:02:03 am »
I've fixed the two major bugs reported (fullscreen and ducking) --updated video:
https://www.youtube.com/watch?v=_hbbV8xDU3o
...and downloads:
https://bitbucket.org/sethhetu/iji_enigma/downloads
Keep those bug reports coming.
https://www.youtube.com/watch?v=_hbbV8xDU3o
...and downloads:
https://bitbucket.org/sethhetu/iji_enigma/downloads
Keep those bug reports coming.
112
Issues Help Desk / Re: window_handle() is messed up
« on: September 15, 2014, 10:52:49 pm »
I can confirm that scaling (+views) sometimes behaves badly only on the Windows backend. I've been trying to fix this problem for Iji beta 2, but if the secondary window is removed, that will actually make my fix much, much easier.
As a workaround for those who need scaling, you can always just fake it with views. This is what I use:
As a workaround for those who need scaling, you can always just fake it with views. This is what I use:
Code: [Select]
window_set_fullscreen(true);
//Constants for the view you want to change.
rmId = 1; //Can't be the current room.
vInd = 0; //View to change
dW = display_get_width();
dH = display_get_height();
vW = 800;
vH = 600;
sH = -1; //Speed
sV = -1;
vX = 32;
vY = 32;
bH = 400; //Border
bV = 300;
objTrk = -1;
//Different scaling modes
mode = 1;
if (mode==3) {
//Stretch it across the entire display (leads to distortions).
dW2 = dW;
dH2 = dH;
} else {
//Ensure no stretching, center.
scl = min(dW/vW, dH/vH);
if (mode==2) {
//Forces perfect scaling.
scl = floor(scl);
}
dW2 = scl * vW;
dH2 = scl * vH;
}
//Now actually set it.
room_set_view(rmId, vInd, true,
vX, vY, vW, vH,
floor((dW-dW2)/2), floor((dH-dH2)/2), dW2, dH2,
bH, bV, sH, sV, objTrk
);
//You will need to switch to the new room to see the effect.
}
113
Developing ENIGMA / Re: Pls explain Lateral GM's source code
« on: September 12, 2014, 09:49:58 am »
You can have a look at the following file, which reads older (GMK) files:
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/file/GmFileReader.java
There are similar readers in the same package for reading GMX files, etc.
https://github.com/IsmAvatar/LateralGM/blob/master/org/lateralgm/file/GmFileReader.java
There are similar readers in the same package for reading GMX files, etc.
114
General ENIGMA / Re: Need some advice on fullscreen + views
« on: September 11, 2014, 10:51:49 am »
Yeah, that seems reasonable. Regardless, I'll probably just fake it with Views for Iji.
115
General ENIGMA / Re: Need some advice on fullscreen + views
« on: September 10, 2014, 11:33:04 pm »
Thanks for the comments; seems that full-screen is a lot more complicated than it should be. I can see how views+ports complicates things, and it seems that the new "application_surface" variable in GM just adds to the complexity.
I noticed that the window-within-a-window approach on Win32 breaks down when window_set_region_scale() is used in conjunction with window_set_fullscreen() ---or perhaps it's just my graphics card. Anyway, I think for now I'll just manually resize all the views+ports in Iji when fullscreen mode is activated, since there seems to be no easy answer.
I noticed that the window-within-a-window approach on Win32 breaks down when window_set_region_scale() is used in conjunction with window_set_fullscreen() ---or perhaps it's just my graphics card. Anyway, I think for now I'll just manually resize all the views+ports in Iji when fullscreen mode is activated, since there seems to be no easy answer.
116
General ENIGMA / Need some advice on fullscreen + views
« on: September 10, 2014, 10:20:50 pm »
Hello all,
I've got a pretty simple question: what's the "correct" (from a GM point of view) way of saying "make the game fullscreen, and stretch all views to fit"?
Basically, I know that window_set_fullscreen(true) works fine when views are off, but if views are in use then the game screen will never expand to fill the entire window. Is there some magic number for views/ports that causes the views to behave this way, or do I have to resize every view's port to fit the new window size when I trigger fullscreen?
Would appreciate any advice on this.
I've got a pretty simple question: what's the "correct" (from a GM point of view) way of saying "make the game fullscreen, and stretch all views to fit"?
Basically, I know that window_set_fullscreen(true) works fine when views are off, but if views are in use then the game screen will never expand to fill the entire window. Is there some magic number for views/ports that causes the views to behave this way, or do I have to resize every view's port to fit the new window size when I trigger fullscreen?
Would appreciate any advice on this.
117
General ENIGMA / Re: LGM 1.8.6
« on: September 10, 2014, 12:06:25 am »
Note that, as a practical consideration, icons larger than 2 billion pixels in width or height are not supported. Hope nobody minds!
118
Graphics and Video / Re: Do Not Use converticon.com
« on: September 09, 2014, 03:54:33 pm »
Yeah, from what I can tell, Windows and Linux BOTH ignore the width/height of icons and use the width/height of the actual images embedded in the icons. I'll get back to you after I do a few more tests (on older versions of Windows, etc.).
Nobody's as good at designing a standard and then immediately ignoring it than Windows.
Nobody's as good at designing a standard and then immediately ignoring it than Windows.
119
General ENIGMA / Re: Search Filter
« on: September 09, 2014, 12:15:49 am »
Ah, now I see.
I guess... for correctness, you should fix it, but for practicality it probably isn't a big deal.
I guess... for correctness, you should fix it, but for practicality it probably isn't a big deal.
120
General ENIGMA / Re: Search Filter
« on: September 08, 2014, 11:58:53 pm »
I think (at least for objects) duplicated objects will eventually fail on compile, due to duplicate definitions (C++-level). I imagine duplicates of anything else would fail when compiling resource the lookup maps (but haven't tried it).