Discussions

SmileBASIC Community

Erryestherrose123

06/30/2016 9:51 PM ·Spoilers

Open Closed

How to use the touch screen

Can anyone tell me how to use the touch screen? For example, when I touch a sprite it should beep. Thanks in advance!

Advertisement

Comment

This post has no comments.

  • Use the TOUCH command. It will return three values... TS - Time the screen has been touched, 0 otherwise. Increments each 1/100 second. TX and TY - The coordinates of the last point touched. As all other coordinates in SmileBASIC, the Y axis is reversed. You can use the TOUCH command with this syntax... TOUCH OUT TS,TX,TY After that, you can simply use the values of TS, TX and TY.

    Yeahs2
    Played
  • Thanks!

    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-BXN-3HKR-XB7-UGKU

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: