Post news Report RSS DevLog 4 - Camera update, Doors and buttons & further gravity demonstration

Hi! This week we would like to show a bit more of our progress in programming the game! We have update how the camera behaves as well as implement new doors. We would also like to show an aspect of the gravity mechanic that we haven't shown before.

Posted by on

1 - Camera

smother camera rotation

As you can see, we have altered how the camera behaves, it is now at an angle slightly above the player and when the gravity changes, it only rotates after a small amount of time. We did this because we felt that it gave a smother and more polished feeling to the gravity rotation when compared to a fixed camera that instantly acompanies the player's rotation.

2 - Door and buttonsdoor buttons

As seen above, we have added a new method for doors to behave and also buttons to interact with. This door only opens when the button is pressed, and the buttons might seem similar but they have different functions. The red button can only close doors, the green button can only open doors and the yellow one does both. We also made the code in such a way that new functions and way for the buttons to be interacted with can be quite easily created.

3 - More on the gravity mechanic

any surface angle

This is to demonstrate something that was already a feature but not that well clarifield in previous posts. There was a question in a previous post regarding different angle for the gravity to be worked with, we answered by saying that the gravity mechanic can work with absolutely any surface angle. Well, this week we thought it might be nice to show in practice how that works!

Z2 long

Post a comment

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