Some practice projects for sfml.
using uniform-grid for 2d collision detection. very fast!
using loose/tight double-grid for 2d collision detection. very fast!
using z change actor, x change action, arrow key change direction and move.
if touch other types actor, attack. using finite state machine to manage actor actions. finite state machine, infinite possibilities.
-
books
-
library
-
collision detection
-
finite state machine