Practical Juicing for Game Devs

Objective

Trial 1: design as expected
Trial 2: accelerate movement
Trial 3: momentum bump
Trial 4: camera shake
  • store a 2D vector to offset all drawing coordinates, defaults to (0, 0)
  • for a right-ward camera nudge, set the offset vector to something like (+10, 0). Higher nudge strength means greater vector magnitude
  • over a short time period, interpolate the offset vector value back to (0, 0) using an easing function like out-cubic or out-elastic
Trial 5: particle effects
Original
Final

When To Stop

--

--

--

Game makin’ person! 🍔

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

E3 Hands On: Resident Evil 2

FF XV Review

Top 10 Gamestarter IGOs of 2021

Nintendo’s disappointing release strategy for Super Mario 3D All-Stars.

What the Epic Games Store got wrong

Would You Kindly? The Enduring Brilliance of Bioshock

Weekly Kickoff, April 12, 2021

Recommends: Pandemic Legacy Season 2 (And 1)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
David

David

Game makin’ person! 🍔

More from Medium

Rhythm Quest Devlog 28 — WebGL Port, Checkpoint Graphics

The future of game design: Accessibility

Accessibility & Video Games

Screen of a video game displaying “You Died” in red letters.

How UX design can help with VFX