Search found 6 matches

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: 3037

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: 3037

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: 3037

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: 673

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: 690

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....
by HungerBoatz
Tue Dec 19, 2017 3:22 pm
Forum: General
Topic: [SOLVED] How to make a "fill in the blank" puzzle using user input?
Replies: 3
Views: 690

[SOLVED] How to make a "fill in the blank" puzzle using user input?

Hello! I am new on using text input. I looked at the love2d official website which is: https://love2d.org/wiki/love.textinput But i have some problem, How do i make a lot of text input in my game? for example: I type letter 'e' in one place, then I type "l" in another place, and so on. like this puz...