View Clayton's post (How do I program ...) for this comment.

SmileBASIC Community

Oscar

Spoilers · 08/01/2016 10:02 PMPlayed

That's a bit harder, but doable. Simply check if the touch coordinates match the coordinates of the sprite. If they do, play a sound. IF STTM==1 THEN SPOFS <Management#> OUT X,Y IF ABS(TX-X)<16 && ABS(TY-Y)<16 THEN BEEP ENDIF The above conditional checks if the distances between the touch's coordinates and the sprite's coordinates were within the sprites area.

Advertisement

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:

Edit Comment

Select an action: