Search found 454 matches
- Fri Nov 24, 2017 6:44 pm
- Forum: Games and Creations
- Topic: On The Roadside (Turnbased Strategy inspired by XCOM)
- Replies: 69
- Views: 73376
Re: On The Roadside (Turnbased Strategy inspired by XCOM)
Version 0.12.0.1207 - 2017-11-24 ## Additions - Added input dialog which allows custom savegame names - Added ingame map editor which allows to create layouts and prefabs which are used by the procedural map generator (can be activated in the options menu) - Added new map layouts - Added new prefab...
- Sat Nov 18, 2017 5:42 pm
- Forum: Libraries and Tools
- Topic: Love-Atom (Smart autocompletion for Atom)
- Replies: 30
- Views: 23418
Re: Love-Atom (Smart autocompletion for Atom)
Published version 3.1.5 which fixes a bug where type methods would be created without their first argument.
- Thu Nov 09, 2017 10:54 am
- Forum: Support and Development
- Topic: Handling complex keyboard input
- Replies: 13
- Views: 7505
Re: Handling complex keyboard input
I did, and in fact the correct answer was in my very first reply: I don't see how that was an answer to my OP, because I said myself that I could use love.textinput to get the complex characters. I wanted to know how I can use them to handle user input / controls. Anyway I got my answers from the o...
- Thu Nov 09, 2017 9:05 am
- Forum: Support and Development
- Topic: Handling complex keyboard input
- Replies: 13
- Views: 7505
Re: Handling complex keyboard input
Keys and characters are entirely different things. You keep conflating them. What you request is physically impossible, because you can't scan keys that do not exist. You need to decide if you want to check for keys or want to check for character input. There is no easy way to convert one into the ...
- Thu Nov 09, 2017 1:48 am
- Forum: Support and Development
- Topic: Handling complex keyboard input
- Replies: 13
- Views: 7505
Re: Handling complex keyboard input
You should also present key codes (e.g. getKeyFromScancode) to the user rather than scancodes, generally. Scancodes are best used for internal logic. Yeah, that's what I am doing at the moment with the keys that have scancodes. If you want to assign actions/inputs to combinations of keys, you shoul...
- Thu Nov 09, 2017 12:08 am
- Forum: Support and Development
- Topic: Handling complex keyboard input
- Replies: 13
- Views: 7505
Re: Handling complex keyboard input
Because
will never return true and I need some way of checking wether that key is pressed. That's what this whole thread is about.
Code: Select all
love.keyboard.isDown( '!' )
- Wed Nov 08, 2017 11:49 pm
- Forum: Support and Development
- Topic: Handling complex keyboard input
- Replies: 13
- Views: 7505
Re: Handling complex keyboard input
Attempting to translate scancodes into charcodes is madness. Don't do it. I don't want to. Use textinput if you need the character generated by that input [...] But how do I know which button combination produced that character? Or is there a way to use the produced character to check for "isD...
- Wed Nov 08, 2017 11:03 pm
- Forum: Support and Development
- Topic: Handling complex keyboard input
- Replies: 13
- Views: 7505
Handling complex keyboard input
I'm looking into input handling atm. As far as I understand the best way to go is using scancodes because they aren't dependent on the user's keyboard locale. Naturally there aren't scancodes for some keys like "?" or "A". What's the best practise to handle these? I could use lov...
- Wed Nov 08, 2017 7:23 pm
- Forum: Games and Creations
- Topic: On The Roadside (Turnbased Strategy inspired by XCOM)
- Replies: 69
- Views: 73376
Re: On The Roadside (Turnbased Strategy inspired by XCOM)
Version 0.9.2.1079 - 2017-10-28 ## Fixes - Fix crash caused by faulty parser pattern Version 0.10.0.1089 - 2017-10-28 ## Additions - Added ammo indicator which displays the total amount of ammunition a character has in his inventory - Added basics for parcel based procedural map generation - Map la...
- Sat Oct 28, 2017 4:03 pm
- Forum: Games and Creations
- Topic: On The Roadside (Turnbased Strategy inspired by XCOM)
- Replies: 69
- Views: 73376
Re: On The Roadside (Turnbased Strategy inspired by XCOM)
Published important hotfix 0.9.1.1073 to itch.io:
Code: Select all
# Version 0.9.1.1073 - 2017-10-28
## Fixes
- Fix infinite loading bug on macOS High Sierra 10.13