Rapunzel's Escape - Diary of a Game

This is a diary I kept while I was making the game.

View Options

Date (Newest)
Date (Oldest)

Player anim and map

3rd Jun 2020

Since last Wednesday, I've animated Rapunzel. She now jumps and runs the same as in the original. Well... mostly. There is a bug where if she drops off a platform she can jump in mid-air. My kids say this is "cool" (a concept I am no longer familiar with) so as an indulgent father I have left it in for now. In fact, I may have accidentally gone a bit further and made it possible to use a particular exit only by using this bug..

I've also imported the full map from the original game which was fairly painstaking work. However I felt it worth doing manually to re-acquaint myself with the map. It plays as one big level at the moment - my next task is to split it into "rooms".

> Map!

> Rapunzel back in her room

> As you can see, you can see rooms from other rooms you can. See?

> Is this "cool"?

Rapunzel's Escape new version - work started

27th May 2020

I've started work on a new version of Rapunzel's Escape in the Godot game engine. I've no idea whether this will go to completion but it's a start at least.

It's full screen and for now at least features scrolling. I've been managing to work on it for 30 - 60 minutes a night for the last week or so.

This screenshot was taken in Windowed mode to make it smaller but the game also runs full screen.

Rapunzel Reviewed on YouTube

16th Apr 2007

A review of Rapunzel's Escape has just gone up on YouTube. This was done by Matt Mikolaj, formerly of O-gamer magazine. He is starting a new video reviewing project and already has quite a few reviews up there including one for the runescape easter missions.

Check it out here:

Thanks Matt for reviewing the game!


9th Mar 2005

Seems like it doesn't matter how much you test something, there's always something else that can go wrong! The new collision detection system wasn't flawless and with a lot of hair, it was possible to push an enemy right out of the screen.

By putting the view in director on 12% I could see the little enemy floating helplessly downward in the void outside the game. Once he reached 32,000 pixels down, he would loop and start again from 32,000 pixels up. I didn't watch that long though.

Fixing this bug was tougher than identifying it. At first it seemed just limiting the speed of all objects to below the size of a tile would do it (31 pixels per frame) and although that made things better it was still possible for things to go wrong.

I discovered that under very special circumstances it was possible for Rapunzel or an enemy to warp through a block and appear on the other side.

Once that was fixed, it became apparent that it was still possible for very small objects to force their way out of the corners where a wall and a floor tile meet if it was travelling fast enough. To sort this out I had to program a new type of collision tile specifically for this circumstance.

The whole thing took ages, but at least now, the system should be robust. After the hammering I've given it, I'd be surprised if anything else goes wrong. (How to tempt fate!)

While I was at it, I also noticed that Rapunzel's hair had an annoying habit of flicking around when you entered a new screen. This was relatively simple to sort out, just a matter of moving the hair when Rapunzel moved rather than letting it get "pulled" across the screen.

I also noticed that the big witch wasn't really behaving properly so I tweaked that and also redesigned the screen to take away a safe spot that allowed Rapunzel to hide, and still hit the witch with impunity. It also means that the only way to get to the hair potions at the top is get blasted up there (unless you entered through the secret entrance).

I also felt that the witch was a big weakling, and the fight tended not to go on for long enough, so I increased her hit points from 100 to 300.

Oh and I also put the stars back in. This was because of a suggestion by Eric9000 which reminded me about them. I don't have a credits section in Rapunzel yet so I hope mentioning your name here will suffice for the time being!


7th Mar 2005

After going to all the effort of making a new collision detection system for MR3, it seemed a shame not to allow Rapunzel to benefit from it as well.

Bringing it to Rapunzel gave the following improvements:
- faster game speed
- more flexible level design
- small bug in room exit corrected

Implementing it in Rapunzel turned out to expose a few minor flaws in the system, which would have reared their heads eventually anyway, so it proved a good testing ground for the new system. Also, special code had to be added to cope with platforms - ie special tiles which you can walk through left and right and up but collide with when moving downwards (if you were above it last frame, and are not pressing "down").

Rapunzel's collision detection was very slow compared to the new one and relied on dividing the screen into rectangular zones which would then be detected against. This meant that keeping solid blocks in rectangular arrangements would keep the number of zones down, and keep the game running faster. It also meant screens with quite a few enemies on (5 or 6) would have to be relatively free of solid or platform blocks, again in order to keep the speed up. Without this constraint I was able to go back a redesign some of the screens to make them more interesting.

Under the old system it used to be possible to jump "through the ceiling" of a room in the armoury to arrive in the floor of the room above. This bug corrected itself with the new system, because now when Rapunzel (or Merlin) leaves a room, the collision detection system actually looks at the tiles in the surrounding rooms rather than assuming that anywhere on the current screen where there are no solid tiles is a viable exit. This is an improvement over the system in MR2 as well.

Some screenshots:
> one of the new armoury rooms

> things hot up

> things get tough

> one of the redesigned roof rooms


4th Feb 2005

I had to re-ogranise the data in Rapunzel to make way for MR3. After I had done this, I was having trouble uploading v1.02 to the website. No matter what I tried, it didn't seem to want to load.

In the end I thought maybe using extenal casts for the scripts was more hassle than it was worth. The idea was that Rapunzel and MR3 would load from partly the same casts for their scripts meaning that if you had played one, the other would already be half-loaded. However, I never understood why casts that contained nothing but text could be 3mb in size. It didn't make sense to me.

To my surprise, when I included the script casts with the rest of the movie, the size of the .dcr only increased by 55k, for a loss of that 3mb. Effectively that means that something that was taking up 3mb is now only taking up 55k.

I still don't understand, but the upshot is that this is good news. The total download size for Rapunzel has been reduced by 75% saving you time when you're downloading it and the loader bar now properly indicates how much has loaded.

I also managed to fix the instructions screen so that the text starts at the top. Bizarrely, the problem was caused by the text centering on wherever I had left the cursor! By leaving the cursor at the top of the text box after each edit, I can make sure that the instructions start at the top.

Rapunzel FinalTweaks

22nd Dec 2004

Made a few last adjustments today.

Made the prince's collision area smaller so that it was easier to avoid getting into a conversation with him, since, at the moment, you can't skip the conversation.

Altered the instructions as they still referred to the space bar, which is no longer needed.

Added a version number to the titlescreen.

So the game is now finished, but as always I'm not 100% happy with it. Here are some things that I would like to add when I get a chance:

- disable the "esc" key and use it to bring up the instructions in-game
- add a minimap like the one in MR2 so you can see where you've been.
- do something about the way the enemies sometimes overlap so that two look like one.
- pause mode
- save game
- be able to skip the dialogue between the Prince and Rap
- make a loader that takes into account the extra casts that need to be loaded

Rapunzel End Sequence

20th Dec 2004

Did the end sequence today (along with a few other bits and pieces like making the hair grow automatically when it gets cut).

Like the title sequence, the end sequence is a series of screens with pictures and text. I didn't have time to animate it all, and just having pure text is a bit dissapointing at the end of a game so I thought this way was a good compromise. Also has a bit of a storybook feel to it.

Rapunzel Title Sequence

16th Dec 2004

Started the title sequence for Rapunzel today. This involved programming a little program that will sequence through a series of screens and display back, next and exit buttons.

After that, I just had to construct some pictures and add the text. Erm, there's not really much else to say about it. You can view the title sequence from the game's title menu.

Rapunzel Title Screen

15th Dec 2004

Did the title screen today. The title screen to the original demo was very simple and looked like this:

I had just lunked in some text to show that it was the title screen. I picked the Dapuhin because out of the fonts on my computer it seemed most in keeping with the style of font in the Longhair Lovers logo.

I hadn't put a lot of thought into it at that stage and always planned to replace it with something more "computer gamey". Then one day I was feeling like I wanted a break from the programming so I started on the title screen, got as far as doing the font (it took ages) but didn't get as far as drawing a nice pixelly picture of Rapunzel running away from some enemies. It looked like this:

Then, it later turned out that Jennifer (who had commissioned the game for longhairlovers.com) preferred the first font! She asked me if I could match the fonts to the one that would appear on the Rapunzel t-shirts that a graphic designer friend of hers had done. This was no problem and the end result looks better than if the second design had been taken to it's conclusion.

I still felt that Rapunzel should feature on the title screen but by this late stage I didn't have time to draw her so I took several screen grabs of me playing the game and choose one to use as the background for the title screen.

Now the only reason I mention all this is that the witch has a computer in the game and on that computer is Rapunzel's Escape - but it's the old version with the second title screen. That's what you get for being evil - out of date products!


Related Actions