User avatar
Eniko Fox @eniko@mastodon.gamedev.place
5mo
trying to decide the controls for "place thing down in the world as a decoration" in block game

i could just make it so if you have an item in a hotbar slot and its not readied its automatically in place mode

or i could make a dedicated button to engage place mode

not sure
2
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
5mo
i think i'm just gonna go with an "engage decoration mode" button that toggles in/out
2
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
5mo
how y'all feel about ~/` for deco mode toggle
4
0
0
0
User avatar
Ratsnake Games ๐Ÿ”ž @ratsnakegames@mastodon.social
5mo
@eniko those are the keys every dev fails to localize properly
1
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
5mo
@ratsnakegames oh i use SDL so i mean the physical key in that location
1
0
0
0
User avatar
Ratsnake Games ๐Ÿ”ž @ratsnakegames@mastodon.social
5mo
@eniko i have no idea what location that is
1
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
5mo
@ratsnakegames it's the one left of 1 and above tab
1
0
0
0
User avatar
Ratsnake Games ๐Ÿ”ž @ratsnakegames@mastodon.social
5mo
@eniko Ah. ^.
1
0
0
0
User avatar
Ratsnake Games ๐Ÿ”ž @ratsnakegames@mastodon.social
5mo
@eniko Definitely do not touch that with a ten-foot pole. It's a dead key on German keyboards.
1
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
5mo
@ratsnakegames what do you mean by a dead key?
1
0
0
0
User avatar
Ratsnake Games ๐Ÿ”ž @ratsnakegames@mastodon.social
5mo
@eniko It does not immediately result in text output. If I press ^, I do not immediately get a visible glyph, but if I then press "a", I get "รข".

This means that if games use ^ as a hotkey, subsequent text inputs often get messed up. (This is a problem with the console in Elder Scrolls games, for example.)
2
0
0
0
User avatar
sijmen @sijmen@shrimp.vijf.life
5mo
@ratsnakegames @eniko wouldn't SDL have direct access to the keyboard, making this a non-issue?
1
0
0
0

User avatar
Ratsnake Games ๐Ÿ”ž @ratsnakegames@mastodon.social
5mo
@sijmen @eniko I don't know, I don't use SDL.

Even if SDL correctly handles it, it is something to keep in mind - and of course, any button prompts have to be localized (a lot of devs do not do that).
1
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
5mo
@ratsnakegames @sijmen yeah i just checked this, shouldn't be a problem so long as i don't enable text input unnecessarily. using dutch keyboard i can press apostrophe then middle mouse to turn on text input then press o and it doesn't come out as รณ but o
1
0
0
0
User avatar
Eniko Fox @eniko@mastodon.gamedev.place
5mo
@ratsnakegames @sijmen localizing the keycap graphics would be harder and i'm electing to make that future eni's problem :')
1
0
1
0
User avatar
sijmen @sijmen@shrimp.vijf.life
5mo
@eniko @ratsnakegames that'll have to come anyway whenever future eni can be bothered to implement rebindable keys neofox_sip
0
0
1
0