Discussions

SmileBASIC Community

BradGamerZim

06/20/2016 3:31 AM ·Spoilers

Open Closed

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.

Advertisement

Comment

This post has no comments.

  • 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

    Yeahs1
    Played
  • Or you can use SPROT

    Yeahs1
    Played
  • 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.

    Yeahs1
    Played
  • Setting the attribute to 1 is sphide. Instead use #sprevv

    Yeahs1
    Played
  • 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.

    Yeahs2
    Played

Add a Comment

You must sign in to post a comment.

Sign in using a Nintendo Network ID to connect to users around the world by writing posts and comments and by giving Yeahs to other people's posts. You can create a Nintendo Network ID using your Wii U console or your system in the Nintendo 3DS family.

Use of Miiverse Details about Miiverse

Report Violation to Miiverse Administrators

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Post ID: 3DB-NBL7-BXN-3HKP-WPR-JP3P

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: