Search found 105 matches

by PGUp
Wed Jun 06, 2018 9:40 am
Forum: Support and Development
Topic: Share Button on Android and iOS
Replies: 5
Views: 2058

Re: Share Button on Android and iOS

From what I know löve doesn't support it currently.
by PGUp
Fri May 25, 2018 8:11 am
Forum: Support and Development
Topic: need help !
Replies: 15
Views: 4806

Re: need help !

zorg wrote: Wed May 16, 2018 11:27 am Also, math.random(2) == 1 is just shorthand for if a random number is even, or odd; lua can do (condition) and ifTrue or ifFalse type branches; it will either return -100 or 100; the second one returns a number between -50 and 50.
Is there any documentation about this? I wanna know more.
by PGUp
Thu May 17, 2018 1:26 pm
Forum: Support and Development
Topic: black screen running .love file
Replies: 5
Views: 2110

Re: black screen running .love file

I saw a thread like this one a few days ago, which had a .love file, but when I tried to reply, it was gone. I tried the .love file in 0.10 and 11.0. It worked fine for me in 11.0, but in 0.10 I got the black screen. Maybe you have both versions installed, and it's calling the wrong one when you tr...
by PGUp
Thu May 17, 2018 1:26 pm
Forum: Support and Development
Topic: black screen running .love file
Replies: 5
Views: 2110

Re: black screen running .love file

Nixola wrote: Thu May 17, 2018 8:11 am Since it's your .love file that doesn't work (you said others work), could you upload it so we may check if there's something wrong with it?
here:
main.love
(1.41 KiB) Downloaded 84 times
by PGUp
Thu May 17, 2018 8:06 am
Forum: Support and Development
Topic: black screen running .love file
Replies: 5
Views: 2110

black screen running .love file

running lua file
ss1.png
ss1.png (140.15 KiB) Viewed 2110 times

running .love file
ss2.png
ss2.png (111.49 KiB) Viewed 2110 times
running lua files works just fine like the first pic, but running .love file result in a black screen (second pic). The game is not freezing, just black screen, other .love files that i downloaded also works, but not mine..
by PGUp
Wed May 16, 2018 6:08 am
Forum: Support and Development
Topic: weird bug
Replies: 2
Views: 950

Re: weird bug

Table variables are references to objects. If you do a = {"x"} b = a b[1] = "y" print(a[1]) you get "y", because both a and b are references to the same object. If you do this: print(a, b) you will see the same reference twice (e.g. in my case, "table: 0x562a3e7e6...
by PGUp
Tue May 15, 2018 3:14 pm
Forum: Support and Development
Topic: weird bug
Replies: 2
Views: 950

weird bug

First code --tts = table to string function tts(tile) local str = "{" for i,v in pairs(tile) do if v == "x" then str = str .. tile[i] .. "," else str = str .. "-," end if i == 3 or i == 6 then str = str .. "\n" end end print(str .. "\n") en...
by PGUp
Wed May 09, 2018 3:24 pm
Forum: Support and Development
Topic: Can't open main.lua from other folders (android)
Replies: 5
Views: 2738

Re: Can't open main.lua from other folders (android)

Same problem here, the 0.10.2 version worked fine.. but now you have to zip it and make a .love file to open your game, hope they will fix this
by PGUp
Mon Apr 16, 2018 5:57 am
Forum: Support and Development
Topic: 11 version setColor BUG
Replies: 10
Views: 2842

Re: 11 version setColor BUG

255 is the brightest color possible in 0.10, making the color more than that doesnt do anything
by PGUp
Mon Apr 02, 2018 8:16 am
Forum: General
Topic: LÖVE 11.0 released!
Replies: 98
Views: 54150

Re: LÖVE 11.0 released!

xp no longer supported ? that is a bad news