Playing Movies -- Blender 3D Game Engine













Quick Instructions

1.  Add the object to be used as the movie screen
Add a plane:
Spacebar >> Add >> Mesh >> Plane
Give it a unique name
N key
Transform Properties OB:  MovieScreen
 
2.  Add a material to the Screen.  Give it a unique name.  Set to shadeless
Add a material
Buttons Window menu >> Shading (F5) >> Material buttons
Links and Pipeline tab
Link to Object
Add New
Give it a unique name
Links and Pipeline tab
Link to Object
MA:  Screen
Set to Shadeless
Material tab
Shadeless button
 
3.  Add a texture to the material
Buttons Window menu >> Shading (F5) >> Texture buttons (F6)
Texture Tab
Add New
Texture Type:  Image
Give it a unique name
Unique name
Image tab
Load
 
4.  Add a UV Texture to the material
Buttons Window menu >> Editing (F9)
Mesh tab
UV Texture: New
Give it a unique name
 
5.  UV Unwrap the UV texture
UV Unwrap
U key
or
3D View menu >> Mesh >> UV Unwrap
Select UV Calculation method
 
6.  UV map UV Texture to image
UV/Image editor >> Image box
Select  image
Map to image
 
7.  Map Input:  UV
Buttons Window menu >> Shading (F5) >> Material buttons
Map Input tab
UV button
UV name
 
8.  Add Movie.py to the Text Editor
Text Editor menu >> Text >> Open
Rename Movie.txt to Movie.py 
 
9.  Add an Always Sensor to the Movie screen
Buttons Window menu >> Logic (F4)
Sensors
Add
Always
Activate TRUE level triggering (pulse mode)
 
10.  Add a Python Controller:  Use Movie.py
Buttons Window menu >> Logic (F4)
Controllers
Add
Python
Script:  Movie.py
 
11.  Add a string Property named material to the Movie screen
Add Property named material to the Movie screen
Buttons Window menu >> Logic (F4)
Add Property button
Type:  String
Name:  material
     Enter unique name you gave material
 
12.  Add a string Property named movie to the Movie screen
Add Property named material to the Movie screen
Buttons Window menu >> Logic (F4)
Add Property button
Type:  String
Name:  movie
     Enter movie name
 
13.  Optional:  Add a Bool Property named loop to the Movie screen
Note:
loop = True
play movie over and over and over
loop = False
play movie once
 
14.  Optional:  Make Movie screen (semi) transparent
Buttons Window menu >> Shading (F4) >> Materials buttons
Links and Pipeline tab
ZTransp button
Material tab
A slider
 
15.  Connect the Always Sensor to the Python Controller 
Buttons Window menu >> Logic (F4)
Pull wire from brass bump to brass dimple
 
16.  Start Game Engine
P key
or
User Preference menu >> Game >> Start Game 
 

   
 
Game developers can use the game engine to create casual video games, first and third person shooters, role playing games, racing simulations and more. The game engine can be used to make both 2D games and 3D games.  Beginning game developers will only need basic knowledge of game design and programming to create rich and complex game models with photo realistic textures to add detail to the graphics of the video game.  Today's games need more than good looking low polygon game models.  Use normal maps and photo realistic textures to create high quality game models.