Search found 3550 matches
- Wed Mar 28, 2018 7:38 pm
- Forum: Support and Development
- Topic: Error With Object Oriented Things
- Replies: 13
- Views: 8672
Re: Error With Object Oriented Things
I forgot to specify, sometimes instead of [ ] it's the . operator the one producing the error (which is another notation for the same thing). Also, what zorg said. Also, Windows users normally don't think of using print() as a debugging tool, because they don't have a console to look at the output. ...
- Wed Mar 28, 2018 7:22 pm
- Forum: Support and Development
- Topic: Why is my box2d body lopsided?
- Replies: 7
- Views: 5026
Re: Why is my box2d body lopsided?
I'm not experienced enough to tell you what are weld joints useful for, but I know that all kinds of joints are somewhat elastic, while fixtures are solid and unmovable. For this application, I think a fixture would work better, as you probably don't want the weapons to wobble when hit.
- Wed Mar 28, 2018 3:53 pm
- Forum: Support and Development
- Topic: Error With Object Oriented Things
- Replies: 13
- Views: 8672
Re: Error With Object Oriented Things
When it says you're attempting to index a nil value, it means that you are trying to use a table that is not defined. I haven't even looked at your code, as you should learn to debug your own program. But if you used something like this: variable[index] then look into how and where you defined "...
- Wed Mar 28, 2018 3:43 pm
- Forum: Support and Development
- Topic: Is There any way to make an Animation without Quads?
- Replies: 11
- Views: 8933
Re: Is There any way to make an Animation without Quads?
You'll need to learn a bit more Lua, in particular how to use variables and conditions, to make stuff change over time.
- Wed Mar 28, 2018 3:40 pm
- Forum: Support and Development
- Topic: Why is my box2d body lopsided?
- Replies: 7
- Views: 5026
Re: Why is my box2d body lopsided?
I'm surprised it uses a joint in the first place, as opposed to a fixture.
- Wed Mar 28, 2018 1:48 am
- Forum: Games and Creations
- Topic: LOVE.blast(), arena shooter example game
- Replies: 19
- Views: 14677
Re: LOVE.blast(), arena shooter example game
Considering the game is from 6 years ago, I'd try with an older version of Löve. At the time of the last post in this thread before yours, it seems that 0.7.2 was the latest. Surprisingly, though, the game also works with 0.8.0 and 0.9.2. Check here and scroll down for older versions: https://bitbuc...
- Wed Mar 28, 2018 12:55 am
- Forum: Support and Development
- Topic: Why is my box2d body lopsided?
- Replies: 7
- Views: 5026
Re: Why is my box2d body lopsided?
I can't reproduce the effect you mention with the attached .love file, but I see it start to turn left slowly immediately after I turn right. After a long turn left, it's stable as long as I don't turn right. You can check the CoM of a body using regular body functions: https://love2d.org/wiki/Body:...
- Mon Mar 26, 2018 8:26 pm
- Forum: General
- Topic: Blurred fonts
- Replies: 8
- Views: 7352
Re: Blurred fonts
Try font:setFilter("nearest", "nearest"). You may also need to use a font size that is a multiple of 16, or alternatively, to adjust the size of the font instead of the scale.
- Fri Mar 23, 2018 6:37 pm
- Forum: Support and Development
- Topic: Love2d selectively refusing to recognize my functions
- Replies: 8
- Views: 5381
Re: Love2d selectively refusing to recognize my functions
Fair enough, but right now I'm just trying to understand what I was doing wrong. Let's see if this explanation helps clarifying that. I think you are confusing class and instance. If your functions are in the class but not in the instance, but you want them to act on the instance, you need to pass ...
- Thu Mar 22, 2018 12:02 pm
- Forum: Games and Creations
- Topic: Locas Ants Sim Remake
- Replies: 5
- Views: 7943
Re: Locas Ants Sim Remake
It seems to be metastable at best, but this one seemed to last for quite a long time. Don't understand, sorry. I never use metatables, don't know how :awesome: , I use closures. Sorry for the confusion. I meant "metastable" as in "only stable when not affected by anything but small f...