トピック
bherdm bherdm

Attribute Syntax

What is the syntax for these attributes in SPCHAR and SPSET? I would like to use |b03|Horizontal Inversion (0=off,1=on),#SPREV) to flip a sprite. Thanks
1そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
It's pretty easy! In the Attribute parameter, simply input the appropriate constant (#SPREVH). If you want to use multiple attributes, separate each one with OR. (E.g.: #SPREVH OR #SPREVV) In order to specify an attribute, however, you HAVE to specify all other parameters: U, V, W and H. You can find descriptions for each of them in the same help entry.
1そうだね
プレイ済み
返信[2]
親投稿
bherdm bherdm
Thank you so much!! Working code: mngNUM=0 SPCHR mngNUM, 48, 48, 32, 32, #SPREVH
0そうだね
プレイ済み