• Register

The enigmatic journey of Sky, an explorative artificial intelligent made by Professor Toro Hudo who lives in Goa, the world below. Sky was created to help Professor Toro Hudo in constructing kinetic system for his foster daughter, Ocean Hudo, a forsaken limbless child who fell from the clouds when she was an infant. Observe the mystical Goa, experience its astonishing adventure with formidable jigsaw, swiveling plot, and bizarre habitat.

Post news Report RSS Irritating Implementation of Platforming Predicament, Part III: Parallax, Day Night System & Quests

I am Chalcedony, a programmer of Ascender and also an apprentice in devlogging. Today I shall be your host in journeying through the backstage of Ascender, giving glimpses of what happened off-stage.

Posted by on

Hi Ascenderians, nice day to you!

Welcome to this entry of the devlog. I am Chalcedony, a programmer of Ascender and also an apprentice in devlogging. Today I shall be your host in journeying through the backstage of Ascender, giving glimpses of what happened off-stage.

Let’s get acquainted first with what’s going on in the screen. As you should have known from this post, we have the so-called parallax background (and foreground)…

parallaxparallax in action

The day night cycle system…

daynight

day and night cycle

And the quest system…

questquest system instance


Do you ever wonder what’s really happening outside the camera’s bounds? Well, it’s pretty ugly, I tell you, but here goes anyway…

sebelahlook at what happens offscreen!


This log wouldn’t be complete without explaining what’s going on! Let’s investigate them one by one, starting with the parallax thingy.

On a 3D world, these are a no-brainer, you just move the camera and parallax effect will naturally happen. On a 2D world, these are conceptually simple, too. You just need to move the background slower, and the foreground faster. Basically, things closer to the camera move faster. It can become a hassle to setup though. For an instance, this messy setup below shows just perfect on the camera.

messy1what a messy structure!


And then we have the day night cycle. Again, in a 3d world, sunlight can be simulated rather easily using Unity. Too bad they don’t provide 2D light! To make darker scene for night time, I just tint things at different rates. Light from lampposts are faked by shooting spotlights into the scene.

light

spotlight shot from the camera


Quests are supposed to be interesting. I thought of making generic quest template, but then it will only be capable of serving generic tasks (delivering things, getting x items, etc.). It would be dull and boring, right? Hence, I have to make a different script for every quest available in the game. Don’t forget to check the information provided in the pause menu when doing quests later!

mapmap, showing quest hot spots


taskquest description


Ladies and gentlemen, that concludes the tour. But your quest isn’t over! Why don’t you stick yourself in the action? Grab a copy of the alpha version now, and let us know what you think!

Ta-ta for now!

Chalcedony

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: