Wintermute Engine Forum
Wintermute Engine => Bug reports => Not a bug => Topic started by: Prote1n on March 09, 2010, 04:08:01 PM
-
I 've created a Region entity ans use region.PlayTheora() function
The video is playing well but is shifted 100 pixel on the right and down from the original position of my entity ... what's wrong ?
-
Fixed.
If you use a "region entity", the video will be played in the left right corner of the entity. Using a "sprite entity" allows to unable the scalable parameter. The video is now playing at the right position
By the way, using a entity.PlayTheora instead of a Game.PlayTheora allows me to avoid the video skip with LeftClik
-
Well region entities don't really have a position. Only some approximation based on the bounding rectangle around the region points. Sprite entity is indeed a safer bet here.