Search found 3 matches
- Sun May 12, 2013 7:15 pm
- Forum: Support and Development
- Topic: [RESOLVED]Render a lot of the same thing (i.e. bullets)
- Replies: 4
- Views: 2363
Re: Render a lot of the same thing (i.e. bullets)
I made a test to compare the different ways of rendering bullets, without a doubt sprite batch is the winner. Sprite batches only seem to slow down a few frames every 1000 or so bullets. Rectangles freeze after a few hundred and continue to freeze repeatedly every few frames. Images freeze up for a ...
- Sun May 12, 2013 4:12 pm
- Forum: Support and Development
- Topic: [RESOLVED]Render a lot of the same thing (i.e. bullets)
- Replies: 4
- Views: 2363
Re: Render a lot of the same thing (i.e. bullets)
I had no idea that rectangle was slow. I tried out a sprite batch and it actually stopped the freezing. I'm going to try a more isolated example to see what happens, I'll post code and results in a bit.
- Sun May 12, 2013 8:20 am
- Forum: Support and Development
- Topic: [RESOLVED]Render a lot of the same thing (i.e. bullets)
- Replies: 4
- Views: 2363
[RESOLVED]Render a lot of the same thing (i.e. bullets)
Hello, a while ago I decided to use play around with love and I'm... well... loving it. I'm also pretty new to Lua and I'm loving that too! I feel bad posting here considering my first post is asking for help, but hopefully I'll be able to contribute with time as I get a better grasp on things. I've...