|
From: | Ronald Lamprecht |
Subject: | Re: [Enigma-devel] New level Oxyd #41 and question about st-disco |
Date: | Wed, 09 Jan 2008 21:01:16 +0100 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
Hi, Ulf Stegemann schrieb:
Andreas Lochmann <address@hidden> wrote:I'm not sure why your first approach didn't work, perhaps using the same name for multiple objects (doesn't work in old api)?
Your first approach should work, but ... well we have some problems with objects losing their identity. It is well known (at least to me) and discussed in my postings about old and new API. It is quite common that objects get replaced. But their attributes will not be copied. Just the name will be transfered. In case of the rarely used disco even the transfer of the name is missing ... I will fix it for the new API.
However, we plan to replace st-disco by some more convenient method of lighting and darkening, which e.g. allows the use of stones (you can't push st-wood through st-disco!). There's no priority to this, so it won't get into 1.1, but the plans are there. Hence, st-disco becomes deprecated ... getting rid of st-disco is particularly easy as long as no Enigma level uses it.okay Andreas, thank you for the clarification. As st-disco becomes deprecated, I've attached another version of Oxyd #41 (This one is rather quick and dirty and surely not as elegant as the st-disco variant; nevertheless, it works.). The new version uses st-chameleon and fl-abyss_fake to cover the marble in darkness and if you plan to include it in a forthcoming release it shouldn't pose any problems. I've also replaced fl-gray since the new approach needs a floor that does not change when re-drawn.
Thanks - as soon as we finished the disco for the new API we will decide which version we will take.
BTW Levelauthors willing to test the new API and check the compatibility of the old one will be very welcome in the upcoming weeks!
Greets, Ronald
[Prev in Thread] | Current Thread | [Next in Thread] |