Search found 11 matches

by HungerBoatz
Mon Jul 27, 2020 11:45 am
Forum: Support and Development
Topic: Can't find main.lua on android
Replies: 1
Views: 804

Re: Can't find main.lua on android

You have to create the file first so that you can run the game. You can try this way: First, go to your /sdcard folder. And then create a new folder named "lovegame". Then go to your text editor and type some love2d code. And save your file as "main.lua" in your lovegame folder. Finally, run the LÖV...
by HungerBoatz
Sun Jul 26, 2020 12:39 am
Forum: Support and Development
Topic: Problem when using Apktool
Replies: 7
Views: 1611

Re: Problem when using Apktool

loveToAndroid doesn't updated to latest LOVE 11.3. To OP, I suggest you to do the game packaging in PC or Mac. I never used apktool on pc before but i'll try it when i can use my pc back. i cannot use my pc for a moment because of some problems. So while waiting my pc, im trying to build my apk on ...
by HungerBoatz
Sun Jul 26, 2020 12:30 am
Forum: Support and Development
Topic: Problem when using Apktool
Replies: 7
Views: 1611

Re: Problem when using Apktool

Funlife2003 wrote:
Sat Jul 25, 2020 2:52 pm
i suggest you use loveToAndroid to make an apk. it's way easier.
https://love2d.org/forums/viewtopic.php ... eToAndroid
Yes, its very easy to use. I already tried it but had a problem too with it when i run the bash file in my terminal. :(
by HungerBoatz
Sun Jul 26, 2020 12:24 am
Forum: Support and Development
Topic: Problem when using Apktool
Replies: 7
Views: 1611

Re: Problem when using Apktool

Did you correctly `cd` into the directory? To make sure you're in the right path print out `ls` Yes. I often check my path using 'ls' everytime i want to clone something or running some of command. But still got the same problem. My path which im in, already correct. I thought the error was because...
by HungerBoatz
Sun Jul 19, 2020 2:46 pm
Forum: Support and Development
Topic: Problem when using Apktool
Replies: 7
Views: 1611

Problem when using Apktool

I wanna try to build my love2d game on my mobile phone, but i dont know how to export it into apk file. Then i found this Apktool in love2d official website. But when im using it , i had a problem. Screenshot_20200719_211341.jpg There's no mistakes about my folder name, its name already same and cor...
by HungerBoatz
Tue Jul 02, 2019 12:32 am
Forum: Support and Development
Topic: The game paused but the time keeps running (Android)
Replies: 7
Views: 3597

Re: The game paused but the time keeps running (Android)

Here what I mean: function love.load() time = 0 time_starts = true text = "" x = 0 starts_moving = true end function love.update(dt) if time_starts == true then time = time + dt else time = time + 0 end if starts_moving == true then x = x + 1 if x > love.graphics.getWidth() then x = 0 end else x = x...
by HungerBoatz
Mon Jul 01, 2019 12:41 pm
Forum: Support and Development
Topic: The game paused but the time keeps running (Android)
Replies: 7
Views: 3597

Re: The game paused but the time keeps running (Android)

There must be something else we don't know. At first sight that should stop counting the time. Have you tried printing start_time and paused? Yes.The start_time printed true and the paused printed false in the screen. Then when I want to slide down my notification bar and put it back again, both st...
by HungerBoatz
Mon Jul 01, 2019 6:49 am
Forum: Support and Development
Topic: The game paused but the time keeps running (Android)
Replies: 7
Views: 3597

The game paused but the time keeps running (Android)

So I'm trying to make the game paused when player is in not focus. For example: -- in my update callback function love.update(dt) if paused == true then return else -- run the code .. -- and somewhere in my update function, I also have if start_time == true then time = time + dt else time = time + 0...
by HungerBoatz
Sun Dec 09, 2018 12:16 am
Forum: Support and Development
Topic: Build LÖVE game on Android device
Replies: 1
Views: 916

Build LÖVE game on Android device

I've writen my game on Dcoder (an IDE For android) and then i run it in LÖVE app that I installed on Android. But I dont know how to build that game into an .apk file?
by HungerBoatz
Wed Dec 20, 2017 2:00 pm
Forum: General
Topic: [SOLVED] How to make a "fill in the blank" puzzle using user input?
Replies: 3
Views: 955

Re: How to make a "fill in the blank" puzzle using user input?

Now i fixed it already , i used the love.textinput(t) function for my input. I also used the string.upper() function to make all the letters uppercase when they get typed. In my code, i typed something like this: function puzzle1:init() question = {} question.font = love.graphics.getFont() question....