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 
 

   
 
Download free seamless game textures or you can create your own seamless game textures. Use reference photos to add realism to the seamless texture you create. Textures let you create the style and mood for your computer game. Textures are a way to add detail and color to 3D graphics. Photo realistic textures add realism. Download free game models for your video game or create your own game models. Use the game models in First Person Shooter, role playing games, racing simulations and more. Download free textures to add detail to your game models. You can use the free game models you downloaded or model your own game models.