Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Под  (Read 1990 times)

0 Members and 1 Guest are viewing this topic.

AmneziA

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 36
    • View Profile
Под
« on: February 10, 2010, 01:46:05 PM »

такая
Logged
На изломе неба
Был рожден на

Dionysius

  • Moderator
  • Frequent poster
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 361
    • View Profile
    • On the Tracks of Dinosaurs
Re: Под
« Reply #1 on: February 10, 2010, 05:45:15 PM »

scripts/game.script

Code: [Select]
on "Keypress"
{
  // ignore keypresses in the intro screen
  if(Scene.Name=="intro") return;

  // on Esc or F1 key
  if(Keyboard.KeyCode==VK_ESCAPE)
  {
    // load and display the main menu window
    WinCaption.Visible = false;
    var WinMainMenu = Game.LoadWindow("interface\system\mainmenu.window");
    WinMainMenu.Center();
    WinMainMenu.GoSystemExclusive();
    Game.UnloadObject(WinMainMenu);
  }
  else if(Keyboard.KeyCode==VK_F1)
  {
  Scene.ShowGeometry = !Scene.ShowGeometry;
  }
}

вот зде
Logged

AmneziA

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 36
    • View Profile
Re: Под
« Reply #2 on: February 11, 2010, 07:34:55 AM »

« Last Edit: February 11, 2010, 07:53:55 AM by AmneziA »
Logged
На изломе неба
Был рожден на
 

Page created in 0.182 seconds with 24 queries.