Page 1 of 1
CE value of element also for "use graphic of"?
Posted: Sun Jun 04, 2006 9:11 pm
by Zomis
I was just thinking... it would be cool, but my guess is that it isn't the easiest to implement.
But let's say CE1 is set to use graphic of the "CE value of current element"-element. And we set the value for CE1 to 4, then wouldn't it be nice if the CE showed the graphic of a rock? And of course, when changing the value then the CE should change the graphic into the corresponding element.
When thinking about it... this also could be seen as a bug, considering the current looks of a CE using graphic of a "CE-value"-element.
Posted: Sun Jun 04, 2006 10:10 pm
by Holger
Very interesting idea! This would probably be quite easy to add...
Any good idea or practical example what to do with such a functionality? :)
Posted: Sun Jun 04, 2006 10:27 pm
by HerzAusGold
Ah. What a crazy idea.
Do you think about something like "Galaga" ?
Posted: Mon Jun 05, 2006 9:08 am
by Zomis
Holger wrote:Very interesting idea! This would probably be quite easy to add...
Any good idea or practical example what to do with such a functionality?

Of course I have, I waited for that question...

Let's say we want to build a slot machine. Each slot has 4 possible results: Emerald, diamond, crystal, empty space. Now, while generating a result then the slot machine spins all possible values. So instead of having 4 different CEs for simply
displaying the graphic of the possible results, we have one CE which changes it's CE value every few frames.
Was that a good example?
HerzAusGold wrote:Ah. What a crazy idea.
Do you think about something like "Galaga" ?
"crazy"? Is that good or bad in this case?

Galaga? Never heard of it...
Posted: Mon Jun 05, 2006 10:00 am
by HerzAusGold
crazy"? Is that good or bad in this case?
Galaga? Never heard of it...
Hm, Than I have it understand in the wrong way. Sorry.
I think that you want make changing monsters or so...
Like in Deluxe Galaga (a shoot'n'up) for the amiga.
Nevertheless it's a good idea.
Posted: Mon Jun 05, 2006 1:14 pm
by Holger
> So instead of having 4 different CEs for simply displaying the graphic of
> the possible results, we have one CE which changes it's CE value every
> few frames.
Very good example -- now I understand your idea! :-)
Your solution would be nice because you won't have to edit any config file for this!
Besides that, simply use the "<element>.anim_mode: ce_value" config file option for a similar effect -- it then uses the current CE value as the number of the frame to display from the configured CE animation! :-)