Page 1 of 2

Posted: Fri Aug 12, 2005 10:34 am
by Tomi
Another idea: add CE change conditions "when player tries to snap me" and "when player tries to drop something on me" (used only on elements that are walkable over/under/inside). That would allow "controlling elements", for example, in Zomis' minesweeper, when you try to snap a mine, it marks (instead of pressing snap key and then drop key as it is now).

Posted: Fri Aug 12, 2005 4:21 pm
by Alan
Another idea: add CE change conditions "when player tries to snap me" and "when player tries to drop something on me" (used only on elements that are walkable over/under/inside). That would allow "controlling elements", for example, in Zomis' minesweeper, when you try to snap a mine, it marks (instead of pressing snap key and then drop key as it is now).
Pretty good idea! Could be used in lots of other ways to.

Posted: Fri Aug 12, 2005 9:52 pm
by Darkon
Hm, any reason snapping would only be used for objects that are passable? I can imagine it would have uses for other objects too, like sand or some form of solid object that cannot be dug but can snapped or the ability to "snap push" objects.

Posted: Fri Aug 12, 2005 10:09 pm
by Alan
I think Tomi ment to say these where for two different things,
snapping any element and dropping an item onto a walkable element.

The snapping idea is pretty good though.....say you had a custom boulder that you normally push by pressing it...but if you snap it, it makes it roll across the screen instead...sort of a duel action command (kicking the boulder?).

You could also make switches that you could press or snap for different effects......and a million other things. ;-)

Posted: Tue Jan 03, 2006 2:47 pm
by Tomi
I've just noticed that the snapping idea has been implemented in 3.2.0-5 (or sooner?): "snapped by player" works even if the element isn't really snapped. (= isn't diggable/collectible) I tested it and created a level with a kickable boulder and it works just fine. (I'd post it but RNDFA is down.) So well done Holger!
I can't find any dropping condition though. Is it forgotten, impossible or what?

Posted: Tue Jan 03, 2006 3:01 pm
by Zomis
Tomi wrote:I can't find any dropping condition though. Is it forgotten, impossible or what?
Well... the only dropping condition that exists has existed for a while, and that's "dropped/thrown by player" and "player drops/throws". There's still no custom keys or inventory stuff though...

Posted: Sat Jan 07, 2006 1:36 am
by Holger
BTW: I totally forgot that this "change when snapped" was in fact your idea!

Hope you like it as it works now! :-)

> I can't find any dropping condition though. Is it forgotten, impossible or
> what?

Well, not really forgotten, but a bit more unusual than snapping unsnappable things, I think. :-)

I mean, dropping/throwing elements (really "towards elements") when you have nothing to drop/throw seems to be too unintuitive to me, so I skipped this for now.

If there are really good ideas for using this (which cannot be done with the new "when snapped" thing), I will happily re-evaluate it!

Posted: Mon Jul 17, 2006 9:58 am
by Tomi
Few examples of use of a condition I suggested:

Often there are walkable CEs in the level, but when the player presses drop key on them, nothing happens (there can't be more CEs on one field). When having this condition, the CE could somehow inform the player to try on other field (e.g. by playing a sound or displaying an envelope).

A better example could be:

Imagine a level with an "underwater" puzzle. You'd have to collect a special waterproof dynamite, then dive and blast some wall in order to enter the exit. It would work like this: when you get the dynamite, all "water" elements change to 'water (dynamite collected)' elements, which have a change page "change to 'water + exploding dynamite' when player presses drop key on me". The 'water + exploding dynamite' would change to 3x3 area of "water + explosion" (replace when destructible) after some delay.

I think it could be useful, couldn't it?

Posted: Mon Jul 17, 2006 8:36 pm
by Daniel H.
I can see where that could be VERY useful. :) (especially if there were more CEs)

Posted: Mon Jul 17, 2006 9:46 pm
by Zomis
Tomi wrote:"change to 'water + exploding dynamite' when player presses drop key on me
Nice idea, but using "when player presses drop key on me" doesn't tell the CE which element is being dropped, so why not use "when player drops <element> on me"?
And speaking of that... maybe then there could also exist a new pseudo-element named "dropped element" (but when using the "when player drops <element> change", I guess it isn't needed...)

Posted: Tue Jul 18, 2006 10:53 am
by Tomi
That could be possible, but the level author could also program it with CEs, making it more customizable: for example, when player tries to drop something on water, it should be removed from his list of things he's carrying (aka inventory), but when he tries to drop something in first example, it shouldn't. An option would be needed. (Or a CE action "remove X objects from player Y's inventory") Making this "dropping system" or "simulated inventory" with CEs also adds various other possibilities, e.g. some sort "smart inventory" which always drops the most useful thing in the square.

Posted: Tue Jul 18, 2006 7:56 pm
by HerzAusGold
Tomi seems to be a "Lemmings" fan.
I too..

Posted: Wed Jul 19, 2006 9:08 am
by Tomi
Lemmings are nice, but I can't see any connection with this. :?

Posted: Wed Jul 19, 2006 10:36 am
by HerzAusGold
Imagine a level with an "underwater" puzzle. You'd have to collect a special waterproof dynamite, then dive and blast some wall in order to enter the exit.
In Lemmings The Tribes ( Amiga / PC? ) you have all (kind of) to do this.