Search found 3 matches

by tommcjeff
Wed Dec 22, 2021 9:54 am
Forum: Support and Development
Topic: Contents of array gets reset for some reason...
Replies: 4
Views: 3109

Re: Contents of array gets reset for some reason...

togFox wrote: Wed Dec 22, 2021 8:57 am No love file attached. :(
Sorry, the website was haveing some "issues" when I was posting (random 404's), so it must've not gotten posted.
by tommcjeff
Wed Dec 22, 2021 7:41 am
Forum: Support and Development
Topic: Contents of array gets reset for some reason...
Replies: 4
Views: 3109

Contents of array gets reset for some reason...

I'm trying to make a wire placing system, however when I "place" the second segment of the "wire", it suddenly deletes all the contents, and won't work anymore. When I view the length of the array in console, it suddenly goes to 0 for some reason, however the rendering "engi...
by tommcjeff
Wed Nov 24, 2021 7:31 am
Forum: Support and Development
Topic: Why can't I store this value in variable, yet I can use it normally?
Replies: 3
Views: 4462

Why can't I store this value in variable, yet I can use it normally?

So I'm trying to make a simple scrolling platformer, but when I'm making it scroll, I came across this line: love.graphics.polygon("fill", objects.ground.body:getWorldPoints(objects.ground.shape:getPoints())) I tried to replace it with this: local allpoints = objects.ground.body:getWorldPo...