My PACMAN game is not working.
Attachment 16455
I would like to stop my character from going out of bounds.
Can somebody tell me how to do a non-square border?
Printable View
My PACMAN game is not working.
Attachment 16455
I would like to stop my character from going out of bounds.
Can somebody tell me how to do a non-square border?
Well nobody is going to tell you anything useful without seeing the source code.
My suggestion, make all of the parts normalised areas, so for example:
map uses context as it's normalised area
each individual map square (so turns, corridors etc) uses the map as it's normalised area, add the map position to it's own when passing the vertices, I count about 31 pieces vertically, I would expect the same horizontally
actors use the map pieces as their normalised space, would have to examine up to 3 pieces away for borders since the actors will overshoot the normalised boundaries, maybe about 2.5 width & height?
I fixed it, thanks.Attachment 16456