Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Blender Game Engine - two players - Tutorial

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
800 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 25, 2010

Nesse video mostro como criar duas cameras, uma para cada player.
Bem simples e facil de fazer, é bom para jogos de corrida.

In this video I show how to create two cameras, one for each player.
Very simple and easy to do, is good for racing games.

Camera Player1:

from Rasterizer import *

own = GameLogic.getCurrentController().getOwner()

own.enableViewport(1)
own.setViewport(0, 0, getWindowWidth(), getWindowHeight()/2)

Camera Player2:

from Rasterizer import *

own = GameLogic.getCurrentController().getOwner()

own.enableViewport(1)
own.setViewport(0, getWindowHeight()/2, getWindowWidth()/1, getWindowHeight())

Arquivo .blend: http://vpptuto.xp3.biz/

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • Great :) Lookin pretty cool :)

  • why did you make the music so fast?

  • Vitor se e pro mlk \o/

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more