プレイ日記
HoRiz0n ClashStudios125
How would I place a sprite in the middle of the top screen
3そうだね
プレイ済み
返信[1]
親投稿
Pkyoshi19 Pokeyoshi19
Clues: -The screen is 400x240 pixels wide. -The command for placing a sprite is SPSET Management number, ID number -The command for moving a sprite is SPOFS Management number, X, Y
0そうだね
プレイ済み
返信[2]
親投稿
HoRiz0n ClashStudios125
what would the management and id number be?
0そうだね
プレイ済み
返信[3]
親投稿
Pkyoshi19 Pokeyoshi19
The management number is the number you refer to when using sprite commands. A number from 0 to 511. This way when you use SPOFS with the right management number it won't pick some random other sprite. The ID number is what your sprite looks like. It's from 0 to 4095, if I remember correctly.
0そうだね
プレイ済み
返信[4]
親投稿
Pkyoshi19 Pokeyoshi19
(In case you still don't understand what the management number is, it's a tag. You can only have 512 sprites used at once.)
1そうだね
プレイ済み
返信[5]
親投稿
HoRiz0n ClashStudios125
How would I place this (Yes it is from Undertale, I like the flowers from that game) ( It is 4 sprite boxes wide and 3 downwards)
0そうだね
プレイ済み
返信[6]
親投稿
Pkyoshi19 Pokeyoshi19
[s]I can't believe I was helping a filthy Undertale fan this whole time lol[/s] SPSET 0, 0, 0, 64, 48 SPOFS 0, 200-(64/2), 120-(48/2)
2そうだね
プレイ済み
返信[7]
親投稿
HoRiz0n ClashStudios125
I don't like Undertale, I just like the look of the Flowers, gosh
0そうだね
プレイ済み
返信[8]
親投稿
Pkyoshi19 Pokeyoshi19
Did my example of code work?
0そうだね
プレイ済み
返信[9]
親投稿
HoRiz0n ClashStudios125
Yes thank you
0そうだね
プレイ済み
返信[10]
親投稿
PChicken NerdChicken
Or, to make the code setting the flowers somewhere easier, you could use sphome <id>, 32, 24 to make the center the origin of the sprite. (you would only have to do spofs <id>, 200,120 ) Also, use spcolor <id>, rgb(255, 255, 255) because the sprite will have nasty black boxes on the edges if you don't use spcolor.
0そうだね
プレイ済み
返信[11]
親投稿
HoRiz0n ClashStudios125
philip that doesn't work
0そうだね
プレイ済み
返信[12]
親投稿
PChicken NerdChicken
are you typing <id> or the actual id number?
0そうだね
プレイ済み
返信[13]
親投稿
HoRiz0n ClashStudios125
nevermind, it works I forgot to put ) at the end of the RGB (255,255,255
0そうだね
プレイ済み
返信[14]
親投稿
PChicken NerdChicken
:D yay
0そうだね
プレイ済み