Discussions

SmileBASIC Community

bherdmbherdm

09/12/2016 9:11 PM ·Spoilers

Open Closed

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

Advertisement

Comment

This post has no comments.

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

    Yeahs1
    Played
  • Thank you so much!! Working code: mngNUM=0 SPCHR mngNUM, 48, 48, 32, 32, #SPREVH

    Yeahs0
    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-EJ9-9E2F-FK2-RYDU

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: