I am trying to write a simple interaction between the player and an item in Pulp.
It’s almost what
collect does, but I only want it to fire when the player is directly above the item and presses the
Is there a way to simply achieve this?
Unless I'm misunderstanding what you want to do, i think that
on confirm do
and for in the item:
on event do
if event.x==event.px then
if event.y==event.py then
This is exactly it gummipferd. Thank you!
I was considering comparing the player coordinates with the item coordinates just somehow missed that it can be done through