プレイ日記
MSWS coolestkid123
How do I flip a sprite? (Not rotate) I don't want to have to do it with the paint editor BTW.
2そうだね
プレイ済み
返信[1]
親投稿
Clayton DarkClay88
If you mean for sprites facing a different way, then use SPDEF in the smile tool. It should have all sprites facing all directions. Find the numbers you want for that sprite in the SPDEF tab, then do: SPSET 0,(Whatever number you want)
0そうだね
プレイ済み
返信[2]
親投稿
Hanzo rzsense
Try inserting the following codes between line 42 and 43 of your attached program. SPCHR 0 OUT U,V,W,H,A SPCHR 0,U,V,W,H,1 OR #SPREVH This is the example for horizontal flip. If you want to flip vertically, write #SPREVV instead of #SPREVH.
1そうだね
未プレイ
返信[3]
親投稿
MSWS coolestkid123
Thank guys, it sorta worked. Is there a way I can combine it with SPANIM?
0そうだね
プレイ済み
返信[4]
親投稿
Hanzo rzsense
Before you combine sprite attribute with SPANIM, you should define sprite characters as follows. SPDEF 0,0,144,16,16,8,16 SPDEF 1,16,144,16,16,8,16 SPDEF 2,0,144,16,16,8,16,1 OR #SPREVH SPDEF 3,16,144,16,16,8,16,1 OR #SPREVH If you animate your sprite without flip, do #1 of following, and if with flip, do #2. #1: SPANIM 0,"I",25,0,25,1,0 #2: SPANIM 0,"I",25,2,25,3,0
1そうだね
未プレイ