PHYSICS IN 

VIDEOGAMES

http://j.mp/ux_pvg

      
www.uxnug.es     www.gameus.es

Vicente Herrera
@vicen_herrera
surcodigo.com
creadoresvideojuegos.com
Felipe Martín
@fmartinreyes
nambaruan.com
contextoformacion.com

WIP / 1 DAY DARE

Adrian Mesa            David Erosa
bravogamestudios.com          Ludum dare 26             - 

Why Physics?


1. REALISM                           2. IT'S FUN!


(BeamNG)                                     (Portal)


4 FIRST GAMES 
WITH PHYSICS

1947: Cathode Ray Tube Amusement Device

1958: Tennis for two

1962: Spacewar


Pong

LET'S START



POSITION
SPEED
ACCELERATION

Number precision


Floating point precision

NEWTON'S LAWS 
OF MOTION


First Law: rest and motion
Second Law: Force, mass, acceleration
Third Law: Action and reaction

First Law: Rest and Motion

 

Second Law:  F = m · a

Second Law: Not this...

Third Law: Action and Reaction

REFERENCE SYSTEM

GRAVITY: F = G·M·m / r²





GRAVITY:



Simplification: F = m·g

FRICTION (I) : Static and Dynamic

Dynamic :    F = k · v
·             Static :    Fmax = k · N

FRICTION (II): Aerodynamic


IMPULSE (I): (not this)

IMPULSE (II): This

ELASTICITY CONSTANT: F = K · x

ANGULAR MOMENTUM: L = r · m · v

Turning, Axis

COLLISIONS: Elastic, Inelastic

 

All togheter...

MORE TO LEARN

Inertia, Energy, Momentum
 

Books

   

Tools for this presentation

Slid.es
http://slid.es
Reveal.js 
http://lab.hakim.se/reveal-js
Unity3D
http://unity3d.com
MathJax
http://www.mathjax.org
GIF
http://gifsoup.com
http://www.yt2gif.com
KeySticks
http://keysticks.net


THANKS


Vicente Herrera
@vicen_herrera
surcodigo.com
creadoresvideojuegos.com
Felipe Martín
@fmartinreyes
nambaruan.com
contextoformacion.com
Made with Slides.com