Presentation is loading. Please wait.

Presentation is loading. Please wait.

Marc LeBlanc October 2006 Video Game Programming.

Similar presentations


Presentation on theme: "Marc LeBlanc October 2006 Video Game Programming."— Presentation transcript:

1 Marc LeBlanc October 2006 Video Game Programming

2 About Me Started programming in 1980 (age 11) Making games ever since Working in game industry since 1992 Master’s in Computer Science

3 Mind Control Software San Rafael, CA 24 People: 5 Programmers 6 Artists 4 Game Designers 1 Musician/Sound Designer 2 Producers 3 Quality Assurance (Testers) 3 Miscellaneous

4 Our Games

5 Other Games I Worked On

6 What I Do Title: Chief Technology Officer Oversee all programming Hire programmers Write code Game design Help run the business

7 Time for Game Demo The Game: Arrrrrr! Not Yet Released

8 Discussion How were the two versions different? How does frame rate affect fun?

9 Here’s the Point: Good programming is the difference between “fun” and “not fun”

10 A Simple Example bool IsTargetInRange(float x, float y, float r) { // What goes here? } (0,0) (x,y) r

11 A Simple Example bool IsTargetInRange(float x, float y, float r) { float distance = sqrt( x*x + y*y ); if (distance <= r) return true; else return false; } (0,0) (x,y) r

12 More Succinctly… bool IsTargetInRange(float x, float y, float r) { float distance = sqrt( x*x + y*y ); return distance <= r; } (0,0) (x,y) r

13 However… bool IsTargetInRange(float x, float y, float r) { float distance = sqrt( x*x + y*y ); return distance <= r; } This is too slow. sqrt( ) is a very slow function. How can we get rid of it? (0,0) (x,y) r

14 The Optimization bool IsTargetInRange(float x, float y, float r) { float distanceSquared = x*x + y*y; return distanceSquared <= r*r; } This is what game programmers do. (0,0) (x,y) r

15 Skills Game Programmers Need Lots of Math! Geometry Trig Calculus Linear Algebra Discrete Math Probability

16 Skills Game Programmers Need Lots of Computer Science! Software Methodology Algorithms Computer Architecture Compilers Graphics

17 Skills Game Programmers Need Life Experiences Imagination Communication Passion Sense of Fun

18 Want to Be a Game Programmer?

19 Go To College!

20 Any Questions? Some Links: www.mind-control.com www.8kindsoffun.com


Download ppt "Marc LeBlanc October 2006 Video Game Programming."

Similar presentations


Ads by Google