Also VSYNC 1 can be dangerous, and very hard on the battery
Try VSYNC 3 or so, but if you just use SPANIM to move stuff, then you could even do WAIT 5 or so, you only need to look for the input
2そうだね プレイ済み
Advice from a veteran:
X=X+TX
is the same as
INC X,TX
Also you should not use a loop to move a sprite
consider this:
VAR SX,SY,TX,TY
STICK OUT TX,TY
SPOFS 0 OUT SX,SY
SPANIM 0,"XY",-10,SX+TX*100,SY+TY*100
Experiment with the -10 and 100s
Its not tested but I am almost certain it works, and it will never show signs of lag
2そうだね プレイ済み
Hey I did too cause I couldnt sleep either
Mines a magnet in space simulation :]
1そうだね プレイ済み
If you have another 3DS with SmileBasic then try using these
1そうだね プレイ済み
Here's how your supposed to use it
B=BUTTON()
IF B AND #UP THEN PRINT "^"
IF B AND #DOWN THEN PRINT "v"
IF B AND #LEFT THEN PRINT "<"
IF B AND #RIGHT THEN PRINT ">"
IF B AND #A THEN PRINT "A"
.......
IF B AND #L THEN PRINT "L"
(it contains every button's data in one number)
Ignore Feature ID and Terminal ID
Thats for advanced multiplayer stuff
2そうだね プレイ済み
Ok so its a "compiler"
Thats not the point though, your attempting to convert object oriented into procedural code
And unless if you put most of your effort into simplification and code compression, then its sure to be slower than smilebasic code directly
I'll be taking a compiler class for my computer science major soon
I would like to see the code for this, it is pretty interesting
1そうだね プレイ済み
DO NOT get an sd over 32gb, the 3DS cannot handle it
It even says so in the instruction manual, 50% of eshop games cant be downloaded because of an "Unknown error"
I could even download some games on 32gb on my new 3ds, so i had to downgrade to 16gb, then everything worked
0そうだね プレイ済み
I'm curious, does it run the code directly, realtime? Or does it create a new file of the default smilebasic syntax?
1そうだね プレイ済み
This SmileBasic app was interpreted, and your app is interpreted even more
Not only is it an extreme performance drop, but its at the point where higher level code will not improve efficiency. Its because of how much work the background parser has to do in order to condense and simplify the code, which I am sure you are not doing
[thats the only reason that high level languages are successful]
0そうだね プレイ済み
Nobody says anything bad about C!
Low level languages are much better than higher level languages, with the exception on Java, because of how well it manages the background processing, making it sometimes faster than C
But why would you take an already broad, polymorphic function like VAR and limit it down to only ints? Integers were made to work with binary, and we are not allowed to use binary
0そうだね プレイ済み
Yeah they must just run the program through a quick filter, to check for swear words and whatnot
Your immediately works upon submission
0そうだね プレイ済み
Nothing, im pretty sure they dont review the submissions
0そうだね プレイ済み
Haha now that is one long class name xD
1そうだね プレイ済み