? How do you stop the lag. (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

How do you stop the lag.

  • #1 ✎ 86 Sam Amazing Page Hidden Achievements Summer 2016 Contest Runner Up I placed 2nd in the SmileBASIC Source Summer 2016 Contest! Programming Contest Winter 2016 Contest Runner Up I placed 2nd in the SmileBASIC Source Winter 2016 Contest! Programming Contest My contest entry works fine on n3ds but it lags and flickers a lot on o3ds and I don't know why. Help!!1 Posted
  • #2 ✎ 344 Picy3 Halloween 2017 Contest Runner Up I placed 2nd in the SmileBASIC Source Halloween 2017 Contest! Programming Contest Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength First Year My account is over 1 year old Website If you want I could test it for you and see whats the problem if you don't have an old 3ds to test on Posted
  • #3 ✎ 1363 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website step 1: git gud step 2: key please pleeeeease!! Posted Edited by 12Me21
  • #4 ✎ 475 SquareFingers O3DS is slower than N3DS. ... which addresses the 'why', but not 'how to fix'. How to fix is to do less computations. A quick fix might be to double all your movement values and use VSYNC 2 rather than VSYNC. Posted Edited by SquareFingers
  • #5 ✎ 1363 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website Calculations rarely have any performance impact. The problem is most likely graphics commands like GPAINT Posted
  • #6 ✎ 818 snail_ Helper Received for being very helpful around SmileBASIC Source Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength First Day Joined on the very first day of SmileBASIC Source Website
    Calculations rarely have any performance impact. The problem is most likely graphics commands like GPAINT
    That's not entirely true. Doing a LOT of floating point math is actually pretty slow, even on modern PCs (but less so.) That's why a lot of computation-heavy software uses caching etc. to save on computations.
    Posted
  • #7 ✎ 1363 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website My recommendations are: -use integer variables where you can (probably won't have a huge impact, but it's worth a try) -avoid slow graphics commands whenever possible (use sprites or BG for moving objects instead of graphics) Posted Edited by 12Me21