love.touchpressed doesnt work

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
bigbruhh0
Prole
Posts: 17
Joined: Fri Mar 26, 2021 10:36 pm
Location: Russia
Contact:

Re: love.touchpressed doesnt work

Post by bigbruhh0 »

MrFariator wrote: Sat Mar 27, 2021 7:53 pm In that code snippet, it seems you have written "touch_id" in place of "touches_id". "touch_id" is not defined, so it errors when you try to index it like a table.
oh, thanks, I didn't notice this at all, I thought the same error is repeated, I'm sorry
thanks everyone for the replies :awesome:
in love with love2d
User avatar
darkfrei
Party member
Posts: 1186
Joined: Sat Feb 08, 2020 11:09 pm

Re: love.touchpressed doesnt work

Post by darkfrei »

bigbruhh0 wrote: Sat Mar 27, 2021 8:01 pm
MrFariator wrote: Sat Mar 27, 2021 7:53 pm In that code snippet, it seems you have written "touch_id" in place of "touches_id". "touch_id" is not defined, so it errors when you try to index it like a table.
oh, thanks, I didn't notice this at all, I thought the same error is repeated, I'm sorry
thanks everyone for the replies :awesome:
Welcome :)
viewtopic.php?f=3&t=90264
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests