Search found 2720 matches

by zorg
Sun Oct 20, 2019 5:13 am
Forum: General
Topic: [Game Jam] Announcing The Castle Halloween Party - 10/25-11/7
Replies: 4
Views: 679

Re: [Game Jam] Announcing The Castle Halloween Party - 10/25-11/7

Sounds good, hope you get a lot of submissions;

Unfortunately i won't be participating since between the last and the 3rd point in what you're calling manifesto (which is different than your linked community guidelines) it is inconsistent, in my opinion.
by zorg
Sat Oct 19, 2019 2:06 pm
Forum: Support and Development
Topic: [SOLVED] Is there a way to get the string width and height?
Replies: 4
Views: 472

Re: Is there a way to get the string width and height?

You don't need to create a new font, you can get the default font by just calling love.graphics.getFont . My point was that that's still a font, because strings are abstract in the sense that without a font, they don't have width or height, just count (codepoint count if we're talking utf-8 or simil...
by zorg
Sat Oct 19, 2019 1:02 pm
Forum: Support and Development
Topic: [SOLVED] Is there a way to get the string width and height?
Replies: 4
Views: 472

Re: Is there a way to get the string width and height?

Font:getWidth gets the width of a given text string in a specific font; Font:getHeight gives you the height of one line in that specific font. Not sure what else you might mean, unless you're asking for the number of characters (or codepoints) in a string, because that doesn't really have a width n...
by zorg
Fri Oct 18, 2019 11:14 pm
Forum: Support and Development
Topic: love.filesystem.mount() not working
Replies: 5
Views: 843

Re: love.filesystem.mount() not working

Hi and welcome to the forums. >in the love file That there is your issue; if the image is in a directory in the löve file, you just do img = love.graphics.newImage("hai/aladeen.jpeg"), because everything in the löve file is already mounted. If the hai directory was next to the löve file, outside of ...
by zorg
Mon Oct 14, 2019 6:53 pm
Forum: Support and Development
Topic: body:getposition with multiple shapes
Replies: 13
Views: 2358

Re: body:getposition with multiple shapes

zell2002 wrote:
Mon Oct 14, 2019 6:26 pm
Im very very sorry, that all this time I had missed a rendering bug... I am so ashamed lol
Thank you both for looking into this !
Is it possible to delete a post........?
You don't need to; how else would others learn from mistakes?
by zorg
Sun Oct 13, 2019 9:32 pm
Forum: Support and Development
Topic: Having problems with the newScreenshot() feature
Replies: 2
Views: 446

Re: Having problems with the newScreenshot() feature

Hi and welcome to the forums.

Did you read the glaring red box at the top of the wiki article? :3

> Removed in LÖVE 11.0
> It has been replaced by love.graphics.captureScreenshot.
by zorg
Sun Oct 13, 2019 2:52 pm
Forum: Support and Development
Topic: .love file not working
Replies: 2
Views: 439

Re: .love file not working

(conf.lua is not required)
In any case, more importantly, make sure you zipped the project folder *contents*, not the folder itself, as raidho was hinting at.
by zorg
Sun Oct 13, 2019 5:50 am
Forum: Support and Development
Topic: topdown rotations
Replies: 2
Views: 464

Re: topdown rotations

Your image faces a specific angle instead of to the right, which necessitates adding 180-45=135! Degrees to the angle. (Rotating by a half circle counterclockwise and by an eight clockwise from what would be a 0 degree offset)
by zorg
Sat Oct 12, 2019 11:01 am
Forum: Support and Development
Topic: How to make basic AI?
Replies: 8
Views: 837

Re: How to make basic AI?

Check out this link: https://docs.w3cub.com/love/mousejoint/. Do game developers with love2d have to learn all these commands as a minimum requirement to be able to create good enough games? Depends on what your definition of good enough would be. One could make a game without ever using love.physi...