Side-scrolly-fast stuff?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
ziodice
Prole
Posts: 15
Joined: Thu Feb 23, 2012 8:35 pm

Side-scrolly-fast stuff?

Post by ziodice »

Okay, so I basically wanted to know if Love2D could handle tons of very fast moving things on the screen. Wanted to make a fast, side scrolling shooter. Bullet-hell style.
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Side-scrolly-fast stuff?

Post by veethree »

I do believe so. I wrote a little test that allows you to spawn a bunch of objects with a press of a button, Which move around. And i didn't get any notable lag until i spawned 5000 objects. But that's cause there's nothing else happening, But i'm pretty sure even with other game stuff love could handle enough objects for you.

I attached the test i wrote below. you can check how many objects your computer can handle..You press q to spawn 1000 objects (you can press it multiple times). you can also modify main.lua on line 45, change the 1000 to however many objects you want to spawn each time.
monkyyy
Citizen
Posts: 52
Joined: Fri Mar 16, 2012 5:29 pm

Re: Side-scrolly-fast stuff?

Post by monkyyy »

i didnt get notable lag til 12000 :3, and i suddenly remember a game i wanted to make but i only had a bit of programing exp at the time and was using opengl


hmmmm ziodice whats ur danmaku game going to be like?
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Side-scrolly-fast stuff?

Post by Nixola »

On a netbook I go under 20FPS at 3000 objects
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
viking
Prole
Posts: 6
Joined: Sun Apr 22, 2012 10:29 am

Re: Side-scrolly-fast stuff?

Post by viking »

I can spawn up to 30k objects at which point it drops to 30 FPS.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 59 guests