Show Posts

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.


Messages - sorlok_reaves

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 »
106
Issues Help Desk / Re: window_handle() is messed up
« on: September 21, 2014, 09:07:29 PM »
You might want to wait 2 minutes on that; I just found a tiny bug in the Windows backend (forgot to re-introduce extern int windowColor). I'll issue a pull request as soon as this test build completes.

107
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.

108
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.

109
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!

110
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.

111
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. :D

112
Proposals / Re: "Completed Games" forum
« on: September 18, 2014, 08:10:43 PM »
Me too!

113
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:

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.
}

114
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.

115
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.

116
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.

117
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.

118
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!

119
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.

120
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.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 »