The Dink Network

Reply to Re: How many sprites?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 10th 2023, 10:21 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
I decided to do a little test in which I increased the sprite limit tenfold and wrote a script that spawned 2500 ducks. Performance on my crappy old mobile i7 was fine until around 1000 sprites, after which FPS slowly started to tank. Interestingly, it was not the integrated HD4000 that was to blame, but instead, the algorithm that determines the depth cue from the Y coordinate for the sake of drawing sprites in the proper place that was ruining performance. I'm sure a recent fast CPU would handle it fine, however.