Janfiderheld / Snake-That-MO

Projektarbeit im Fach "Mobile Systeme" von Niclas Muss & Jan-Philipp Töberg an der Technischen Hochschule Ostwestfalen-Lippe im WS18/19
Apache License 2.0
7 stars 0 forks source link

Collision Detection #12

Closed Janfiderheld closed 5 years ago

Janfiderheld commented 5 years ago

Implement the collision detection with the outer walls and some (test) obstacles

Janfiderheld commented 5 years ago

Implemented one idea but had no possibility to test yet...

Janfiderheld commented 5 years ago

After testing: Current solution works only in two of four directions at one time...

Janfiderheld commented 5 years ago

Current solution works with the new snake!

Janfiderheld commented 5 years ago

Current Implementation for the collision detection with the snake body does not work as intended

Janfiderheld commented 5 years ago

Snake now collides with its own body but the whole snake movement is really...counter-productive. Need to be discussed this Tuesday!

Janfiderheld commented 5 years ago

Better use of issues in GitHub

Janfiderheld commented 5 years ago

Added a superclass for obstacles. Now obstacles need to be added and the collision detection with the obstacles should be implemented

Janfiderheld commented 5 years ago

Exploding Barrel is added and works as planned