I'm having some issues with getting a player-sprite to move/align properly within a checkerboard-style map.
The player-sprite, which is 60x60px, is within a 60x60px grid, on the background of a checkerboard tilemap, and the player-sprite is supposed to move similar to a chess-piece, but also rotating before moving in a cardinal direction. Think Zelda, but restricted to rotating in place and moving in cardinal directions on a grid.
My problem is that the player-sprite won't align/snap on the grid-view properly unless I alter it's origin point to be in the top left of the sprite square. This then causes complication when I try to rotate the sprite.
If I put it in it's default central position, it snaps in between the checkerboard squares of my tilemap which I don't want.
In addition, I added walls of 60x60 size to serve as 'edges' of the map, but my sprite appears unable to move near them.
The code I used for the grid movement was copied from one of the other tutorials on the site.
Long story short:
- Construct's Grid-view and hand-made checkerboard tilemap grid do not match each other, despite being same size.
- Player-sprite is having issues with alignment, rotation, and movement on the grid because of above.
- Sprite also won't move near/between walls for some reason.
EDIT: Okay, apparently I lack the rep points to link to dropbox, and the forum keeps giving me SQL errors when I try to add an attachment. How do I share my .capx file?