+atari2600land Posted September 30, 2022 Share Posted September 30, 2022 The Game Boy is a lot like the Intellivision in regards to 8x8 tiles making up a screen, so I'm asking this here. The Game Boy screen is 360 tiles, 20 x 18 tiles. Each tile is 8x8 pixels. What I am trying to do is make the program tell which tile my 8x8 sprite is on and then react accordingly depending on which tile is being touched by the sprite. Right now I have this: whichtile=((franky/8)*20)+(frankx/8); I'm using C here. But this does not work. What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
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.