https://love2d.org/wiki/love.graphics.newImageThis function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused!
Search found 47 matches
- Wed Jul 27, 2016 8:41 pm
- Forum: Support and Development
- Topic: Performance issues
- Replies: 1
- Views: 2038
Re: Performance issues
- Sun Jul 17, 2016 8:08 am
- Forum: Libraries and Tools
- Topic: autobatch: Automates the use of SpriteBatches when drawing
- Replies: 15
- Views: 16211
Re: autobatch: Automates the use of SpriteBatches when drawing
Good catch! Just pushed a commit to flush when :send() and :sendColor() are used. Thanks!slime wrote:Nifty! It doesn't seem to handle Shader:send calls though, which require a flush if were any draw calls before the Shader:send that used the same shader and same batch.
- Sat Jul 16, 2016 12:21 pm
- Forum: Libraries and Tools
- Topic: autobatch: Automates the use of SpriteBatches when drawing
- Replies: 15
- Views: 16211
autobatch: Automates the use of SpriteBatches when drawing
https://cloud.githubusercontent.com/assets/3920290/16894696/2a14afec-4b56-11e6-8fe4-e2cebd6c1b81.gif autobatch is a small module which when dropped into an existing project, will override the love.graphics functions so that SpriteBatches are automatically used in cases where an image is drawn multi...
- Sun Sep 13, 2015 2:31 pm
- Forum: Libraries and Tools
- Topic: Lovebird : A browser-based debug console
- Replies: 17
- Views: 17286
Re: Lovebird : A browser-based debug console
Version 0.4.0 https://github.com/rxi/lovebird Changes since last version: Improvements to how connections are handled which should result in better response time and fix some connection issues Embedded favicon which changes depending on whether lovebird is connected or not Support for "="...
- Tue Aug 19, 2014 7:47 pm
- Forum: General
- Topic: awesome-lua: a list of quality lua packages & resources
- Replies: 8
- Views: 7228
Re: awesome-lua: a list of quality lua packages & resources
I want to stress that my previous post was not a personal attack of any kind. Of course! It makes more sense now given you only read the source and not the readme, but when I read it it seemed as if you had decided to make a lot of incorrect claims about the library without doing much research befo...
- Tue Aug 19, 2014 12:02 pm
- Forum: General
- Topic: awesome-lua: a list of quality lua packages & resources
- Replies: 8
- Views: 7228
Re: awesome-lua: a list of quality lua packages & resources
Risking derailing the thread, here are some more differences between flux and tween ... I don't use tween.lua. Despite this, I did try to take the time to sift through it and point out the differences and I'm willing to accept I may have missed the odd thing. I think its a shame you don't seem to h...
- Mon Aug 18, 2014 4:27 pm
- Forum: General
- Topic: awesome-lua: a list of quality lua packages & resources
- Replies: 8
- Views: 7228
Re: awesome-lua: a list of quality lua packages & resources
What are the feature differences of Tween vs. Flux? I currently use Flux and I love it. Could you elaborate a little bit on the differences between Flux and tween.lua? This is what I wrote on the original flux post: Those who are familiar with tween.lua may be wondering what flux does differently. ...
- Sun Aug 17, 2014 2:30 pm
- Forum: General
- Topic: awesome-lua: a list of quality lua packages & resources
- Replies: 8
- Views: 7228
Re: awesome-lua: a list of quality lua packages & resources
Nice work on the list so far! I assume you've already checked the long list of LÖVE libraries ; if not it might be a good idea to see if anything on that list fills in any gaps. As for additions, there are a few of my own lua libraries which might be of interest: Flux : A fast, lightweight tweening ...
- Sat Aug 16, 2014 1:02 pm
- Forum: Libraries and Tools
- Topic: Coil: Cooperative threading library
- Replies: 1
- Views: 2728
Coil: Cooperative threading library
Coil is a small module which, using coroutines, provides easy to use cooperative threading -- coil refers to each cooperative thread as a task , you can have thousands of tasks running at a time. Coil uses a similar API to flux , its groups, for example, are used the same way. There are some small ...
- Tue Aug 12, 2014 3:16 pm
- Forum: Games and Creations
- Topic: Zömbies
- Replies: 10
- Views: 9073
Re: Zömbies
Thanks for the kind words! I found a bug. When I tried to kill a single zombie by shooting a barrel next to it, this happened: This should be fixed now, the download link has been updated. It wasn't very intuitive for me to change direction first before shooting. I think I would enjoy it more if I h...