Optimization help

My movement code creates a massive amount of lag, i can’t figure out why. (Arrows for P1, WASD for P2)

Game

EDIT: if found the lag, i used “when” instead of “forever if”

There is a lot going on in this project.. at least from what I can tell.

I don't see any lag...

Without even running the project I'm lagging really badly..

But I'm on a Chromebook...

Me too Lol

THIS RUNS ON WINDOWS 95 AS WELL

LOL I don't know what's wrong with my chromebook then..

If you want to try: https://replit.com/@joecooldoo/Windows-95?lite=1&outputonly=1#main.sh

Offtopic

Heheh I deleted the Windows folder. (Don't try this at home, kids.)

(If you can't see the video, make sure your on your own personal computer. Not a school computer.)

So, i found out the problem, it was “WHEN touching color” so now i am going to switch to out for the forever if method

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.