Discussions

SmileBASIC Community

AndrewToasted771

05/23/2016 12:25 AM ·Spoilers

Open Closed

sprite collision with bg tiles?

im making a platformer but im not sure how to make a sprite collide with a bg tile. I have two seperate bg layers, but i dont know how to make my sprite detect platforms i made on the second layer.

Advertisement

Comment

This post has no comments.

  • you can use bgget or sphitrc.

    Yeahs1
    Played
  • i know about bgget, however when i use it, it returns a string like 4592 or similar. can i use this code with sphitsc somehow or do i need to create a seperate variable to store the data before i can use it? and thanks for answering :) i should have been more clear with my question

    Yeahs0
    Played
  • this is how i use sphitrc(make sure you do spcol first though so it will work).

    Yeahs2
    Played
  • thank you so much! this will help a lot :)

    Yeahs1
    Played
  • anytime glad i could help :)

    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-ZM9D-ZYH-7U2G

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: