プレイ日記
How do i place and move sprites again? i forgot...
1そうだね
プレイ済み
返信[1]
親投稿
Sheepy22★∞ SheepSoldier101
Like this: ACLS SPSET 0,0,144 SPSCALE 0,0.75,0.75 @LOOP B=BUTTON() SPOFS 0,X,Y IF B AND #UP THEN DEC Y,1'Increase the speed by increasing 1 IF B AND #DOWN THEN INC Y,1 IF B AND #LEFT THEN DEC X,1 IF B AND #RIGHT THEN INC X,1 WAIT 5'Increase speed by lowering 5 GOTO @LOOP
0そうだね
プレイ済み
返信[2]
親投稿
I'm not talking about moving them! i'm talking about placing sprites like a picture...i know the numbers for SPSET but i can't understand SPORFS and SPSCALE...like placing them anywhere.
0そうだね
プレイ済み
返信[3]
親投稿
Sheepy22★∞ SheepSoldier101
Oh. Sorry. When you create a sprite the first number is the ID. So it would be like this: SPSET ID, BLAH,BLAH SPOFS ID,X,Y' X would set how much left or right the sprite would be, and Y would be up down. The center X,Y coordinates would be 200,120. the max amount they could be would be 399-X and 239-Y. SPSCALE is the size. ID, WIDTH, and the HEIGHT.
0そうだね
プレイ済み
返信[4]
親投稿
Thats kinda confusing...i need to place the top left sprite in the middle left and make it bigger. sorry, i'm not a very good programmer. all i can make are roleplays like i'm trying to make right now...
1そうだね
プレイ済み
返信[5]
親投稿
Sheepy22★∞ SheepSoldier101
Thats fine. I tried to explain it the best I could. Let my try that again. Just use the code here, and change the numbers around, you might be able to figure it out.
1そうだね
プレイ済み