[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] does _height work??
From: |
strk |
Subject: |
Re: [Gnash-dev] does _height work?? |
Date: |
Wed, 11 Oct 2006 17:41:43 +0200 |
On Wed, Oct 11, 2006 at 05:30:28PM +0200, Udo Giacomozzi wrote:
> Hello strk,
>
> Wednesday, October 11, 2006, 5:12:59 PM, you wrote:
> s> So the version in generic_character.h is wrong ?
> s> (check the get_world_matrix call)
>
> Yep.
> Attached a test movie.
>
> Flash output:
> _level0.instance1.subsub height = 116
> _level0.instance2.subsub height = 116
>
> Gnash output:
> 17:27:16: <as_object 0x8059268> height = 116
> 17:27:16: <as_object 0x805b578> height = 17.235889434814
>
> instance1 and instance2 (rectangles) share the same character
> definition, but instance2 has been transformed to be smaller.
> "subsub" is the circle inside the rectangle.
Ok, good. Can you fix that and document the requirement
in server/character.h above the appropriate functions ?
About the comments I was referring to, it seems I was
wrong, the comments are in _xscale and _yscale fetch
in sprite_instance.cpp. The same of course applies there
(ie: should we return a "local" scale or a "global" scale?)
Also, it would be nice to have the code in the switch case
simply call a separate ::get_x_scale() and ::get_y_scale()
function instead (it's useful to have a separate function
for use by the new MovieTester class to inspect a playing movie
from outside).
--strk;
- Re: Re[5]: [Gnash-dev] does _height work??, (continued)
- Re: Re[5]: [Gnash-dev] does _height work??, Martin Guy, 2006/10/11
- Re[7]: [Gnash-dev] does _height work??, Udo Giacomozzi, 2006/10/11
- Re: [Gnash-dev] does _height work??, strk, 2006/10/11
- Re: [Gnash-dev] does _height work??, Martin Guy, 2006/10/11
- Re[2]: [Gnash-dev] does _height work??, Udo Giacomozzi, 2006/10/11
- Message not available
- Message not available
- Message not available
- Re[11]: [Gnash-dev] does _height work??, Udo Giacomozzi, 2006/10/11
- Re: [Gnash-dev] does _height work??, strk, 2006/10/11
- Re[2]: [Gnash-dev] does _height work??, Udo Giacomozzi, 2006/10/11
- Re: [Gnash-dev] does _height work??, strk, 2006/10/11
- Re[2]: [Gnash-dev] does _height work??, Udo Giacomozzi, 2006/10/11
- Re: [Gnash-dev] does _height work??,
strk <=
- Re[2]: [Gnash-dev] does _height work??, Udo Giacomozzi, 2006/10/11
- Re: [Gnash-dev] does _height work??, strk, 2006/10/11
- Re[2]: [Gnash-dev] does _height work??, Udo Giacomozzi, 2006/10/11
- Re: [Gnash-dev] does _height work??, strk, 2006/10/12
- Re[2]: [Gnash-dev] does _height work??, Udo Giacomozzi, 2006/10/12
- Re: Re[2]: [Gnash-dev] does _height work??, strk, 2006/10/11
- Re: Re[2]: [Gnash-dev] does _height work??, Martin Guy, 2006/10/11
- Re[4]: [Gnash-dev] does _height work??, Udo Giacomozzi, 2006/10/11
- Re: [Gnash-dev] does _height work??, strk, 2006/10/11
- Re: [Gnash-dev] does _height work??, strk, 2006/10/11