Na ja, mach dir einen zweidimensionalen Array vom Typ Boolean (feld) und fülle diesen so auf:
Dann musst du nur noch beim bewegen so prüfen (+ und - je nach Richtung anpassen):
Bitte beachte: Dieser Code ist noch lange nicht vollständig. Du musst noch die von Picoflop erklärte Problematik lösen und verhindern, dass die Position von PicBox1 den Index von Feld nicht überschreitet.
MfG TheoTechnic
Dann musst du nur noch beim bewegen so prüfen (+ und - je nach Richtung anpassen):
Bitte beachte: Dieser Code ist noch lange nicht vollständig. Du musst noch die von Picoflop erklärte Problematik lösen und verhindern, dass die Position von PicBox1 den Index von Feld nicht überschreitet.
MfG TheoTechnic