C++ Sorting algos comparison - rendering sprites based on y-axis with raylib

Поділитися
Вставка
  • Опубліковано 18 лют 2023
  • Today's code
    github.com/jarreed0/sorttest-...
    Sign up to the raylib newsletter
    raylibweekly.com/
    Boxbrain's game
    • Feeding your army: foo...
    My Channel: ua-cam.com/users/someguy6...
    Like, comment, and subscribe! 👍
    Music
    #gamedev #coding #raylib
  • Ігри

КОМЕНТАРІ • 5

  • @theoreticaltradesman
    @theoreticaltradesman 9 місяців тому +2

    I’m just getting into game development and hasn’t even considered this as an issue. thanks for the heads up!

  • @LordOfWizardurl
    @LordOfWizardurl 11 місяців тому +3

    Jesus, you code in nano. You are a legend for sure.

  • @paulojonathan3161
    @paulojonathan3161 9 місяців тому

    I also made my own sorting algorithm using merge sort I follow Raysan's (Raylib creator) advice , sorting all the sprites and using pointers, which I did after that since I have a dynamic player,objects that move , after the list is sorted all reference to player and objects lost, though I have to search to have the correct index, with mergesort I was able to sort 10k trees and dynamic objects along at stable 60 fps.

  • @michaelzomsuv3631
    @michaelzomsuv3631 Рік тому

    Why did you leave vsync on? I would have liked to see how many FPS you actually can get with 5k sprites so I can see how much sprites I can put without dropping below 60fps.

  • @oj0024
    @oj0024 Рік тому +1

    O