Closed pamims closed 2 years ago
Discovered the bad code:
var tile_below = (collision_point(x + dir*TILE_SIZE/2,y+TILE_SIZE*3, oWall,0,0));
This checks too far down. Probably due to copy-pasting parameters from checking tile_above. Fixed by doing this:
var tile_below = (collision_point(x + dir*TILE_SIZE/2,y+TILE_SIZE, oWall,0,0));
Result is the boss patrols his little island the way he should instead of having a seizure next to the tree. This is in my new latest commit to my alex-test branch.
@mfgoes
looks good!
Boss enemy glitches when walking sometimes.
The boss enemy will stop moving and switch between facing left and right very quickly.