Game Engines

Game Engines

Game Engines Martin Samuelčík VIS GRAVIS, s.r.o. [email protected] http://www.sccg.sk/~samuelcik Game Engine • Software framework (set of tools, API) • Creation of video games, interactive presentations, simulations, … (2D, 3D) • Combining assets (models, sprites, textures, sounds, …) and programs, scripts • Rapid-development tools (IDE, editors) vs coding everything • Deployment on many platforms – Win, Linux, Mac, Android, iOS, Web, Playstation, XBOX, … Game Engines 2 Martin Samuelčík Game Engine Assets Modeling, scripting, compiling Running compiled assets + scripts + engine Game Engines 3 Martin Samuelčík Game Engine • Rendering engine • Scripting engine • User input engine • Audio engine • Networking engine • AI engine • Scene engine Game Engines 4 Martin Samuelčík Rendering Engine • Creating final picture on screen • Many methods: rasterization, ray-tracing,.. • For interactive application, rendering of one picture < 33ms = 30 FPS • Usually based on low level APIs – GDI, SDL, OpenGL, DirectX, … • Accelerated using hardware • Graphics User Interface, HUD Game Engines 5 Martin Samuelčík Scripting Engine • Adding logic to objects in scene • Controlling animations, behaviors, artificial intelligence, state changes, graphics effects, GUI, audio execution, … • Languages: C, C++, C#, Java, JavaScript, Python, Lua, … • Central control of script executions – game consoles Game Engines 6 Martin Samuelčík User input Engine • Detecting input from devices • Detecting actions or gestures • Mouse, keyboard, multitouch display, gamepads, Kinect sensor, Wii controllers Game Engines 7 Martin Samuelčík Scene Engine • Representing 2D, 3D scene • Usually hierarchical structure, scene graph • Unified rep. of models, lights, cameras – game objects, entities, nodes, actors, … • Each entity has its own properties, components –Important comp: Transform –Scale, translation, rotation Game Engines 8 Martin Samuelčík Networking Engine • Downloading, uploading data on web • Communicating with other instances • Running as client or server • Peer-to-peer communication • Using protocols like UDP, TCP, HTTP Game Engines 9 Martin Samuelčík List of Engines • Proprietary, no source code, big suites of developer tools, many deployment targets • Unity (http://unity3d.com/) – Free for personal use • Unreal Engine (http://www.unrealengine.com/) – Free for personal use • Cry Engine (http://cryengine.com/) – Small monthly fee • Source 2 (https://developer.valvesoftware.com) – Coming in near feature Game Engines 10 Martin Samuelčík List of Engines • Open-source projects, usually without mature IDE, mainly graphics engines, less deployment • OGRE (http://www.ogre3d.org/) – Just graphics engine, many add-ons • Irrlicht (http://irrlicht.sourceforge.net/) – Easy to use engine with lots of features • OpenSceneGraph (www.openscenegraph.org) – 3D graphics toolkit & scene engine • Blender Game Engine (http://www.blender.org) – Component of modeling package Game Engines 11 Martin Samuelčík List of Engines • JavaScript engines using WebGL or HTML5, displaying scenes in web browsers • Three.js (http://threejs.org/) – Simple but usable graphics engine • BabylonJS (http://www.babylonjs.com/) – Full game engine • Turbulenz (http://biz.turbulenz.com/) – Another full game engine • Construct 2 (https://www.scirra.com/) – Mainly for 2D graphics Game Engines 12 Martin Samuelčík Resources • https://unity3d.com/learn/tutorials • https://wiki.unrealengine.com/Main_Page • https://docs.unrealengine.com/latest/INT/GettingStarted/FromUnity/ • https://en.wikipedia.org/wiki/List_of_game_engines • http://www.worldofleveldesign.com/categories/level_design_tutorials /recommended-game-engines.php • https://html5gameengine.com/ • http://www.html5gamedevs.com/ • http://opengameart.org/ • http://archive3d.net/ • http://www.cgtextures.com/ • http://www.freesound.org/ Game Engines 13 Martin Samuelčík Lectures • Simple introduction to one open source game (graphics) engine – OGRE • Introduction to one proprietary, full IDE game engine – Unity • Basics of window management, scene management, rendering, materials and shaders, GUI (HUD), scripting, user input, interaction, animations, network communication, physics, deployment Game Engines 14 Martin Samuelčík Lecture evaluation • Implementing 3D interactive presentation project in one game engine • Based on written specification • Unity, Unreal Engine, Ogre, Blender, BabylonJS, Turbulenz • For more info, see http:///www.sccg.sk/~samuelcik/gengines.html Game Engines 15 Martin Samuelčík Questions? Real-time Graphics 16 Martin Samuelčík .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    16 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us