Hi,
I made a game planned for Android on my PC. It works fine on my PC, and since I have a touch screen I can even test the touch functionnality, and it works. I downloaded the LÖVE2D 11.1 apk and installed it, but my game just refuses to run on my phone. I programmed another game that runs just fine on my phone before, so I know the installation has worked. I tried putting the main.lua (all the game is in it) in the lovegame directory, nothing changed. When I boot up the game, it flips my screen horizontally, shows me a black screen for ~1 second, then it sends me back to the home page. What is causing this to happen?
Thanks in advance
(My phone is a Wooze I45, and I run on Android 5.1
I also tried to see if it was a low memoy error, but it doesn't seem so since love.lowmemory isn't triggering
I tried just now a fixed version with love.errhandler instead of love.errhand, but it doesn't trigger either
Ok, so I check a third time, and I learned that love.errhandler is just callback. But still, it would error out since the field is nil)
Game not working on Android
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Game not working on Android
Code: Select all
if your.timeSpeed > 0 then universe:update(dt) else universe:destroy() end
Re: Game not working on Android
What do you mean by the home page? If it opens a web page, it's a web application, not LÖVE.
Do you mean the No Game screen?
Re: Game not working on Android
I think he means the launcher.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Game not working on Android
Sorry '^^
What I mean by home page is the menu screen, the screen you have when you press the "Home" button
I'm French... sorry for the inconvenience
I know it's probably just a dumb thing that I overlooked.. Sorry for bothering you with it
What I mean by home page is the menu screen, the screen you have when you press the "Home" button
I'm French... sorry for the inconvenience
I know it's probably just a dumb thing that I overlooked.. Sorry for bothering you with it
Code: Select all
if your.timeSpeed > 0 then universe:update(dt) else universe:destroy() end
Re: Game not working on Android
Nvm the game just works fine now, out of nowhere.
Code: Select all
if your.timeSpeed > 0 then universe:update(dt) else universe:destroy() end
Who is online
Users browsing this forum: Google [Bot] and 3 guests