CE value of element also for "use graphic of"?

Got a cool idea that should be in R'n'D? Let's hear it!

Moderators: Flumminator, Zomis

Post Reply
Zomis
Posts: 1502
Joined: Mon Jun 21, 2004 1:27 pm
Location: Sweden
Contact:

CE value of element also for "use graphic of"?

Post 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.
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post 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? :)
HerzAusGold
Posts: 362
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Post by HerzAusGold »

Ah. What a crazy idea.
Do you think about something like "Galaga" ?
And the answer is ... 42 !
Zomis
Posts: 1502
Joined: Mon Jun 21, 2004 1:27 pm
Location: Sweden
Contact:

Post 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...
HerzAusGold
Posts: 362
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Post 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.
And the answer is ... 42 !
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post 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! :-)
Post Reply