after a lot of thinkings and headachings I managings to smartings my programings out of a lot of laggings.

I can now run my any-polygon collisions for double-digit numbers of players and hundreds of vertexes with minimal to no lag

    programming is so rewarding. you spend hours, even weeks, trying to make something work and then you finally figure it out. even if the thing you were trying to make was a sprite.

    ikr

    programmers always make jokes about how frustrating and annoying programming is, but they don't talk about how rewarding the feeling of success is.

    it's moments like this that keep you going.

    and now I just figured out how to make the loading process go 90% faster.
    it's the gift that keeps on giving.

    exactly. thats why i keep making my projects. i make them for the fun and enjoyment for myself and for others to enjoy if they choose to play it. it also helps me learn more so i can make better games in the future

    now, I know i should've taken what I was given, but I had yet another stroke of genius and I optimized the collisions even more.
    lol 100 frikin players, AI and all, and the programs still manages to run at 20 FPS
    might just be KA's superior processing power

      lol i can never get my code to work congrats doin better than me

      ackvonhuelio Isn't KA based off of Processing.js? if anything it'd be the engine their using... not the platform


      also this thing sucks at handling errors and haggles over everything... it won't even run unless i use it's "suggested" parameter names... if function () {} is illegal syntax it's worse than python... what's the point of using parentheses and braces if i can't format them how i want i should also mentions it behaves this way with the return parentheses too like just saying.... not trying to shit on KA but man you'd think they'd make this possible

        Varrience
        KA, being a learning site primarily, probably wants to reinforce clean code practices.
        Even if not, I’d choose performance over a couple spaces any day

          ackvonhuelio Good practice is consistency! if your going to structure your code the same way then make sure it stays that way throughout the program it shouldn't force me to change it, it should just suggest it to me so i can fix critical issues i'd say that's one of the most important besides proper naming of variables and readability

          person
          And to add to the argument against CDO CANT EVEN ADJUST CANVAS SIZE LMAO
          And to add to the argument against CDO DOESNT EVEN HAVE A GOOD PROJECTS LISTING LMAO
          And to add to the argument against CDO CANT EVEN USE THE ONE GOOD FEATURE, KEYVALUES, WITHOUT A TOXIC COMMUNITY OF LIFELESS FUCKS SCREWING IT UP LMAO
          And to add to the argument against CDO ALL THOSE OTHER REASONS THAT IM NOT GOING TO REPEAT FOR THE BILLIONTH TIME LMAO

            ...you can expand the canvas size...?
            ...the "toxic" community mostly doesnt know of the existance of keyvalues, as does yours

              person
              Wdym they don’t know the existence of key values???
              Where were you as people destroyed each other’s keyvalue projects with the console

              Chat