Once upon a demo/anniversary level, there was a barrier to break to access the bottom half of a level. It was totally unclear that this was something that would break, so with the next release, it became a chalk rather than some plain pencil. At least we all know chalk isn't very strong. And I added some face showing up when you walk on it, to suggest it is interactive.
But when player tested that level at the last playtest event, it was very unclear what to do with the chalk. I have some plans to improve that, but it also turned out that the current tiles+sprite implementation wasn't reliable enough to be used as a door in a level.

So the first move was to adjust a bit the sprite of the school zone and create a single compound Gob, giving it platform behaviour and fitting it in the level. I forgot to give it proper box, though, making the first video capture look a bit weird. I also had to be reminded that platforms in my engine don't act as platform until you set a specific bit in their variables -- something introduced to allow flapping crocodile platforms.
Of course, the story would not be complete without a big unexpected bug. The chalk is supposed to turn into bits when you hit it, and that bit falls out of the screen. where it froze, waiting for the action to catch up, like any game object would do. Unfortunately, the "broken bit" is an animation for a single sprite while the chalk was a compound of 3 sprites. When the engine tried to unfreeze the broken bit that had fell from A down to the 2nd X spot as Bilou reaches the B spot and brings it in the active region again, it detects an invalid combination of code and data and throws an exception. Hopefully, nobody needs to see falling bits that have unfroze when going further in the level: I just had to tell it to delete itself once off-screen.
With all that done, it was finally time to make sure that using the Big Punch would also break the chalk into bits ^_^



Vote for your favourite post
