-
Waldläufer
Ich habe mir natürlich auch dein Beispielprojekt angeschaut.
Jedoch kann ich mich dann wie gesagt nicht forbewegen.
Ich habe den Code in meinem Projekt dem deinen sehr ähnlich geregelt, aber es funktioniert damit jedenfalls bei mir nicht.
Falls das helfen sollte, schreibe ich den Code hier rein (ich bezweile allerdings, dass damit etwas komplett falsch ist, das den Password-Befehl ignorieren lässt:
--- EVENT ---
Type: Map event
Name: DiagonaleTreppen
Coordinates: (10, 1)
Number of Pages: 1
-- PAGE 1 --
Start conditions:
Switch [97] == ON
Variable [205] >= 1
Sprite: <Tileset> #0
Facing direction: Down
Animation frame: Center
Transparent: No
Trigger condition: Auto start
Event level: Below hero
Forbid event overlap: No
Animation type: Non-continuous
Movement type: Stationary
Movement frequency: 3
Movement speed: 3
- SCRIPT -
<> Fork Condition: If Variable [205] == 1 then ...
<> Fork Condition: If Hero is facing left then ...
<> Change Variable: [205] = 2
<>
: End of fork
<> Fork Condition: If Hero is facing right then ...
<> Change Variable: [205] = 3
<>
: End of fork
<>
: End of fork
<> Key Input Processing: Var. [186], Keys: Shift, Calc. keys
<> Wait: 0,0 sec.
<> Comment: ---------Treppe_nach_links_oben------
: -------------------------------------
<> Fork Condition: If Variable [205] == 2 then ...
<> Fork Condition: If Variable [186] == 2 then ...
<> Move Event: Hero, Frq 8, Pattern: Mv u/l
<>
: End of fork
<> Fork Condition: If Variable [186] == 3 then ...
<> Move Event: Hero, Frq 8, Pattern: Mv d/r
<>
: End of fork
<>
: End of fork
<> Comment: ---------Treppe_nach_rechts_oben------
: --------------------------------------
<> Fork Condition: If Variable [205] == 3 then ...
<> Fork Condition: If Variable [186] == 2 then ...
<> Move Event: Hero, Frq 8, Pattern: Mv d/l
<>
: End of fork
<> Fork Condition: If Variable [186] == 3 then ...
<> Move Event: Hero, Frq 8, Pattern: Mv u/r
<>
: End of fork
<>
: End of fork
<> Wait: 0,1 sec.
<>
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
-
Foren-Regeln