native extension for iOS/Android

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
borr
Prole
Posts: 42
Joined: Wed Oct 16, 2019 7:39 pm

native extension for iOS/Android

Post by borr »

1.How do I create an extension for love2d?
2.Where can I find an example of native extensions for InApp Purchase, Analytics Services, Social, Ads Services etc?

Primarily interested in mobile platforms.
Thanks!
gianmichele
Citizen
Posts: 63
Joined: Tue Jan 14, 2014 11:03 pm

Re: native extension for iOS/Android

Post by gianmichele »

Unfortunately there is not a plugin hook into the engine, but you'll have to add it to the source yourself and create the lua wrapper for the extension and a custom build.

Good examples are here:

https://love2d.org/forums/viewtopic.php ... 26#p219426
https://love2d.org/forums/viewtopic.php ... 47#p214447

I guess this and a supported web version are what made me look to other lua engines.
borr
Prole
Posts: 42
Joined: Wed Oct 16, 2019 7:39 pm

Re: native extension for iOS/Android

Post by borr »

thanks for your reply!

>I guess this and a supported web version are what made me look to other lua engines.

What is your choice?
Post Reply

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 53 guests