Search found 15 matches

by Hipreme
Tue Jul 28, 2020 9:49 pm
Forum: Libraries and Tools
Topic: TextViewer
Replies: 3
Views: 6640

Re: TextViewer

Beautiful work! Although I would love to have a better documentation than only looking into source code
by Hipreme
Thu Jul 23, 2020 1:36 pm
Forum: Libraries and Tools
Topic: LOVE-SharedMemory-> Sharing variables between threads
Replies: 2
Views: 4679

Re: LOVE-SharedMemory-> Sharing variables between threads

SoundData was used instead for not requiring FFI. I don't see the point of not making them a global access point, specially when you have the choice to choose which variables to use in your thread. Code injection is absolutely optional, the documentation shows how to not use it, it reduces how much ...
by Hipreme
Thu Jul 23, 2020 4:26 am
Forum: Libraries and Tools
Topic: LOVE-SharedMemory-> Sharing variables between threads
Replies: 2
Views: 4679

LOVE-SharedMemory-> Sharing variables between threads

LOVE-SharedMemory Sharing variables between threads Why In Love2D, child thread variables are separated from the main thread, the main way to connect those variables are between Channels, where you need to push to your thread and pop inside it, while it does the work, sometimes you just don't want ...
by Hipreme
Fri Jul 10, 2020 3:37 pm
Forum: Libraries and Tools
Topic: [HTTPS] REST-love -> Crossplatform Async HTTPS Request
Replies: 2
Views: 4496

[HTTPS] REST-love -> Crossplatform Async HTTPS Request

Hello guys, I made a mega wrapper for HTTPS requests, tested on Linux, Windows, Android and Web(Love.js) Those requests are async (and could be made sync if that is your choice) The wrapper is REALLY easy to use and there is no adaptation is required between those platform (Except web where you need...
by Hipreme
Thu Jul 02, 2020 6:10 pm
Forum: Support and Development
Topic: [DISTRIBUTION GUIDE] General problems stumbled when distributing android with AdMob
Replies: 1
Views: 2315

[DISTRIBUTION GUIDE] General problems stumbled when distributing android with AdMob

Hello guys, I've been adapting my game for Android, for including google AdMob, and there was just too much error, the first thing to understand is that I've been using LOVE for Android for generating my apks. I'm making this guide for you who've been wanting to publish your game while using AdMob, ...
by Hipreme
Tue Jun 30, 2020 2:39 pm
Forum: Support and Development
Topic: Getting save directory items
Replies: 4
Views: 3204

Getting save directory items

What I wanted to do is: love.filesystem.getDirectoryItems(love.filesystem.getSaveDirectory()) And then get every file that the user has in it save folder, but it does not return anything Doing love.filesystem.getDirectoryItems("") instead, will return every source file plus the save folder...
by Hipreme
Sun Jun 21, 2020 6:43 pm
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 224
Views: 628713

Re: Love.js - A Direct Emscripten Port

Reviving this thread for saying that I extended your Love.js functionality for calling JS functions from inside Lua code, it can be found on the repository https://github.com/MrcSnm/Love.js-Api-Player It has examples of how to do it, it can post-and-forget JS functions or it can retrieve the data th...
by Hipreme
Sun Jun 21, 2020 6:37 pm
Forum: Libraries and Tools
Topic: Love.js Easy API Player
Replies: 2
Views: 10631

Re: Love.js Easy API Player

Passing by to update that the Lib now supports retrieving data that came from Javascript, it as simple as doing the the post-only requests, firstly , in your main.lua file require 'js' After that, you just need to call gUsername = "" JS.newRequest('kongregate.services.getUsername()', funct...
by Hipreme
Sun Jun 21, 2020 1:44 pm
Forum: Support and Development
Topic: [TUTORIAL] - Lua: How to add your own C Library to your game
Replies: 7
Views: 10404

Re: [TUTORIAL] - Lua: How to add your own C Library to your game

Technically, löve has been using LuaJIT for a while now, not PuC lua 5.1, but i guess if it works with that too, then good. :huh: Found it by doing print(_VERSION), as it said using Lua 5.1, if you have any tutorial of what I did in any other way, please share with us! As I said, we're really lacki...
by Hipreme
Sun Jun 21, 2020 6:56 am
Forum: Support and Development
Topic: [TUTORIAL] - Lua: How to add your own C Library to your game
Replies: 7
Views: 10404

[TUTORIAL] - Lua: How to add your own C Library to your game

Hello guys, I've been in some trouble getting to have a C Library working with love, so I want to archive how to do it: This tutorial is made mainly for Linux , but experienced users from windows will understand what to do First things first, if you're working on a linux environment, you will want t...