Game Development Community

Play a movie in the original scale?

by qiansheng · in Torque 3D Professional · 02/06/2013 (1:51 am) · 1 replies

I played a movie with the GuiTheoraCtrl. It worked good. But when I changed the resolution ratio of the game window, the movie also changed, so that the movie became deformed.

How can I keep the scale of the movie?

#1
02/06/2013 (7:47 am)
Change your sizing;
horizSizing = "right";
      vertSizing = "bottom";
should instead be
horizSizing = "left";
      vertSizing = "top";
This will maintain its current position without scaling it. Then you can place your movie player in another control and set that control's sizing fields both to "center" to keep the movie centered in the window.