Search found 14 matches

by Foogles
Sat Mar 05, 2016 3:36 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 454250

Re: "Questions that don't deserve their own thread" thread

There is no such thing as copying a table really. [...] And löve won't go into a four dimensional time hole loop cycle and consume your PC. Thank you very much for your time and information. I am relieved to hear that löve isn't going to break the space time continuum, as I probably wouldn't have s...
by Foogles
Sat Mar 05, 2016 3:12 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 454250

Re: "Questions that don't deserve their own thread" thread

If I have a table: table = {} table.number table.body table.shape table.fixture And then I do table.fixture:setUserData(table) Would that store a reference to the table or duplicate it? I'm also trying not to dwell on the paradoxical implication that it will create a copy of the fixture in the data ...
by Foogles
Sat Mar 05, 2016 2:36 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 454250

Re: "Questions that don't deserve their own thread" thread

The physics contact filter sends two fixtures in a collision to my HandleCollision() function. Is there a way for me to access the parent table of the fixtures passed? I have a table that contains the shape, body, fixture, and crucial data such as health and damage of the objects. When a collision o...
by Foogles
Sat Mar 05, 2016 1:07 am
Forum: General
Topic: Let's Dev - Game Development Videos
Replies: 8
Views: 3972

Re: Let's Dev - Game Development Videos

Hey! The videos are great. I would love to see more details for how you're doing things like the visual effects.
by Foogles
Fri Mar 04, 2016 10:45 pm
Forum: Support and Development
Topic: Repeat increment until variable is a specific amount issue
Replies: 6
Views: 4988

Re: Repeat increment until variable is a specific amount issue

You should definitely consider the for loop. I use for loops for iterating through array indices. It looks like this: for i=1,10,1 do --do stuff here end Essentially it says, set a new local variable i equal to 1, stop this loop when i is greater than 10, and add 1 to i each time the loop is run.
by Foogles
Fri Mar 04, 2016 3:38 am
Forum: Support and Development
Topic: Repeat increment until variable is a specific amount issue
Replies: 6
Views: 4988

Re: Repeat increment until variable is a specific amount issue

Hey, you're not an idiot :) We all have to start somewhere, and you're on the right track, there's just a typo or misunderstanding with one of your operators. Your game crashes on line 8... let's look at that line of code: until h = 580 So it's clear you're using the repeat ... until statement in lu...
by Foogles
Thu Mar 03, 2016 7:01 pm
Forum: General
Topic: Game Development for Complete Beginners
Replies: 38
Views: 21667

Re: Game Development for Complete Beginners

I had heard about LOVE2D before I saw your videos, but it was actually these that convinced me to start using it :)

Please keep them coming; the tip on using Zero Brain Studio was amazing.. I'm not sure if I would be coding in Love without it.
by Foogles
Thu Mar 03, 2016 5:34 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 454250

Re: "Questions that don't deserve their own thread" thread

You are absolutely right -- if I hadn't made that syntax error then I wouldn't have gone on to make the setcontactfilter(handlecollision()) mistake... Thank you so much for your time.
by Foogles
Thu Mar 03, 2016 5:21 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 454250

Re: "Questions that don't deserve their own thread" thread

Thank you for the logical explanation to my mistakes. It did occur to me to call it as World:setContactFilter(HandleCollision), which does appear to be the correct approach, but that did not work for other reasons. I see now that it didn't work because I am making multiple mistakes. You say that the...
by Foogles
Thu Mar 03, 2016 4:08 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 454250

Re: "Questions that don't deserve their own thread" thread

I have another question regarding love physics. I am attempting to use the function World:setContactFilter( filter ) to control what happens when different objects collide. I am not sure how to set the contact filter function with appropriate syntax; the filter function is supposed to receive two ar...