Quick question

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Findo777
Prole
Posts: 36
Joined: Tue Feb 25, 2014 4:09 am

Quick question

Post by Findo777 »

For keyboard checking, what would the space bar string be called?


ex: love.keyboard.isDown("space") -- is this right?
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: Quick question

Post by davisdude »

No. It's

Code: Select all

love.keyboard.isDown(" ")
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
Findo777
Prole
Posts: 36
Joined: Tue Feb 25, 2014 4:09 am

Re: Quick question

Post by Findo777 »

Thank you.
User avatar
DaedalusYoung
Party member
Posts: 413
Joined: Sun Jul 14, 2013 8:04 pm

Re: Quick question

Post by DaedalusYoung »

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest