Search found 8 matches

by loofy2
Mon Mar 17, 2025 2:31 am
Forum: Support and Development
Topic: Silent iOS
Replies: 3
Views: 107

Re: Silent iOS

Ok digging even deeper! In iOS.mm the AVAudioSession is initialized with AVAudioSessionCategoryAmbient. I changed the session category to AVAudioSessionCategoryPlayback, low and behold, the audio started to play. The problem was that the silent mode switch was turned on, and when in Ambient mode the...
by loofy2
Mon Mar 17, 2025 1:59 am
Forum: Support and Development
Topic: Silent iOS
Replies: 3
Views: 107

Re: Silent iOS

I got sound to play! But not in a good way. I replaced love.cpp with the source code from LibSDL3's example for simple playback. The app launches and immediately plays the tone the same way the browser does. Which means the problem is likely something Love2d's source code https://examples.libsdl.org...
by loofy2
Sun Mar 16, 2025 8:50 pm
Forum: Support and Development
Topic: Silent iOS
Replies: 3
Views: 107

Re: Silent iOS

Digging deep into the code with the Xcode debugger, - I can see that w_newSource is being called. - An openal source is instantiated. - the play function is triggered. a source is assigned to a pool - alSourcePlay() is called with source = 2400 - alGetError() returns true I've tried static and strea...
by loofy2
Sat Mar 15, 2025 4:00 pm
Forum: Support and Development
Topic: Desperately need help finding what in my code is preventing it from running
Replies: 3
Views: 444

Re: Desperately need help finding what in my code is preventing it from running

table is a reserved word in Lua

checkout this example

Code: Select all

local mytable = { }
table.insert(mytable, "hello world")
print(mytable[1])
by loofy2
Fri Mar 14, 2025 3:11 am
Forum: Games and Creations
Topic: Doom Truck
Replies: 0
Views: 68

Doom Truck

Requirements: Love 12.x

Dodge falling rocks while driving your Doom Truck across the barren martian wasteland.

Image
by loofy2
Fri Mar 14, 2025 1:27 am
Forum: General
Topic: What Do LOVE2D Developers Actually Want?
Replies: 7
Views: 397

Re: What Do LOVE2D Developers Actually Want?

https

but you guys already added that into v12. 😎

Great job team!
by loofy2
Fri Mar 14, 2025 1:25 am
Forum: Support and Development
Topic: Text Effects
Replies: 4
Views: 227

Re: Text Effects

break the characters into a table and iterate over the ipairs something like this (off the top of my head) ``` local width_of_container for index, character in ipairs(string) do love.graphics.setFont(font) local x = text:getwidth( love.graphics.translate(x,0) love.graphics.rotate(...) done ```
by loofy2
Fri Mar 14, 2025 1:19 am
Forum: Support and Development
Topic: Silent iOS
Replies: 3
Views: 107

Silent iOS

Hello LÖVE Community, I'm a mobile dev, and a long time fan of the platform. Currently I'm working to release a product on iOS and Android. Here's what brought me here. There is no sound when I package the game for iOS. MacOS plays sound. Android plays sound. Everything is working fine except there ...