Tracking system

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
bmzz
Prole
Posts: 16
Joined: Fri May 06, 2011 9:21 am

Tracking system

Post by bmzz »

There is a simple tracking system.
Tracker.love
(1.63 KiB) Downloaded 319 times
Example :

Code: Select all

function love.update(dt)
    -- we need tracker/target provide x,y index for Tracker system
    Tracker.trace(speed, tracker, target)
end
try it.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Tracking system

Post by kikito »

World of goo uses something similar for the cursor. But they have much more circles, and the small ones are at the end.

When I write def I mean function.
bmzz
Prole
Posts: 16
Joined: Fri May 06, 2011 9:21 am

Re: Tracking system

Post by bmzz »

kikito wrote:World of goo uses something similar for the cursor. But they have much more circles, and the small ones are at the end.
cool game, it looks funny and cute.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Tracking system

Post by Jasoco »

It is funny and cute. I own it on three platforms. Wii, Mac and iPad. The iPad is the best version. If you haven't seen it by now, buy it for something. Even if it's PC. It's not expensive.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests