トピック
Brad GamerZim

How to flip a image

How do you flip a sprite, I know how to use things like rotation and scale, but rotation will just make it upside-down, seems simple enough but no idea what the access name would be.
3そうだね
プレイ済み
返信[1]
親投稿
C. Norris 06495a
Basically, it goes something like this, Spchar ID out x,y,u,v,w,h,a Spchar ID x,y,u,v,w,#vflip I forgot what the # name is but the ? Button has a list of attributes. What this code does is read the information of a sprite (where on the sp sheet it is,size of the Image) and then places a sprite with the same information, but flipped
1そうだね
プレイ済み
返信[2]
親投稿
Sheepy22★∞ SheepSoldier101
Or you can use SPROT
1そうだね
プレイ済み
返信[3]
親投稿
Brad GamerZim
having a little trouble with spchr i fallow the instrutions for it but my fish just dissapers I just used in order :spset 0,17:sphome 0,8,8: and i think it was sonething like spchr 0,,,,1 to set as a flip and the fish disappears, and thanks ^ but sprot only makes image upside down when 180ed.
1そうだね
プレイ済み
返信[4]
親投稿
C. Norris 06495a
Setting the attribute to 1 is sphide. Instead use #sprevv
1そうだね
プレイ済み
返信[5]
親投稿
Brad GamerZim
Haha awesome, yup did that and fished ended up-side-down, so went notice what you where refuring to and went with spverk and it worked, now my fish can swim in the right direction.
2そうだね
プレイ済み