Drawing a line where a circle goes

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
User avatar
Charlie Gallie
Prole
Posts: 14
Joined: Sun Mar 18, 2018 2:53 pm

Drawing a line where a circle goes

Post by Charlie Gallie »

Hello,

I was just wondering, how would I go about drawing a line where a circle has already been, a bit this picture of where the ISS has been. I've attached a copy of the code.
I also feel obligated to tell you that this isn't my code, which is also part of the reason I don't know how to do this.
I think that user 'zorg' made this. I may be wrong.

Thanks!
Attachments
Circle thing.love
(157.44 KiB) Downloaded 179 times
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Drawing a line where a circle goes

Post by raidho36 »

Record positions of the circle in all relevant moments, then draw short lines through all of these points consecutively.
User avatar
Charlie Gallie
Prole
Posts: 14
Joined: Sun Mar 18, 2018 2:53 pm

Re: Drawing a line where a circle goes

Post by Charlie Gallie »

raidho36 wrote: Wed May 29, 2019 9:28 pm Record positions of the circle in all relevant moments, then draw short lines through all of these points consecutively.
Damn I've not logged in for ages but I think it's still worth saying thank you for your suggestion. That'd work perfectly.
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Drawing a line where a circle goes

Post by zorg »

If i did make that, i dont remember :p
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests