Profile cover photo
Profile photo
Henning Ludvigsen
171 followers -
Norwegian digital illustrator and game developer
Norwegian digital illustrator and game developer

171 followers
About
Henning's posts

Post has shared content
I implemented camera shake for Gravity Run (http://www.badgerpunch.com/games/gravityrun/) a few days ago and as I said then, it works surprisingly well.

Here is how I did it. I made a simple Sine function with dampened oscillations:



const float periods = 24;
float timeLerp = ((nextTime - time) / shakeTime);
float amplitude = 1f * timeLerp * Mathf.Sin(timeLerp * periods);
shakeOffset.x = amplitude;
shakeOffset.y = amplitude;
'timeLerp goes from 1 to 0, and it controls both the length of the amplitude , and the running Sine curve. I just set amplitude as the x and y for the shakeOffset that is added to the camera position.
Nothing fancy, but it works like a charm. :-) #unity3d #gamedev #gamedevelopment

On my way to celebrate New Years Eve. Have a great one everybody! More pin-up chicks, board games, computer games, and tentacles next year ;-)

Post has attachment
Photo

Post has shared content
+Henning Ludvigsen and I (as BadgerPunch Games) have been working on a game called Gravity Run. It is a 2.5D gravity-influenced shooter that combines gameplay from the old Descent series and even older Lunar Lander arcade game into a fun-packed adrenaline rush.

We are still adding features, but we feel we have come pretty far. I´ll be posting some meaty dev updates about the game soon, but for now feel free to look at the screens on the website!

http://www.badgerpunch.com/games/gravityrun/

Post has attachment
A small selection of my illustration work.
PhotoPhotoPhotoPhotoPhoto
Illustrations
63 Photos - View album

Post has attachment
Illustrations
Photo

Post has attachment
Illustrations
Photo

Post has attachment
Illustrations
Photo

Post has attachment
Illustrations
Photo

Time to get started using Google+ and not just sit idle and look at it! :-D
Wait while more posts are being loaded