June 6, 2015 · wip weekly update bumper update

Week #22 and #23 update

What I've done this week##

This week is another bumper update. Over 25 minor bug fixes and some major improvements to the monks. A dozen more bugs were repoted by my chief tester, Lavi, but these were already fixed since the last build. Overall, my copy of Lode Runner Online: The Mad Monks' Revenge is very stable on Windows and Mac (Linux is a little iffy) with less and less major issues being found.

There is still quite a lot of work on the monk AI to bring it up to some level I am happy with but I'm sure I can do that within the next month. I've decided to redo the whole AI from the start. The monk behaviour is not quite the same at the moment and some puzzles (like 19) are unsolvable. Quite a few of you may be a little disappointed that the AI in this build isn't finished like the original - apart from fixing bugs and quirks, the AI is the sole thing planned for the next few weeks.

I took a few days off to go to visit my brother in Newcastle (New South Wales, not Newcastle upon Tyne) which did take away from dev time since we did bugger all and watched Man on Fire via Netflix. I've been working flat out on this project for well over a year now and my brother on and off (depending on work) for a year so a little R&R is well deserved I think.

Please head over to the downloads page and get yourself a new copy to try out. A new configuration file will be created so all your settings will be wiped. Remember; any bug or quirk or anything that appears a little odd, please contact me no matter how insignificant so I can take a look - this project isn't just for me and my brother, but for all other fans of the original Lode Runner: The Mad Monks' Revenge.

On to the nitty gritty details of the last two weeks worth of updates; a name in parenthesis and in bold is the finder of the bug/quirk. Thanks to all, I really do appreciate the time and help. Cheers!

Editor

Game

One of the common issues with the current and previous demo is players (heroes and monks) disappearing or being magically teleported to the side of the screen. I think I've finally fixed these for good. Of course, more testing is needed to find out but if it is gone, then that is a huge weight off my mind for sure.

I spent quite a lot of time this last week to redo heroes falling onto a monk. My first approach was quite crude and used the grid positions for collision which is not what the original did. This took quite some time analysing videos to work out how the original worked and why. The 'why' isn't important really, I just like to know these sorts of things.

The end result is nearly identical to the original. After hours of footage, I can't quite work out what the original is doing so like most other player related animations, I've gone for what looks the closest and what looks right to the eye. If you look at the GIF animation below, you'll see a main change compared to the original; swapping to a ladder. The original has the hero run, then grab onto the ladder. If you play about in the original, you'll notice that no matter what you do you can never recreate this manoeuvre. Ground level ladders don't work like that and it makes no sense so what I've done is do make the hero swap to a ladder like he would if he wasn't on a monk head.

Hero on monk head difference #1
The top is the original and the bottom is the new

That is isn't the only change. Below is a player stepping off a monk onto a fall-through. If you crank up the original and recreate what you see below, you'll find that the original has a bug; the hero doesn't fall. Make a move left or right and he falls then idles in the block. This rewrite doesn't have this bug as you can see in the GIF. WARNING: 500kb+ GIF - sorry!

Hero on monk head difference #2
The top is the original and the bottom is the new

Did you notice in the original if you replicate the above GIFs that you only need to tap the left or right key once and our hero runs on auto-pilot? My Lode Runner Online: The Mad Monks' Revenge works the same. A nice little touch that many wouldn't notice but I think helps to capture the feel of the original. The other thing you may notice is there is an extra running frame for my hero - it's to make the transition from run to fall look a little smoother.

Monks and AI

A lot of the issues with the monk AI was due to them colliding with each other and not pausing like the original. I spent nearly all my time this week going through recordings of the original game frame-by-frame at 300% magnification and working out what Presage must have done. I think I cracked it! It took several days, many different approaches and so many cups of tea I can't count to work out how I think they did it.

A few tweaks were needed to accommodate this and a lot of testing to make sure it didn't break anything else, but I think I am quite happy with it.

In the original when monks fall and land on another monk that is stuck in a hole, it holds off telling the monk to climb out until the falling monk is closer. I assume that is to prevent the climbing monk being half bent over out of a hole. Instead of duplicating the original 100%, I stop the climb out of hole animation at a point where it looks like he is looking upward and not in some half crouch. I'm a little bias of course, but I think mine looks nicer!

Monk fall wait
The top is the original and the bottom is the new

General

What I'll probably do next week

Author

Quark Robot

A massive Lode Runner fan. You may have guessed that.