Jump to content
IGNORED

background tile collision question


Recommended Posts

I'm trying to do tile collision the simplest way, the map is in ROM, but I just get the same value wherever I check

 

 

 

   temp1 = playerX / 4

   temp2 = playerY / 8

   lookupchar = peekchar( tiledMap4x8, temp1, temp2, 40, 24 )

 

 

    temp4 = converttobcd(lookupchar) 

    plotvalue font 3 temp4 2 24 8

 

 

Just says 18 everywhere when I move the player around? 

What am I doing wrong?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...