Search found 102 matches

by AuahDark
Wed Sep 29, 2021 8:59 am
Forum: Support and Development
Topic: Implementing Firefox's Pinch Zoom Gesture
Replies: 2
Views: 1621

Re: Implementing Firefox's Pinch Zoom Gesture

It took me few days, but thanks I finally got it right.
by AuahDark
Mon Sep 27, 2021 11:35 am
Forum: Support and Development
Topic: Implementing Firefox's Pinch Zoom Gesture
Replies: 2
Views: 1621

Implementing Firefox's Pinch Zoom Gesture

Hello, I'm trying to implement zoom gesture for my game. I tried various methods on implementing this but no avail. My quick guess is to do it in love.touchmoved callback but I have no idea how. Any help is appreciated. This is the gesture I wanted. You can see both of my fingers as black large dots...
by AuahDark
Mon Sep 27, 2021 11:17 am
Forum: Support and Development
Topic: Building with my own LuaJIT
Replies: 3
Views: 1846

Re: Building with my own LuaJIT

You don't specify OS. In Linux, you probably have to recompile everything so it uses /usr/local paths. In Windows, it's not possible to compile LuaJIT for Windows ARM64 yet.
by AuahDark
Sun Aug 08, 2021 11:39 am
Forum: Support and Development
Topic: Multicanvas shader compile error because of comment line
Replies: 3
Views: 8724

Re: Multicanvas shader compile error because of comment line

The current shader entrypoint detection is simple Lua's

Code: Select all

string.match
/

Code: Select all

string.find
which doesn't take comments into account. The current solution is to remove the commented entrypoint.
by AuahDark
Fri Aug 06, 2021 3:40 am
Forum: General
Topic: Releasing on android play store
Replies: 9
Views: 8521

Re: Releasing on android play store

Unfortunately for now you have to compile LOVE Android from source since Google mandates AAB.
by AuahDark
Wed Jun 30, 2021 12:05 pm
Forum: Support and Development
Topic: (not urgent) Love2D.exe not starting on a particular PC
Replies: 8
Views: 10187

Re: (not urgent) Love2D.exe not starting on a particular PC

Does the nightly works (in GitHub)? If not then do you have windbg? I probably can send you LOVE build with PDB to test and you can get the backtrace from there.
by AuahDark
Tue Jun 22, 2021 6:14 am
Forum: Support and Development
Topic: Crash drawing large number of circles
Replies: 6
Views: 6899

Re: Crash drawing large number of circles

I believe this issue has been fixed in 11.4. I'd love if you can try love-git AUR https://aur.archlinux.org/packages/love-git and report back.
by AuahDark
Sat Jun 19, 2021 2:38 pm
Forum: General
Topic: Best practices and things you'd like changed about Love2D
Replies: 47
Views: 42806

Re: Best practices and things you'd like changed about Love2D

Jeeper wrote: Fri Jun 18, 2021 12:22 pm Say you want to use the same font everywhere, now you only need to call love.graphics.setFont(myFont) once.
I also just am used to calling love.graphics.setFont(), feels the same as .setColor()
In my opinion being explicit is better. Stray `setFont` calls may mess up your font rendering.
by AuahDark
Fri Jun 18, 2021 11:05 am
Forum: General
Topic: Best practices and things you'd like changed about Love2D
Replies: 47
Views: 42806

Re: Best practices and things you'd like changed about Love2D

For me, it would be removing love.graphics.setFont and love.graphics.setNewFont . love.graphics.print and love.graphics.printf since 11.0 accepts 2nd "font" parameter so having those 2 functions seems redundant to me. Example -- This love.graphics.setFont(myFont) love.graphics.print("...
by AuahDark
Fri Jun 18, 2021 3:20 am
Forum: General
Topic: What UI library do you recommend?
Replies: 6
Views: 5145

Re: What UI library do you recommend?

I recently developed a layouting helper library. It's not full UI library however, but I think it's sufficient for you to build UI for your game based on my layouting library.

https://github.com/MikuAuahDark/NPad93#nlay (find nlay.lua)