Search found 77 matches

by unixfreak
Wed Jan 27, 2016 1:39 am
Forum: Support and Development
Topic: [Solved] objects twitching when moving / removing from table?
Replies: 6
Views: 682

Re: objects twitching when moving / removing from table?

Well, I think i've just found a workaround. In love.update(dt) i move the table.remove( .. ) to another loop after shifting the x position, which seems to fix the problem... i'm not sure it it's ideal though -- is there a way to get that behaviour in a single loop? Original: for i,s in pairs(square....
by unixfreak
Wed Jan 27, 2016 1:35 am
Forum: Support and Development
Topic: [Solved] objects twitching when moving / removing from table?
Replies: 6
Views: 682

Re: objects twitching when moving / removing from table?

Here's a screenshot from the game i am working on, which hopefully makes the problem more clear; screen1.jpg The sprites should stay in formation, like the ones at the top right of the screen. But as an enemy goes off the left side (it is just removed from the table) which causes the next enemy in t...
by unixfreak
Wed Jan 27, 2016 1:22 am
Forum: Support and Development
Topic: [Solved] objects twitching when moving / removing from table?
Replies: 6
Views: 682

Re: objects twitching when moving / removing from table?

For me, they're constantly twitching, but that's an issue with my window manager. Either try math.floor-ing the x and y coordinates of your squares in your love.draw, or try running it in fullscreen, whether the issue exists there as well, or not. Unfortunately i've tried all of that. I did also di...
by unixfreak
Wed Jan 27, 2016 12:48 am
Forum: Support and Development
Topic: [Solved] objects twitching when moving / removing from table?
Replies: 6
Views: 682

[Solved] objects twitching when moving / removing from table?

I have a side-scrolling project (like a space shooter) where enemies come in waves from the right side of the screen, and i have encountered a problem i haven't been able to solve. Basically, as an enemy goes off the left side of the screen, it is removed from the table -- however, the next enemy in...
by unixfreak
Sat Dec 05, 2015 11:00 pm
Forum: General
Topic: How to address unwanted motion blur?
Replies: 3
Views: 1167

How to address unwanted motion blur?

This is mostly relative to side-scrolling games, i tried searching the forum but only found this thread -- https://love2d.org/forums/viewtopic.php?f=4&p=91044 Basically, regardless of any colour palette, i can never seem to get around unwanted motion blur with a side-scrolling game. If you think som...
by unixfreak
Thu Oct 15, 2015 7:24 am
Forum: Support and Development
Topic: Rounded corners and quads?
Replies: 3
Views: 834

Re: Rounded corners and quads?

Thanks for the speedy reply, I did try already with some rounded images placed on the corners, but the tiling within the quad wouldn't match up depending on the height/width of the platform. I will try look at using a mesh. :awesome:
by unixfreak
Thu Oct 15, 2015 6:44 am
Forum: Support and Development
Topic: Rounded corners and quads?
Replies: 3
Views: 834

Rounded corners and quads?

Hello! I had to sign up to ask this, as i've been searching different methods for the past day, but have not found a solution yet. :vamp: Basically, i have alot of square platforms in a game i have recently started working on. I would like to get the bottom corners of the platforms to be rounded. Th...