Search found 15 matches

by chimmihc
Fri Mar 07, 2025 7:07 pm
Forum: Support and Development
Topic: How to determine if a value is a LÖVE object?
Replies: 5
Views: 860

Re: How to determine if a value is a LÖVE object?

After a bit of testing it does seem objects of a type share the same metatable so that works.
by chimmihc
Thu Mar 06, 2025 9:26 pm
Forum: Support and Development
Topic: How to determine if a value is a LÖVE object?
Replies: 5
Views: 860

How to determine if a value is a LÖVE object?

I am creating an API with editable properties and would like to have basic type checking in it. For regular Lua values this is simple enough but I can't find a way to check if a value is a LÖVE object. I thought to extract Object:typeOf for this but calling it with non LÖVE objects actually causes t...
by chimmihc
Fri Jul 15, 2016 4:32 pm
Forum: Support and Development
Topic: LOVE OS X & Linux filesystem info
Replies: 2
Views: 1804

LOVE OS X & Linux filesystem info

Where might LOVE be installed at on those platforms?

I am creating a LOVE utility tool but only have access to Windows.
by chimmihc
Wed May 04, 2016 1:19 am
Forum: Support and Development
Topic: printf y size?
Replies: 2
Views: 2212

Re: printf y size?

pgimeno wrote:I think you want [wiki]Font:getWrap[/wiki].

Edit: In particular, [wiki]Font:getHeight[/wiki]() * #lines where lines is the second value returned by Font:getWrap().
That works perfectly! Thanks.
by chimmihc
Wed May 04, 2016 1:00 am
Forum: Support and Development
Topic: printf y size?
Replies: 2
Views: 2212

printf y size?

Is there a reasonable way to get how much love.graphics.printf will wrap?
by chimmihc
Tue Jan 12, 2016 7:01 pm
Forum: General
Topic: I LÖVE callbacks
Replies: 29
Views: 11828

Re: I LÖVE callbacks

I am well aware of what happens behind the scenes. I am just saying for "scripting end" coding I prefer simple systems that are easy to wrap around and make custom systems rather than systems like Gideros and Corona SDK have.
by chimmihc
Tue Jan 12, 2016 6:03 pm
Forum: Support and Development
Topic: How to active mobile soft keyboard?
Replies: 2
Views: 1705

Ah! I skipped right over that when searching the wiki.
by chimmihc
Tue Jan 12, 2016 5:49 pm
Forum: General
Topic: I LÖVE callbacks
Replies: 29
Views: 11828

Re: I LÖVE callbacks

airstruck wrote:Image
Take a look at the example here.

I would much rather have the love.keypressed,love.mousepressed, etc callbacks.
by chimmihc
Tue Jan 12, 2016 5:40 pm
Forum: Support and Development
Topic: How to active mobile soft keyboard?
Replies: 2
Views: 1705

How to active mobile soft keyboard?

Hmm? I would rather not make a custom keyboard.
by chimmihc
Tue Jan 12, 2016 3:07 pm
Forum: General
Topic: I LÖVE callbacks
Replies: 29
Views: 11828

I LÖVE callbacks

So much better to wrap around a callback event system than some OO listener system.