Discussions

SmileBASIC Community

TekeMangameboyfan12345

02/11/2016 8:26 PM ·Spoilers

Open Closed

Several Questions, Answers Needed!

1. Is there a way to print Text over sprites as they move around? If so how? 2. Is there collision between background tiles and sprites? If so, how? (Please include screen shots)

Advertisement

Comment

This post has no comments.

  • Not only X and Y,Petitcom 3D has position "Z" between 1024 and -256. *Text - [LOCATE X,Y] or [LOCATE X,Y,Z]. *Graphic - [GPRIO Z] togather. *Sprite - After [SPOFS S,] or [SPANIM S,"XY",],same to LOCATE. *BG - After [BGOFS L,] or [BGANIM L,"XY",],same to LOCATE.

    Yeahs0
  • Could you refer to the codes in DKW3EVKV? Please download it asap because I'll keep it on the cloud server temporarily. In my method, texts are printed(drawn) as a sprite to move smoothly as main sprite move around. I recommend you to use BGCOORD and BGGET in order to detect collision between BG tiles and sprite. I'm sorry I cannot attach screen shots here because of region lock.

    Yeahs0
  • Answer 1: Advice: Replace: LOCATE 5,7 PRINT "HELLO WORLD!" with GPUTCHR 5*8,7*8,"HELLO WORLD!" It is literally the exact same graphics wise, but it draws it on a graphics page with z being 513 So make a Sprite with offset anything lower than 513 and it will show up above the text

    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-BXM-ZM99-8N4-RZ39

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: