Questions about Windows 7 64 Bit

Started by Ghostlady, Sun 26/06/2011 03:12:40

Previous topic - Next topic

Ghostlady

1.  Is AGS compatible with Windows 7
2.  Has anyone made a game with Windows 7 yet?
3.  I started creating my game with Windows XP and thought I'd finish it with Windows 7.  Is this a bad idea?
4.  When running the game from the editor - I only get the windowed mode
5.  I set up the Escape key to bring up the Load/Save gui and the Escape key does not always work.
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

monkey0506

Yes. Yes. No. This is by default, you're running the game with the script debugger which is always windowed. We need more information about #5 as it's probably a scripting issue.

To elaborate on #4, you have to select "Build -> Run without debugger". Also there is an option in preferences which might still force it to run windowed.

64-bit doesn't make any difference in AGS because all of its data types have an explicit maximum size of 32-bit. The reason certain 32-bit programs don't work in 64-bit systems is because they implicitly rely on certain data types being 32-bit whereas the system environment is actually explicitly defining them as 64-bit. Since AGS explicitly defines the size of its data types this isn't an issue.

Ghostlady

1. ok
2. ok
3. ok
4. "Build -> Run without debugger" is what I selected and I didn't see any other options in preferences
5.  Code from the global script.  Keycode 27 is what I am using for the Escape key.

function on_key_press(int keycode) {
  // called when a key is pressed. keycode holds the key's ASCII code
  if (IsGamePaused() == 1) keycode=0;  // game paused, so don't react to keypresses
  if (keycode==17)  QuitGame(1);   // Ctrl-Q
  if (keycode==363) SaveGameDialog();   // F5
  if (keycode==365) RestoreGameDialog();  // F7
  if (keycode==367) RestartGame();  // F9
  if (keycode==434) SaveScreenShot("scrnshot.bmp");  // F12
  if (keycode==19)  Debug(0,0);  // Ctrl-S, give all inventory
  if (keycode==22)  Debug(1,0);  // Ctrl-V, version
  if (keycode==1)   Debug(2,0);  // Ctrl-A, show walkable areas
  if (keycode==24)  Debug(3,0);  // Ctrl-X, teleport to room
  if (keycode==27)  {
      gIconbar.Visible = true;
      aSound10.Play(); }  // Escape
}

Thanks for the explanation on 64-bit
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

Knox

Im currently creating a game with win 7 x64, so far no probs.

For the esc problem sometimes not working as you mentionned, I get the same thing...sometimes its as if AGS doesnt capture the esc key or something.
--All that is necessary for evil to triumph is for good men to do nothing.

monkey0506

#4
That might actually be an issue with Windows. Do you by chance have "sticky keys" turned on in Windows?

As for running without the debugger: File -> Preferences. Then it's in the top-left corner of the pop-up: "When running without debugger" and there's a drop-down.

Calin Leafshade

Esc may not work if Photoshop is open. Photoshop has a known issue in Win7 where it catches the escape key.

Ghostlady

#6
I found the setting.  Great.

How do I tell if "sticky keys" are turned on in Windows?

I don't have Photoshop on my computer.
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

Khris

Go to Control Panel -> Ease of Access -> Keyboard
There are all kinds of settings there, sticky keys is among them.

Ghostlady

#8
Ok, sticky keys are not turned on.
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

Knox

QuoteEsc may not work if Photoshop is open. Photoshop has a known issue in Win7 where it catches the escape key

wow, didnt know that...we should check that out!
--All that is necessary for evil to triumph is for good men to do nothing.

SMF spam blocked by CleanTalk