Search found 12 matches
- Wed Oct 17, 2018 12:01 pm
- Forum: Support and Development
- Topic: Randomly generated Circles share the same x and y coordinates
- Replies: 2
- Views: 3033
Re: Randomly generated Circles share the same x and y coordinates
I haven't looked at the code but I have a suspicion you may be overwriting each circle with the next one. If you want to create a certain number of unique circles you need to create a table to contain them and then create the circles in a for loop, adding the new circle to the table in each iteratio...
- Wed Nov 22, 2017 11:31 pm
- Forum: General
- Topic: Best way to cache/preload images and other assets for later use?
- Replies: 12
- Views: 8701
Re: Best way to cache/preload images and other assets for later use?
Well loading times or low framerate while loading stuff probably won't be an issue for me right now since I am just making small non release games right now to get some experience since I only have slightly above 0 as it currently stands :D But I will take the advice about coroutines into considerat...
- Mon Nov 20, 2017 7:01 am
- Forum: General
- Topic: Best way to cache/preload images and other assets for later use?
- Replies: 12
- Views: 8701
Best way to cache/preload images and other assets for later use?
Hello everyone :) Everyone knows that loading your assets ahead of time at the beginning of the game is usually preferable to loading them only when they are needed (unless your game is really large and memory hungry or there's some other particular reason why you can't do that) but what I am wonder...
- Wed Jun 14, 2017 12:07 am
- Forum: Support and Development
- Topic: Music like in Nintendo games
- Replies: 49
- Views: 27751
Re: Music like in Nintendo games
Now how do you create multiple threads in lua? :/ I know about coroutines but I don't think those are the same thing?
- Fri Jun 02, 2017 9:42 pm
- Forum: Support and Development
- Topic: Z-Sorting Problems (Fixed!)
- Replies: 8
- Views: 8242
Re: Z-Sorting Problems (Fixed!)
got a copy of the fixed love file?
- Fri Jun 02, 2017 9:19 pm
- Forum: Support and Development
- Topic: Music like in Nintendo games
- Replies: 49
- Views: 27751
Re: Music like in Nintendo games
I was actually thinking about doing this too recently :) I think by far the biggest issue with making a software based chiptune/music-in-general player in Love is timing issues. There are no events that get triggered at a predictable periodic rate afaik. Love.update and love.draw get called once per...
- Sun May 28, 2017 6:02 am
- Forum: General
- Topic: Does the Android version of Love on the Play Store support JIT and FFI?
- Replies: 5
- Views: 4953
Re: Does the Android version of Love on the Play Store support JIT and FFI?
Yeah, I read up on that, apparently it is slower to use FFI with JIT off than it is to use vanilla Lua in most cases :O Huh, I wonder how fast FFI with JIT off is compared to FFI + buggy Android JIT, probably the same if not even slower... Will probably test this at some point, when i feel like it
- Sun May 28, 2017 5:54 am
- Forum: Support and Development
- Topic: Recursive Require
- Replies: 16
- Views: 11449
Re: Recursive Require
Hey, I was just now looking for a way to do a recursove require, and for love2d as well :ultrahappy: Before I saw this thread I came up with this function, I'm a pretty big noob at Lua so it's probably totally wrong LOL, but oh well at least I tried :) Basically it is supposed to take the name of yo...
- Sun May 28, 2017 3:48 am
- Forum: General
- Topic: Texturing Meshes at an Angle
- Replies: 17
- Views: 17081
Re: Texturing Meshes at an Angle
from the cpml github page
How exactly does one require a git repo in a lua script -_- Do I require the /modules directory?Clone the repository and require it, or if you prefer luarocks: $ luarocks install --server=http://luarocks.org/dev cpml. Add --tree=whatever for a local install.
- Mon May 22, 2017 6:36 am
- Forum: General
- Topic: Does the Android version of Love on the Play Store support JIT and FFI?
- Replies: 5
- Views: 4953
Does the Android version of Love on the Play Store support JIT and FFI?
I remember reading somewhere that there were problems with the LuaJIT implementation on Android and iOS for Love that caused them to be disabled by default (namely, the fact LuaJIT basically isnt allowed to run on iOS and executable memory issues on Android). To be fair I think it was a kind of old ...