? 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 ✎ 80 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 ✎ 97 Picy3 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Star Wars Is Awesome! I love Star Wars! Express Yourself 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 ✎ 1129 12Me21 Admin Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Syntax Highlighter Received for creating the code syntax highlighter on SBS Helper Received for being very helpful around SmileBASIC Source Achievements step 1: git gud step 2: key please pleeeeease!! Posted Edited by 12Me21
  • #4 ✎ 437 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 ✎ 1129 12Me21 Admin Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Syntax Highlighter Received for creating the code syntax highlighter on SBS Helper Received for being very helpful around SmileBASIC Source Achievements Calculations rarely have any performance impact. The problem is most likely graphics commands like GPAINT Posted
  • #6 ✎ 744 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 Night Person I like the quiet night and sleep late. Express Yourself
    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 ✎ 1129 12Me21 Admin Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Syntax Highlighter Received for creating the code syntax highlighter on SBS Helper Received for being very helpful around SmileBASIC Source Achievements 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