Giter Site home page Giter Site logo

AKeyboard about atlantis HOT 1 OPEN

bonsaifree avatar bonsaifree commented on August 18, 2024
AKeyboard

from atlantis.

Comments (1)

Ravaelles avatar Ravaelles commented on August 18, 2024

There as an issue with key events that I was not able to find a work-around for.
What works however is to press key (e.g. +) for a couple of seconds, it then works every time.

Currently game is controlled using +/- to change speed, C to focus on first combat unit etc.

For more latest shortcuts see:

// Key "Escape"
case 1:
System.out.println();
System.out.println("Exit requested by the user");
AGame.exit();
break;
// Key "c" / "C"
case 46:
CameraManager.toggleFocusCameraOnFirstCombatUnit();
break;
// // Key "o" / "O"
// case 24 : case 42:
// Key "p" / "P"
case 25 : case 41:
APainter.togglePainting();
break;
// Key "PauseBreak"
case 3653:
GameSpeed.pauseModeToggle();
break;
// Keys "-" and NumPad "-" and "["
case 12: case 3658: case 26:
GameSpeed.changeSpeedBy(+40);
// System.out.println("Notice: SPEED SLOWER (" + GameSpeed.gameSpeed + ")");
break;
// Keys "+" and NumPad "+" and "]"
case 13: case 3662: case 27:
GameSpeed.changeSpeedBy(-40);
// System.out.println("Notice: SPEED FASTER (" + GameSpeed.gameSpeed + ")");
break;
// Key "1"
case 2:
GameSpeed.changeFrameSkipTo(0);
break;

from atlantis.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.