Game
Iron Sky: A Lunar Adventure
8 years ago

Fixing a mandelbug and overlaid elements, and adding a feature


Hello everyone!

One of the worst bugs we’ve had in this game is at the end. It’s when performing the last action that triggers the final cut scene and animation, but the game gets stuck in a weird state.

It’s a mandelbug (like Mandelbrot fractal) in the sense that it’s very non-deterministic and its causes eluded everyone for a long time. The original fix was to move all the interaction positions so the player wouldn’t hit the exit by accident. This has apparently not been enough.

The current theory is as follows: When performing the action, the player moves to the proper interaction position. The engine checks if the player collided with the exit area to exit. Sometimes your computer causes a rounding error in this check. This confuses the execution of game scripting. It partially tries to exit and partially tries to trigger the cut scene, and the end result is getting stuck in a bit of both states. Because cut scenes don’t take input from you the player, the entire game seems locked up.

Now the exit is disabled altogether when performing that action. A solution that’s very simple yet obvious in retrospect.

A bug this elusive may still persist, though, so please do report any findings!

This new release (Download link here) has other fixes too.

The action menu and tooltips weren’t properly clamped to the screen. Sometimes the menu would open just a bit off, even if it didn’t require clamping. The tooltip also disappeared at times, like around the exterior of the UFO.

All of those should behave better now; please let us know if you see something that hurts your eyes.

You can also double-click on items for default interaction. This feature wasn’t too hard to implement, but all the more to design. The most useful default is to look at things, because that’s often the key to solving the puzzles. For a door, however, it would be to open it. But if a door isn’t automatically possible to open, what to do then?

We hope we got this good enough. We may change something if, or when, the Escoria framework gets features we want in A Lunar Adventure, but fiddling with the current defaults isn’t going to warrant a new release.

Performance when walking around the outside of the UFO should be just a bit better as well. We had some blowback in performance during development, but luckily A Lunar Adventure served as an excellent game to benchmark with.



0 comments

Loading...

Next up

Enemies can also suddenly spawn through Realm Rifts. These Rift Spawns are going to be stronger than the ones wandering around. TBD on the enemies... #screenshotsaturday #godstear #madewithunity

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

Rockin the Guitar, an Axe like Guitar I made for my Uni project

Very ambitious construction going on in Planet Zoo on Plays today. We're tryin'. LIVE: www.twitch.tv/dreamhackplays

Let me introduce you to the new Mech line: Gendai Spec. Those are Mech that specializes in surprise attacks, covered operations, and stealth. They are equipped with melee weapons but one of Gendai's frames supports sniper rifles.

Cash Banooca

not the greatest house, but it's a house! :D

Some time ago, we posted a screenshot of the Mexico level. A curiosity about it is that, like some other scenarios of the game, it was inspired by a real landscape, The Basaltic Prisms of Santa María Regla. It is one of the natural wonders of the country!

Among us_into Madness