On Sun, 25 Nov 2007 09:50:53 -0800
"G33K" <[EMAIL PROTECTED]> wrote:

> Hi, I've checked in OpenQuest. Hope it works.

It's working nicely here.

> I'm now trying to implement Carol the cleaner, but I can't figure out
> how to invoke custom animations on actors. I can define custom
> animations in the .scost, but the .scc compiler doesn't accept their
> names as known resources. I tried to force the address with @ and pass
> that number to animateActor(), but to no avail. Has anyone ever used
> this function before?

Names can't be used currently, so atm using addresses is the only way.
I don't think anyone really tried that up to now. I don't remeber
off-hand what animateActor() exactly expect, but if just giving the
address doesn't work try to divide it by 4.

> I also found that object x and y values have to be multiples of 8,
> otherwise they're automatically rounded. The cabinet drawer was off a
> few pixels all the time, I just didn't notice. So, objects are really
> some sort of tiles, being fixed size, position, and integrated into
> the background.

Yep, objects must be aligned. It might be possible to extand the
compiler to automaticaly pad the object images using the room image.
On the other hand doing this would lead to objects having a different
size/position in game and in the source. That would probably be even
more confusing in the end.

But this give me an idea which is probably much more useful: allow the
object image to have transparent pixel and automaticaly blend them with
the room image during compilation. That would probably spare quiet some
grunt work when doing the artwork and make things more flexible.

> If you agree to this rule, I'll maybe add it to the Wiki, together
> with the angles rule for setActorDirection().

Doc updates are always welcome :)

> About Scumm v7: good job, we're on the right track. I'm longing for
> the day we finally get to v8 and the incredibly high graphics
> resolution of 640x400. DON'T get started on v5 and climb the ladder
> all the way down! Puh-leeze!

v8 would be great, but that's going to be a loooot of work, and v7 is
still far from finished. Now regarding v5 I don't have much interest, so
I probably won't do it myself. But I won't stop anyone willing to do it,
and I'll definitly accept such patch if done correctly.

        Albeu


_______________________________________________
ScummC-general mailing list
[email protected]
https://mail.gna.org/listinfo/scummc-general

Reply via email to