New Version 3.2.0 questions

Stuck at a level? Need help with R'n'D or anything R'n'D related? Post here!

Moderators: Flumminator, Zomis

Post Reply
User avatar
Sascha
Posts: 348
Joined: Fri May 12, 2006 6:17 pm
Location: Germany
Contact:

New Version 3.2.0 questions

Post by Sascha »

:(
Now I'm understandind nothing!
All those new CE actions!
My worst problem:
What means "CE Value"???
I will need lots of time to
understand all new options.
Image
Tomi
Posts: 339
Joined: Wed Aug 03, 2005 3:37 pm
Location: Slovakia

Post by Tomi »

Every CE in the playfield can now have a value. Example:

CE1
In "config 1": CE value = 10
Change page 1:
- when pressed by player
- change action: set CE value - 1
Change page 2:
- element changes to diamond when
- CE value gets 0

This element changes into diamond when player presses it 10 times. (First, CE value is 10. Each time the player presses it, it decreases by 1, and when it gets to 0, it changes.) You can even put more elements of this type into playfield and each of them will remember its own CE value.
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

Yup, good explanation and good example!

A little remark: Try the same with "CE score" instead of "CE value", and you will immediately see the difference: This counter is not used for each single CE, but for all CEs of the same type: After pressing the 10th time, all CEs will change, not only the one that was pressed.

Update: For the above to work, do not use "CE score gets 0", but instead use "CE score gets 0 of <CE1>". Logically it should work with the above settings (as it seems to be logically exactly the same), but I just discovered that it doesn't work that way. This is because change actions in the first setting only work on single CEs, while the second one can affect more than one CE at the same time (triggered by another action). This looks like something that should be fixed, but unfortunately I just discovered that it won't be easy to fix, so you would have to use the alternative, more clumsy solution, until I have found a solution to fix this... :-/
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

OK, just found a workaround. In 3.2.1 it will work the obvious way (by just replacing "CE value" with "CE score" in Tomi's scenario).
User avatar
Sascha
Posts: 348
Joined: Fri May 12, 2006 6:17 pm
Location: Germany
Contact:

Post by Sascha »

Tomi wrote:This element changes into diamond when player presses it 10 times.
No, it didn't work.
The CE disappears after pressing one times.
But, I still don't understand it:
What are the CE change actions?
What are the numers and the other things
meaning? What about the +, -, /, ...?
short:
How does all that work?
I mean:
When I make a :
-changes to when player passes element
I know: I have to pass the red door to get a diamond.
But I don't know what happens, when I make:
-change action: set keys -6
or so...
Maybe it's because I can't speak English very well... :oops:
But I understand enough to know, what the basic options
mean.
but more...
*sry*


Image
Tomi
Posts: 339
Joined: Wed Aug 03, 2005 3:37 pm
Location: Slovakia

Post by Tomi »

It didn't work? Make sure you didn't make any mistake. I tested it in 3.2.0-8 and it worked for me.
Oh, maybe I know why pressing it once was enough. "Pressed by player" is a very tricky condition, because it lasts while you press the key, and the computer is so fast that even if you were holding the key very shortly, it will think you pressed it more times. Try using "switched" condition instead.
However, I don't know why it disappeared.

Change actions are things that happen when a changepage "activates". For example:
CE1
- [disabled checkbox] element changes to [leave this empty] when
- pressed by player
- change action: Show envelope 1
This means that when player presses the CE, envelope 1 appears (but if you didn't put any text in it on its own config page, it will be empty). The element doesn't actually change into anything else, so the checkbox next to "element changes to" should be disabled.
There are many various change actions and I think the best way to understand what they do is to try them :-)
but I'll answer your question: "set keys" modifies which keys does the player have. Key 1 is red key, key 2 is yellow key and so on. Here, + means "add key" and - means "remove key", so, for example, "set keys + 4" does the same thing as if the player collected normal blue key.
Another example: "set gems * 2" doubles the number of gems the player needs to collect in order to win the level.
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

> > No, it didn't work.
> It didn't work? Make sure you didn't make any mistake.

I can acknowledge that it works just fine! :-)
User avatar
Sascha
Posts: 348
Joined: Fri May 12, 2006 6:17 pm
Location: Germany
Contact:

Post by Sascha »

I understand it!!

but it worked so:

-CE value: 10
-change page 1:
-changes to
-when value gets 0
-change page 2:
-[disabled checkbox!!!]changes to
-when pressed by player
-CE action: set CE value -1

I pressed it 10 times and it disappeared.

(Maybe myPC is too fast, so I pressed
it ca. 5-6 times only. but with rocks, or other falling
elements it should work fine! :D :D







Image
User avatar
Alan
Posts: 661
Joined: Fri Jun 18, 2004 7:48 pm

Post by Alan »

I pressed it 10 times
Pressing is too fast for your example, try using "switching" instead.
User avatar
Sascha
Posts: 348
Joined: Fri May 12, 2006 6:17 pm
Location: Germany
Contact:

Post by Sascha »

What means "change when creation of element [...]" ?
Image
User avatar
Alan
Posts: 661
Joined: Fri Jun 18, 2004 7:48 pm

Post by Alan »

You're welcome :-)
Post Reply