Lillapojkenpåön Posted October 12, 2020 Share Posted October 12, 2020 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? Quote Link to comment Share on other sites More sharing options...
+Muddyfunster Posted October 12, 2020 Share Posted October 12, 2020 can you link your code? Quote Link to comment Share on other sites More sharing options...
Lillapojkenpåön Posted October 12, 2020 Author Share Posted October 12, 2020 (edited) 4 hours ago, Muddyfunster said: can you link your code? Edited October 12, 2020 by Lillapojkenpåön Quote Link to comment Share on other sites More sharing options...
Lillapojkenpåön Posted October 12, 2020 Author Share Posted October 12, 2020 Oh, It was the temp variables being used somewhere Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.