Log In  
Follow
EmilyRArmstrong
[ :: Read More :: ]

Hello! This is my first attempt at coding a game and I've come across a hiccup.

What I'm trying to do is create a sort of track that the player can follow by restricting movement based on the sprite number of the map tile at the x,y location of the player sprite. The restriction functions seem to be working but the displayed map seems to be off from the "location" of the player. I've read there are some discrepancies to the coordinate planes for the map and the screen and this is the closest I've gotten by trying to implement suggestions from the web, but things are still a bit wonky.

I've created a little display of the sprite that the restrictions are being derived from.

Any help understanding what I'm mixing up here would be much appreciated!

Cart #gutsmaze-0 | 2020-05-02 | Code ▽ | Embed ▽ | No License

P#75721 2020-05-02 01:44