LÖVE

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: LÖVE

Post by Lafolie »

It must take you ages to write things if you copy and paste characters instead of typing them out.

On OS X and some Linux environments I've used, you can type 'special' characters (ie those not represented on the physical keys) by using modifier keys. On OS X for example, Option-Shift-k (or Option-K) is the old bitten apple , and Option-u generates an umlaut ö. On Windows the only method I know of is Alt and a swift combination of numpad integers which generates a character according to some index number (could be Unicode, I'm not sure). I use a British keyboard layout, input may differ depending on your keyboard.

Hrm, I know of a song called "Love is Not Enough". :P
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
User avatar
vitaminx
Citizen
Posts: 95
Joined: Fri Oct 19, 2012 7:16 am
Location: international
Contact:

Re: LÖVE

Post by vitaminx »

I always wondered how to do that on Linux and I've digged into it, here's are two ways:

compose key
If you haven't got a compose modifier defined yet you can assign it e.g. to the right window key with:

Code: Select all

setxkbmap -option compose:rwin
hexadecimal code
On Linux you enter hex values for characters with CTRL+SHIFT+u followed by the hex code (no need to keep these keys pressed, when you're finished simply hit enter).

Here's the table for german umlauts:

Code: Select all

char   hex   compose
--------------------
ä      e4    "a
Ä      c4    "A
ö      f6    "o
Ö      d6    "O
ü      fc    "u
Ü      dc    "U
ß      df    ss
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LÖVE

Post by Robin »

I just use dead keys. Makes " and the like a bit harder to type, unfortunately.
Help us help you: attach a .love.
User avatar
vitaminx
Citizen
Posts: 95
Joined: Fri Oct 19, 2012 7:16 am
Location: international
Contact:

Re: LÖVE

Post by vitaminx »

there's a keyboard layout which puts the dead key to AltGr modifier, it's called:

layout: English (US)
variant: English (international AltGr dead key)

this should solve your inconvenience.

damn... so many ways to enter special chars on Linux :)
User avatar
vitaminx
Citizen
Posts: 95
Joined: Fri Oct 19, 2012 7:16 am
Location: international
Contact:

Re: LÖVE

Post by vitaminx »

I just found out that once the keymap with AltGr as dead key modifier is activated, you have some additional very simple keystrokes to type all this:

Code: Select all

ä      AltGr+q
Ä      AltGr+Q
ö      AltGr+p
Ö      AltGr+P
ü      AltGr+y
Ü      AltGr+Y
ß      AltGr+s
Wow, even after more than a decade using Linux there are still surprises...

(I need to stop posting in this thread, now it looks like a Linux support forum :P)
User avatar
SimonLarsen
Party member
Posts: 100
Joined: Thu Mar 31, 2011 4:47 pm
Location: Denmark
Contact:

Re: LÖVE

Post by SimonLarsen »

bartbes wrote:I remember there being a story about this, but roughly, it's called love, because love is all you need (insert more puns here) and there's an umlaut because umlauts are cool. I like umlauts. Umlauts are cool.
I've always assumed it was so you could say "made with LÖVE". :ultraglee:
ananasblau
Prole
Posts: 11
Joined: Tue Nov 06, 2012 6:44 pm
Location: Austria
Contact:

Re: LÖVE

Post by ananasblau »

no_akira wrote:This is a valid question, also why did they name it with a german umlauts ! If makes it a PITA when searching on google
It's not necessarily a german Ö. The hungarian alphabet also has umlauts, two different sorts even! The ones with the dash are pronounced longer than the ones with the dots.

Ö Ő Ü Ű
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: LÖVE

Post by kikito »

When I write def I mean function.
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

Re: LÖVE

Post by substitute541 »

kikito wrote:The Ö is an orc wearing a helmet made of ... .
An orc wearing a helmet made of testicles. Seems logical for a resurrected man-zombie-elf.
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: LÖVE

Post by Lafolie »

I have to say that the Rock Paper Shotgun website is disgustingly advert heavy. Eurgh.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests