Search found 61 matches
- Mon Jul 07, 2014 11:56 am
- Forum: Support and Development
- Topic: Distributing your games (making a .love file)
- Replies: 278
- Views: 943910
Re: Distributing your games (making a .love file)
Hi there. We've created our first game and packaging it for all three OSes worked fine. For Linux I provided the .love file, for OSX the .zip file including all the OSX specific stuff and for Windows I created a fused .exe, all from Linux. It is important to me that people can easily get at the sou...
- Wed Jul 02, 2014 12:17 pm
- Forum: LÖVE-Android
- Topic: love-android-sdl2 (native, 0.9.2)
- Replies: 324
- Views: 415433
Re: love-android-sdl2 (native, 0.9.0)
I have some wierd lag peaks after doing CPU intensive tasks which continue untill I go into the android task manger for like 5 secs and go back into the game, any idea? P.S: this problem does not occur on PC at all. Happened with me when porting my game to android. About how much CPU time is used i...
- Mon Jun 02, 2014 12:23 pm
- Forum: Support and Development
- Topic: Distributing your games (making a .love file)
- Replies: 278
- Views: 943910
Re: Distributing your games (making a .love file)
Exactly. Making the fused binary does not make the .exe works alone. You still need the same DLLs that LÖVE uses.gamehound wrote:Sorry. It turns out that it is important to have love.exe in the same folder as your game. And the dlls in the same folder as the new exe.
- Wed Apr 23, 2014 6:21 pm
- Forum: Support and Development
- Topic: Distributing your games (making a .love file)
- Replies: 278
- Views: 943910
Re: Distributing your games (making a .love file)
I tried using the "cat love.exe supergame.love > supergame.exe" and "cat love.exe supergame.zip > supergame.exe" but they both don't work for me. =/ Git bash says it cannot find supergame.love or supergame.zip. For some reason, copy /b love.exe + supergame.love supergame.exe sti...
- Wed Apr 02, 2014 3:18 pm
- Forum: Support and Development
- Topic: How to create an imageButton in love2d?
- Replies: 5
- Views: 2178
Re: How to create an imageButton in love2d?
Well... You know the image position (you put that when using love.graphics.draw) and dimensions (image:getWidth() and image:getHeight())kingomar wrote:@Jeeper how to check wether we clicked in the position where the image is? Thanks.
It's just some simple math
- Wed Apr 02, 2014 1:18 pm
- Forum: Support and Development
- Topic: How to create an imageButton in love2d?
- Replies: 5
- Views: 2178
Re: How to create an imageButton in love2d?
Hey Guys! i tried creating an imagebutton in love2d but i didn't get the expected result... I tried using loveframe and i got an imagebutton which is draggable and has a title. how can i get rid of them? and are there any better alternative way to do the image buttons? Thank you Guys! To remove the...
- Tue Apr 01, 2014 11:56 pm
- Forum: General
- Topic: What techniques that everyone should know?
- Replies: 75
- Views: 22830
Re: What techniques that everyone should know?
I din't know it was possibleNixola wrote:Code: Select all
>math.math = math >print(math.math.math.math.math.math.math.sin(0)) 1
Thanks for the tip
- Tue Apr 01, 2014 9:36 pm
- Forum: General
- Topic: What techniques that everyone should know?
- Replies: 75
- Views: 22830
Re: What techniques that everyone should know?
(...) Finally, tables containing loops will make the function loop infinitely. The only way I've found to handle that is to parse the table in advance, looking for loops, and handling those differently than the default tables. But the code to handle that case is a bit long and boring. How can a Lua...
- Tue Apr 01, 2014 8:17 pm
- Forum: General
- Topic: What techniques that everyone should know?
- Replies: 75
- Views: 22830
Re: What techniques that everyone should know?
I'm not sure if this would make a shallow copy of a table, but I will put it here: function copyTable(t) return {unpack(t)} end Yes, but it will make a shallow copy of a sequence . If your table contains any non-sequence key/value pairs and you want to copy those too, you'd use: function shallowCop...
- Tue Apr 01, 2014 1:50 pm
- Forum: LÖVE-Android
- Topic: love-android-sdl2 (native, 0.9.2)
- Replies: 324
- Views: 415433
Re: love-android-sdl2 (native, 0.9.0)
Also, after I finished making my app yesterday, I found out that I didn't have a micro-usb cable at hand XD And it seems love-android-sdl2 doesn't work in the standard emulator(at least I couldn't get it to work). Oh well. I borrowed a cable from a friend today, and it works perfectly on my phone =...