Search found 262 matches

by master both
Wed Feb 06, 2019 7:25 am
Forum: Support and Development
Topic: [SOLVED] Avoiding callback hell
Replies: 6
Views: 11858

Re: [SOLVED] Avoiding callback hell

I'm still not 100% sure of what you need. But if you're looking for a canned solution, it may be timer.script from vrld's hump or the coil cooperative multithreading lib . Personally, for certain use cases (not sure if they match yours), I would go with making my own coroutine-based system, where t...
by master both
Tue Feb 05, 2019 7:06 pm
Forum: Support and Development
Topic: [SOLVED] Avoiding callback hell
Replies: 6
Views: 11858

Re: [SOLVED] Avoiding callback hell

Thanks for your response! I got to admit, I didn't put to much thought into my code, I just went with callbacks since thats what most timer libraries use. There's probably a better way to do action scripts or events. To be honest, your code doesn't look too good. I don't mean that as an insult, but ...
by master both
Mon Feb 04, 2019 7:38 pm
Forum: Support and Development
Topic: [SOLVED] Avoiding callback hell
Replies: 6
Views: 11858

[SOLVED] Avoiding callback hell

Hi, I'm currently working on an RPG where I have scripted sequences and I have code executing one after another and the way I'm dealing with it is using callbacks, which in retrospect wasn't the best way to deal with it, this is how it looks now: timer:after(3, function() textBox:write("Hi"...
by master both
Mon Aug 27, 2018 3:36 am
Forum: General
Topic: New Game Idea want some input.
Replies: 2
Views: 3539

Re: New Game Idea want some input.

I like your idea, it's a simple and funny story for the game. Do you have an idea for the genre you're aiming to do?
Btw I love me some carbonara spaghetti.
by master both
Sun Jul 08, 2018 7:10 pm
Forum: Libraries and Tools
Topic: [11.3] AdMob support for Android + EU Consent
Replies: 106
Views: 272370

Re: [0.10.2] AdMob support for Android!

Since I would've liked to read this when I started out using ads, I will share some of my experience. I currently have an endless runner installed on 3000 devices, from which I play an intertitial ad every 5 deaths, generating from 0.10 to 2.00 USD a day, sometimes it peaks at 4 USD on one day. I'v...
by master both
Thu Jul 05, 2018 9:40 pm
Forum: Libraries and Tools
Topic: [11.3] AdMob support for Android + EU Consent
Replies: 106
Views: 272370

Re: [0.10.2] AdMob support for Android!

Not exactly on topic but I'm too curious. Can anyone share their profit figures off ads, and how it fares compared to other monetization methods? I heard it's pittance compared to IAPs, but I'd rather take someone's first hand accounts than vague rumors. Since I would've liked to read this when I s...
by master both
Sat Jun 23, 2018 2:57 am
Forum: General
Topic: Bug: when window.resizeable is set to false, window expands
Replies: 1
Views: 2443

Re: Bug: when window.resizeable is set to false, window expands

What do you mean by "expand"? If the resizeable setting is disabled, the window will have a fix size of 1024x768 or the size set in window.width and window.height.
by master both
Wed Jun 20, 2018 11:23 pm
Forum: General
Topic: Download files straight from the game/program?
Replies: 9
Views: 10337

Re: Download files straight from the game/program?

Alright, I found here where the data of the game is saved. I'll try copying the downloaded data where the data is saved to a %appdata%/MyGame or %appdata%/Testing file. Maybe this could help someone else who is looking on how to do this. :) That's right, If you want to save the file you have to use...
by master both
Wed Jun 20, 2018 4:12 pm
Forum: General
Topic: Download files straight from the game/program?
Replies: 9
Views: 10337

Re: Download files straight from the game/program?

Hi and welcome to the forums, If you want to download files from another server you can use the socket http module that comes with Löve: local http = require "socket.http" local logo function love.load() logo = http.request("https://love2d.org/style/logo.png") logo = love.filesys...
by master both
Sun Apr 01, 2018 11:46 pm
Forum: General
Topic: LÖVE 11.0 released!
Replies: 98
Views: 109472

Re: LÖVE 11.0 released!

What a nice present for April fool's! :D congratulations for the great work