This game is amazing! Best of luck.
hyperking
Recent community posts
Hi qubodup
I didn't use Love 0.10.1. However, I did manage to get my game using the latest Love2d library working on Android by following this guide
My game loads well on android but I'm getting another issue that may be related to my code and little understanding on how LOVE works.
You can read more here
Hello, I have an issue where my game is applying the last shape color to my jpg image.
My game loads a background image and then loads a table of shape objects. Each shape object has a different color which appears correctly. However, when the game opens the last shape color is applied to the image.
Here is my main lua code
function love.load() -- load game love.graphics.setColor(255, 255, 255, 255) love.graphics.setBackgroundColor(255, 255, 255, 255) vader = love.graphics.newImage(Levels.loadBg(1,"vader.jpg")) -- load players loadPlayers = Player:loadPlayers(Levels[1].shapes) end function love.draw () love.graphics.draw(vader,world.centerX /2,0,0,0.4,0.4 ) Player:drawAll() end
The Player:drawAll() method is looping all shapes and drawing them to the page using these lines.
love.graphics.setColor(fillcolor) love.graphics.rectangle(mode, x, y,width, height)
I wasn't able to run my game on my android phone.
I'm using the latest Love2d v.0.10.2. I packaged the game following the instructions for windows.
When opening the game on my android device ( Android v.6.0 ) The message "Unfortunately, Game00We161914 has stopped".
My game is a simple Love2d hello world with only 5 lines of code and no dependencies, images or audio.
Any help or suggestions would be helpful. I downloaded all assets from this site as directed.