how to make object follow something like the mouse

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.
Post Reply
A-lox
Prole
Posts: 43
Joined: Sun Apr 10, 2022 1:58 am

how to make object follow something like the mouse

Post by A-lox »

I need a object to follow the player how do I do that plz help me :awesome:
User avatar
darkfrei
Party member
Posts: 1181
Joined: Sat Feb 08, 2020 11:09 pm

Re: how to make object follow something like the mouse

Post by darkfrei »

A-lox wrote: Sun Jul 24, 2022 11:14 am I need a object to follow the player how do I do that plz help me :awesome:
Like this?
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
Ref
Party member
Posts: 702
Joined: Wed May 02, 2012 11:05 pm

Re: how to make object follow something like the mouse

Post by Ref »

Or like this?
Attachments
eatCursor.love
Simple animation
(175.93 KiB) Downloaded 80 times
Post Reply

Who is online

Users browsing this forum: No registered users and 51 guests