raycaster icon indicating copy to clipboard operation
raycaster copied to clipboard

Add Wall collision into the game

Open sammer1107 opened this issue 4 years ago • 3 comments

I also refactored IsWall() into class Game. This allows me to use this function in Game and remove duplicates of IsWall() for cleaner code.

sammer1107 avatar Nov 08 '20 12:11 sammer1107

You should use git rebase -i to rework the commits. There should be NO commit which refers to "Merge branch 'master'."

jserv avatar Nov 08 '20 17:11 jserv

I removed unnecessary commits and files. Also, I added some comments to explain PLAYER_RADIUS and the colliding mechanism.

sammer1107 avatar Nov 09 '20 03:11 sammer1107

I would like to ask @WeiCheng14159 for reviewing.

jserv avatar Nov 09 '20 04:11 jserv