Wintermute Engine Forum

Wintermute Engine => Bug reports => Not a bug => Topic started by: Prote1n on March 09, 2010, 04:08:01 PM

Title: Bug with PlayTheora and Entities
Post 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 ?
Title: Re: Bug with PlayTheora and Entities
Post by: Prote1n on March 18, 2010, 11:16:34 AM
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
Title: Re: Bug with PlayTheora and Entities
Post by: Mnemonic on March 18, 2010, 01:52:20 PM
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.