Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español – España (spanska – Spanien)
Español – Latinoamérica (spanska – Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (portugisiska – Portugal)
Português – Brasil (portugisiska – Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (ukrainska)
Rapportera problem med översättningen









Checking for a key-press is simple enough (as seen in this tutorial), but checking for when a key is released is a bit more involved, so the method I show is one way I might do it. It could be used in several ways, depending on what the Developer wants to have happen;
For example, maybe holding down a key for couple of seconds might "charge up" a spell or for a power-attack (for example, with a bit more creative eventing a power-bar could be shown), or maybe the Player is trying to bash a door or a chest, or perhaps there's a type of puzzle or perhaps a "slider" bar in which the Player needs to perhaps press a key to start an action and then try to release the key at the right moment for a better chance of success at doing an action. I imagine it can be used in many different ways.