Kurosuke (working title)

Show off your games, demos and other (playable) creations.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

Re: Kurosuke (working title)

Post by TechnoCat »

Using the Window key on Windows isn't a viable option. That is, unless people love looking at their stupid start menus.
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: Kurosuke (working title)

Post by Lafolie »

TechnoCat wrote:Using the Window key on Windows isn't a viable option. That is, unless people love looking at their stupid start menus.
Isn't there a way to check the user's OS and alter the default accordingly?
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
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Kurosuke (working title)

Post by Robin »

Lafolie wrote:Isn't there a way to check the user's OS and alter the default accordingly?
Hell no. Isn't it better to just let the player pick what keys they want to use, if you're going to do something fancy anyway?
Help us help you: attach a .love.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Kurosuke (working title)

Post by Jasoco »

I think it was more about choosing defaults that apply to the current OS. Last I used Löve's "What is the OS I am on" thing it returned OS X as Linux. And now I can't even remember how to get it anymore. So I don't know if it was fixed.

I mean obviously you have to have defaults. It's bad practice to force the player to configure their game right out of the box. They should be able to jump in without having to configure right from the start.

But yes, make sure you offer configuration.
Last edited by Jasoco on Fri May 13, 2011 10:46 pm, edited 1 time in total.
User avatar
slime
Solid Snayke
Posts: 3133
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Kurosuke (working title)

Post by slime »

You could do some trickery with os.execute or os.getenv to determine the current OS. If/when LuaJIT becomes a standard part of LÖVE it has a jit.os string that will tell you.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Kurosuke (working title)

Post by Robin »

slime wrote:You could do some trickery with os.execute or os.getenv to determine the current OS.
If you do that, you better check for their existence first, as it would leave SELÖVE users unable to play the game otherwise.
Help us help you: attach a .love.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Kurosuke (working title)

Post by tentus »

Robin wrote:
slime wrote:You could do some trickery with os.execute or os.getenv to determine the current OS.
If you do that, you better check for their existence first, as it would leave SELÖVE users unable to play the game otherwise.
Does SELOVE restrict loading external lua files? I'm thinking about making packs of extra levels, and I don't want SELOVErs to be left out.
Kurosuke needs beta testers
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Kurosuke (working title)

Post by nevon »

tentus wrote:
Robin wrote:
slime wrote:You could do some trickery with os.execute or os.getenv to determine the current OS.
If you do that, you better check for their existence first, as it would leave SELÖVE users unable to play the game otherwise.
Does SELOVE restrict loading external lua files? I'm thinking about making packs of extra levels, and I don't want SELOVErs to be left out.
What do you mean by external? If you have access to it using love.filesystem, it'll work.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Kurosuke (working title)

Post by Robin »

Exactly. If you're not doing anything crazy, SELÖVE lets you do it.
Help us help you: attach a .love.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Kurosuke (working title)

Post by tentus »

Updated to work in 0.8.0. Please keep an eye out for anything I missed. I promise I will pick this project back up at some point, life has been keeping me too busy lately.
Kurosuke needs beta testers
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 60 guests