No Consolation - A game in progress (0.9.0)

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
20047m
Prole
Posts: 13
Joined: Sun Nov 03, 2013 5:44 am

No Consolation - A game in progress (0.9.0)

Post by 20047m »

Hello all!

I have been working on creating a stylish text based game for quite a while now and was looking for some people to test it out. I would love to hear any feedback that anyone has to offer! There is very little content right now, as I am mostly still testing the game’s framework. Keep that in mind when looking through it, as this is mostly just a small demonstration of what this app is going to look like.
Last edited by 20047m on Fri Jul 22, 2016 8:02 pm, edited 2 times in total.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: No Consolation - A game in progress (0.9.0)

Post by Nixola »

Instant feedback: the files are swapped, noConsolationEdit.love errors about enumerate being nil, I'll leave you more feedback later

More feedback: "cd .." doesn't bring me to the previous dir level and I can't seem to type the slash (shift+7 in my keyboard layout, Shift doesn't seem to work - you are using textinput, aren't you? This seems to be a LOVE bug) so I can't actually proceed in the game

Edit #2: Except I can, because of root. Suggestion: make "cd .." move you to the parent dir instead of 'up'
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
20047m
Prole
Posts: 13
Joined: Sun Nov 03, 2013 5:44 am

Re: No Consolation - A game in progress (0.9.0)

Post by 20047m »

Nixola wrote:Instant feedback: the files are swapped, noConsolationEdit.love errors about enumerate being nil, I'll leave you more feedback later
I switched the files. Should be fixed now :)
Nixola wrote:More feedback: "cd .." doesn't bring me to the previous dir level and I can't seem to type the slash (shift+7 in my keyboard layout, Shift doesn't seem to work - you are using textinput, aren't you? This seems to be a LOVE bug) so I can't actually proceed in the game

Edit #2: Except I can, because of root. Suggestion: make "cd .." move you to the parent dir instead of 'up'
"cd ../" is coming up on the upcoming features list. "up" is just a dirty hack until I get that working! I'm glad you pointed that out, thank you, I wasn't sure if many people were used to that.

As for input, what's the best way to track keys being pressed while being agnostic of keyboard layout? This part is somewhat new to me. Thanks!
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: No Consolation - A game in progress (0.9.0)

Post by Nixola »

The best way is using love.textinput, which should pass the pressed character; all the symbols (which don't require shift) seem to work though, so you either use the IT keyboard layout as well or you're doing that correctly already.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
bizziboi
Citizen
Posts: 57
Joined: Sat Apr 16, 2011 9:24 am

Re: No Consolation - A game in progress (0.9.0)

Post by bizziboi »

Is the 2 version purely because of love.filesystem.enumerate?

Because in that case you can do

if not love.filesystem.enumerate then
love.filesystem.enumerate = love.filesystem.getDirectoryItems
end

and use love.filesystem.enumerate and be 0.8.0 and 0.9.0 compatible.
User avatar
slime
Solid Snayke
Posts: 3170
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: No Consolation - A game in progress (0.9.0)

Post by slime »

bizziboi wrote:Is the 2 version purely because of love.filesystem.enumerate?

Because in that case you can do

if not love.filesystem.enumerate then
love.filesystem.enumerate = love.filesystem.getDirectoryItems
end

and use love.filesystem.enumerate and be 0.8.0 and 0.9.0 compatible.
Or do this instead so you get in the habit of writing love.filesystem.getDirectoryItems, which is the new one rather than the one that's removed:

Code: Select all

love.filesystem.getDirectoryItems = love.filesystem.getDirectoryItems or love.filesystem.enumerate
:)
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests