cdeevfrr / Photon

A video game
GNU General Public License v3.0
0 stars 0 forks source link

Consider edges that connect two graphNodes from different sides #8

Open cdeevfrr opened 2 years ago

cdeevfrr commented 2 years ago

Ex, maybe leaving the top of one node enters the left of another.

This would be tricky, since then there would need to be an idea of momentum too - right now I'm assuming that things travel in a straight line, and these lines are defined by lists like [up, left, up, left, left]. If something went through an "up" and, instead of coming out in the 'bottom' of some other node, it came out from the left side, should the other directions left in the line be changed? Should the line turn into [up, left, up, forward, forward] or something?