issues
search
tzachshabtay
/
MonoAGS
AGS (Adventure Game Studio) reimagined in Mono
https://tzachshabtay.github.io/MonoAGS/
Artistic License 2.0
27
stars
8
forks
source link
Walk improvements
#300
Closed
tzachshabtay
closed
6 years ago
tzachshabtay
commented
6 years ago
Added an optional "walk anywhere" flag to the walk method, to allow ignoring walkable areas.
Added a "walk straight" function which walks in a straight line until it reaches a non walkable- useful for keyboard movement modules.
Changed the keyboard movement module to use the new walk straight function.
Refactored the walk component to remove race conditions (was really visible when using keyboard controls)
Refactored the keyboard movement module into a component