Mp24: Python in gaming industry

1,806 views

Published on

Published in: Technology, Design
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,806
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
16
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Mp24: Python in gaming industry

  1. 1. Python in the Game Industry Jeff Preshing Technical Architect Ubisoft Montréal 10/24/2011
  2. 2. Outline1. Describe (AAA) Game Production2. Where Python fits in3. Examples
  3. 3. Types of Game Development AAA GamesCasual Games Indie Games Mobile Games Social Games Flash Games Plus: MMORPG, etc…
  4. 4. AAA Game ProgrammingMostly Windows Visual Studio
  5. 5. AAA Game ProgrammingMostly Windows Visual Studio
  6. 6. Structure of a Game Production
  7. 7. Structure of a Game Production
  8. 8. Third-Party Tools Scripting• Autodesk Maya (Python, MEL)• Autodesk Softimage XSI (Python, C#, VBScript, JScript, C++)• Autodesk MotionBuilder (Python, C++)
  9. 9. MotionBuilder – Integrated Python Editor
  10. 10. MotionBuilder – Python-based Plugin
  11. 11. Build Steps1. Sync code (< 1 min)2. Build editor (5 – 10 mins)3. Sync data (< 1 min)4. “Cook” data (1 min – 1 hour, depends)5. Build game (5 – 15 mins)6. Deploy to kit (sometimes)If only this was automated…
  12. 12. OvernightScript.py – End of Day
  13. 13. OvernightScript.py – Next Morning
  14. 14. OvernightScript.py – Archived Logs
  15. 15. Notifications
  16. 16. Notifications
  17. 17. Many Other Examples…• Analyze MAP files• Custom build steps for SPU ELFs• Code sweeps • #include < > • Upgrading middleware • Fix C++ initializer lists• Locate debug information• Precompiled header optimization• Debugging• Log file merging
  18. 18. Logging Systemeg. For mismatched reference counts.
  19. 19. Logging SystemFor each event:• Thread ID• Timestamp• Message• Callstack
  20. 20. Logging SystemVery big log files!• Log file is compressed using BZ2• Parsing step handled in C• Script just sees event objects
  21. 21. Logging SystemPost-mortem log analysis via Python scripting.
  22. 22. Thanks toAlex Camano Alonso Dave Bélanger Patrick Duquette Nicolas Fleury Richard Malo Pierre-Marc SimardQuestions?

×