Search found 105 matches

by PGUp
Fri Mar 30, 2018 3:01 am
Forum: Support and Development
Topic: Is There any way to make an Animation without Quads?
Replies: 11
Views: 8918

Re: Is There any way to make an Animation without Quads?

You hide things by not showing them, i.e. don't draw them during frames you want to not show those sprites. And how do I do that in love.update(dt)? I tried putting love.graphics.draw in it but nothing happened when I pressed the button I assigned the animation in. Making it as simple as possible f...
by PGUp
Thu Mar 22, 2018 12:52 pm
Forum: Support and Development
Topic: Is There any way to make an Animation without Quads?
Replies: 11
Views: 8918

Re: Is There any way to make an Animation without Quads?

Hi and welcome to the forums. If you have the frames in separate files, then loading them as separate images does not require you to use quads; quads are useful if you want to display a part of a bigger image only (with or without using spritebatches). That said, it may be faster the latter way. Is...
by PGUp
Wed Mar 21, 2018 12:27 pm
Forum: General
Topic: Why faking 3D nowadays?
Replies: 46
Views: 39650

Re: Why faking 3D nowadays?

For fun, most of the time, also for game styles
by PGUp
Sat Mar 10, 2018 7:07 am
Forum: General
Topic: LOVE users map
Replies: 182
Views: 118226

Re: LOVE users map

Riau, Indonesia
by PGUp
Thu Mar 01, 2018 9:59 am
Forum: Support and Development
Topic: line with ellipse/circle collision
Replies: 15
Views: 10467

Re: line with ellipse/circle collision

nvm decided to make my player round instead of weird ellipse shape
by PGUp
Wed Feb 28, 2018 2:35 pm
Forum: Support and Development
Topic: line with ellipse/circle collision
Replies: 15
Views: 10467

Re: line with ellipse/circle collision

I guess you have the line specified as two points, and the circle as centre and radius. Is this correct? If so, what Ivan posted shows how to detect the collision. If you want to resolve it, you will need more work. How do you specify ellipses? for the ellipse, need to check line segment with the e...
by PGUp
Wed Feb 28, 2018 2:32 pm
Forum: Support and Development
Topic: line with ellipse/circle collision
Replies: 15
Views: 10467

Re: line with ellipse/circle collision

ivan wrote: Wed Feb 28, 2018 2:27 pm Segment vs circle is relatively easy, you just project the center of the circle on the line:
https://2dengine.com/?p=intersections#Segment_vs_circle
With ellipses it would be more difficult.
thx
by PGUp
Wed Feb 28, 2018 2:27 pm
Forum: Support and Development
Topic: line with ellipse/circle collision
Replies: 15
Views: 10467

Re: line with ellipse/circle collision

pgimeno wrote: Wed Feb 28, 2018 2:27 pm Circle and ellipse are very different problems. Which data do you have?
circle for now
by PGUp
Wed Feb 28, 2018 2:19 pm
Forum: Support and Development
Topic: line with ellipse/circle collision
Replies: 15
Views: 10467

line with ellipse/circle collision

formula ? or example function, dont want to use physics.