riksweeney / edgar

A 2D platform game with a persistent world. When Edgar's father fails to return home after venturing out one dark and stormy night, Edgar fears the worst: he has been captured by the evil sorcerer who lives in a fortress beyond the forbidden swamp.
https://www.parallelrealities.co.uk/games/edgar
117 stars 28 forks source link

Swamp guardian gets stuck if Edgar blocks between head and base #11

Open yarnweaver opened 8 years ago

yarnweaver commented 8 years ago

If Edgar gets between the head and the base of the swamp guardian, and uses his shield, and faces in the direction of the enemy's head, then Edgar's shield blocks the return of the enemy's head to the base. The enemy's head will then move towards the opposite edge of the screen, and get stuck.

Edgar continues to take damage periodically whilst between the head and the base - but once Edgar is out of the way of the enemy, Edgar can then repeatedly hit the non-moving enemy until it dies, making for an easy victory.

I think this affects either the bite attack or the crushing attack, or possibly both attacks.

riksweeney commented 8 years ago

This seems to be very difficult to achieve without losing a lot of energy and using up all your health potions, or am I missing something?

yarnweaver commented 8 years ago

I find that it's possible for this to happen by accident. Like you say, it's difficult to contrive to make it happen, though - and Edgar inevitably loses some health in the attempt.

The easiest way to force it is during a crushing attack. So if the enemy is on the left, the crushing attack will be moving to the right. Position Edgar a little to the left of where the head will land for the last of the five crushes - and block, and face Edgar to the right. This will prevent the enemy's head from moving back to the left; once you see the head moving to the right, get out of the way of the enemy so as to minimise damage.

Apologies if my instructions aren't good enough for you to repeat it; I don't have a readily-available save game at that point to try it out, but I'll post again within the next week or so once I've checked it again.

yarnweaver commented 8 years ago

Sorry, but my original info about how to trigger the bug wasn't quite right. Here's more accurate info:

In between attacks, Edgar should stand in roughly the centre of the area, and should face away from the enemy, and should hold the shield blocked.

In the event of a crush attack, once the attack has reached Edgar, Edgar will take maybe one point or two points damage, and then the enemy's head will move to the top of the screen. After that, the enemy becomes stuck, and Edgar can defeat the enemy just by hitting it over and over again, without being attacked back. This happens on every crush attack where Edgar has blocked in the opposite direction.

In the event of a bite attack, the enemy's head will continue to move past Edgar, and will get stuck on the opposite side of the screen. Edgar will continue to take damage periodically until he has been able to move behind the enemy's base. After that, Edgar can defeat the enemy just by hitting it over and over again, without being attacked back. This happens sometimes on a bite attack where Edgar has blocked in the opposite direction, but not always.

Hope that helps.