PacMan 2D

Blitz3D Forums/Blitz3D Beginners Area/PacMan 2D

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

... or you could make a bitmap image and use ReadPixel to see where walls, dots, etc. start off (and maybe even use WritePixel to update the game, so that you could pause/save and return to it later ??)

e.g.


N.B. If you zoom in you will see that the dots are yellow where the power pills would be.

An even more useful scheme would use different coloured dots for the different types of corners, so that you could use a nice rounded tile going in the correct direction.

green = [
purple = ]
brown = L
silver = ¬
...
etc.

You could probably code up a maze editor easily using tiling examples in the codearcs and then write out the dots to a bitmap easily...