Page 1 of 1
cursor.lua
Posted: Tue Jun 16, 2020 9:11 pm
by Yoshi021
Hello, today I would like to present cursor.lua, a sequel to click.lua. This library is a bit more modern to click.lua!
Documentation:
https://wohlsoft.ru/pgewiki/Cursor.lua
Download:
https://cdn.discordapp.com/attachments/ ... cursor.lua
Re: cursor.lua
Posted: Wed Aug 11, 2021 12:13 pm
by Novarender
Thanks
Re: cursor.lua
Posted: Thu Sep 02, 2021 7:48 am
by Marioman2007
Question: how can I detect if the cursor is touching an NPC?
Re: cursor.lua
Posted: Fri Sep 03, 2021 12:37 pm
by MrDoubleA
marioman2007 wrote: ↑Thu Sep 02, 2021 7:48 am
Question: how can I detect if the cursor is touching an NPC?
Use sceneX and sceneY to create a point collider, and then use that.
Re: cursor.lua
Posted: Fri Sep 03, 2021 9:41 pm
by Marioman2007
MrDoubleA wrote: ↑Fri Sep 03, 2021 12:37 pm
marioman2007 wrote: ↑Thu Sep 02, 2021 7:48 am
Question: how can I detect if the cursor is touching an NPC?
Use sceneX and sceneY to create a point collider, and then use that.
Why not directly use scenePos?
Re: cursor.lua
Posted: Mon Sep 06, 2021 1:38 pm
by Yoshi021
Yes, the library has a scenepos field that is a point collider set to the scene coordinates. There is also a counterpart screenpos collider.
Re: cursor.lua
Posted: Sat Feb 24, 2024 8:44 am
by Murphmario
New download link because Discord removed the old one.
https://pastebin.com/LEWj8XTK