tjaschicksal
22.02.2012, 12:39
Hi,
mein Ringmenü lässt sich nicht schließen
wenn man 1 mal Esc drückt geht es weg, aber wenn man dann wieder eine richtungstaste drückt bewegen sich die bilder wieder
Nur nach dem 2. mal Esc drücken ist es ganz weg, lässt sich dann aber nicht mehr öffnen
Hier die ganzen Events (rm2k)
--- EVENT ---
Type: Common event
Name: menü rechnung
Number of Pages: 1
-- PAGE 1 --
Start conditions:
<None>
Trigger condition: Parallel process
- SCRIPT -
<> Allow/Forbid Save: Forbid
<> Allow/Forbid Main Menu: Forbid
<> Change Variable: [264] = 160
<> Change Variable: [265] = 80
<> Change Variable: [266] = 40
<> Change Variable: [267] = 12
<> Comment: ------------------------------------------------------------
<> Change Variable: [269] = V[264]
<> Change Variable: [269] -= V[266]
<> Comment:
<> Change Variable: [270] = V[265]
<> Change Variable: [270] += V[266]
<> Comment:
<> Change Variable: [271] += V[265]
<> Change Variable: [271] += V[266]
<> Change Variable: [271] += V[266]
<> Comment:
<> Change Variable: [272] = V[264]
<> Change Variable: [272] += V[266]
<> Comment: ------------------------------------------------------------
<> Change Variable: [274] = V[264]
<> Change Variable: [274] -= V[266]
<> Change Variable: [274] += V[267]
<> Comment:
<> Change Variable: [275] = V[265]
<> Change Variable: [275] += V[267]
<> Comment:
<> Change Variable: [276] = V[264]
<> Change Variable: [276] += V[266]
<> Change Variable: [276] -= V[267]
<> Comment:
<> Change Variable: [277] = V[271]
<> Change Variable: [277] -= V[267]
<> Comment: ------------------------------------------------------------
<> Change Switch: [21] = ON
<> Loop
. <>
: End of loop
<>
--- EVENT ---
Type: Common event
Name: Menu öffnen
Number of Pages: 1
-- PAGE 1 --
Start conditions:
Switch [21] == ONTrigger condition: Parallel process
- SCRIPT -
<> Key Input Processing: Var. [262], Wait until key pressed, Keys: Cancel
<> Fork Condition: If Variable [262] == 6 then ...
. <> Change Variable: [262] = 0
. <> Change Switch: [22] = ON
. <> Change Switch: [21] = OFF
. <> Play Sound Effect: cursor04, Volume 70%, Speed 80%, Pan Center
. <> Move Event: Hero, Frq 8, Repeat pattern, Pattern: Wait
. <> Call Event: Common Event #3
. <>
: End of fork
<>
--- EVENT ---
Type: Common event
Name: Menü
Number of Pages: 1
-- PAGE 1 --
Start conditions:
Switch [22] == ONTrigger condition: Parallel process
- SCRIPT -
<> Show Picture: #1, Optionen, (V[264], V[265]), Mgn 60%, Tsp 100%
<> Show Picture: #2, Speichern, (V[269], V[270]), Mgn 60%, Tsp 100%
<> Show Picture: #3, faehigkeit, (V[264], V[271]), Mgn 60%, Tsp 100%
<> Show Picture: #4, Ausruestung, (V[272], V[270]), Mgn 60%, Tsp 100%
<> Comment:
<> Set Screen Tone: (R50, B50, G50, C20), 0,2 sec.
<> Move Picture: #1, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,2 sec.
<> Move Picture: #2, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,2 sec.
<> Move Picture: #3, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,2 sec.
<> Move Picture: #4, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,2 sec., Wait
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ^1 = Option <2 = Speichern V3 = Fähigkeit >4 = Ausrüstung
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Change Variable: [279] = 1
<> Label: 1
<> Key Input Processing: Var. [280], Wait until key pressed, Keys: Left, Right, Decision, Cancel
<> Play Sound Effect: cursor1, Volume 100%, Speed 50%, Pan Center
<> Fork Condition: If Variable [280] == 3 then ...
. <> Move Picture: #1, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Comment:
. <> Move Picture: #2, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Change Variable: [279] = 2
. <>
: Else ...
. <> Fork Condition: If Variable [280] == 2 then ...
. . <> Move Picture: #4, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Comment:
. . <> Move Picture: #4, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Change Variable: [279] = 4
. . <> Jump To Label: 4
. . <>
. : Else ...
. . <> Jump To Label: 5
. . <>
. : End of fork
. <>
: End of fork
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Label: 2
<> Key Input Processing: Var. [280], Wait until key pressed, Keys: Left, Right, Decision, Cancel
<> Play Sound Effect: cursor1, Volume 100%, Speed 50%, Pan Center
<> Fork Condition: If Variable [280] == 3 then ...
. <> Move Picture: #2, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Comment:
. <> Move Picture: #3, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Change Variable: [279] = 3
. <>
: Else ...
. <> Fork Condition: If Variable [280] == 2 then ...
. . <> Move Picture: #1, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Comment:
. . <> Move Picture: #1, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Change Variable: [279] = 1
. . <> Jump To Label: 1
. . <>
. : Else ...
. . <> Jump To Label: 5
. . <>
. : End of fork
. <>
: End of fork
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Label: 3
<> Key Input Processing: Var. [280], Wait until key pressed, Keys: Left, Right, Decision, Cancel
<> Play Sound Effect: cursor1, Volume 100%, Speed 50%, Pan Center
<> Fork Condition: If Variable [280] == 3 then ...
. <> Move Picture: #3, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Comment:
. <> Move Picture: #4, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Change Variable: [279] = 4
. <>
: Else ...
. <> Fork Condition: If Variable [280] == 2 then ...
. . <> Move Picture: #2, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Comment:
. . <> Move Picture: #2, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Change Variable: [279] = 2
. . <> Jump To Label: 2
. . <>
. : Else ...
. . <> Jump To Label: 5
. . <>
. : End of fork
. <>
: End of fork
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Label: 4
<> Key Input Processing: Var. [280], Wait until key pressed, Keys: Left, Right, Decision, Cancel
<> Play Sound Effect: cursor1, Volume 100%, Speed 50%, Pan Center
<> Fork Condition: If Variable [280] == 3 then ...
. <> Move Picture: #4, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Comment:
. <> Move Picture: #1, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Change Variable: [279] = 1
. <> Jump To Label: 1
. <>
: Else ...
. <> Fork Condition: If Variable [280] == 2 then ...
. . <> Move Picture: #3, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Comment:
. . <> Move Picture: #3, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Change Variable: [279] = 3
. . <> Jump To Label: 3
. . <>
. : Else ...
. . <> Jump To Label: 5
. . <>
. : End of fork
. <>
: End of fork
<> Label: 5
<> Fork Condition: If Variable [280] == 5 then ...
. <> Call Event: Common Event #5
. <>
: Else ...
. <> Call Event: Common Event #6
. <>
: End of fork
<> Wait: 100,0 sec.
<>
--- EVENT ---
Type: Common event
Name: Menü schliesssen
Number of Pages: 1
-- PAGE 1 --
Start conditions:
<None>
Trigger condition: Call
- SCRIPT -
<> Change Switch: [22] = OFF
<> Change Switch: [21] = ON
<> Set Screen Tone: (R100, B100, G100, C100), 0,2 sec.
<> Move Picture: #5, (160, 80), Mgn 60%, Tsp 100%, 0,2 sec.
<> Fork Condition: If Variable [279] == 1 then ...
. <> Move Picture: #1, (V[264], V[265]), Mgn 60%, Tsp 100%, 0,2 sec.
. <> Move Picture: #2, (V[269], V[270]), Mgn 60%, Tsp 100%, 0,2 sec.
. <> Move Picture: #3, (V[264], V[271]), Mgn 60%, Tsp 100%, 0,2 sec.
. <> Move Picture: #4, (V[272], V[270]), Mgn 60%, Tsp 100%, 0,2 sec., Wait
. <>
: Else ...
. <> Fork Condition: If Variable [279] == 2 then ...
. . <> Move Picture: #2, (V[264], V[265]), Mgn 60%, Tsp 100%, 0,2 sec.
. . <> Move Picture: #3, (V[269], V[270]), Mgn 60%, Tsp 100%, 0,2 sec.
. . <> Move Picture: #4, (V[264], V[271]), Mgn 60%, Tsp 100%, 0,2 sec.
. . <> Move Picture: #1, (V[272], V[270]), Mgn 60%, Tsp 100%, 0,2 sec., Wait
. . <>
. : Else ...
. . <> Fork Condition: If Variable [279] == 3 then ...
. . . <> Move Picture: #3, (V[264], V[265]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #4, (V[269], V[270]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #1, (V[264], V[271]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #2, (V[272], V[270]), Mgn 60%, Tsp 100%, 0,2 sec., Wait
. . . <>
. . : Else ...
. . . <> Move Picture: #4, (V[264], V[265]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #1, (V[269], V[270]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #2, (V[264], V[271]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #3, (V[272], V[270]), Mgn 60%, Tsp 100%, 0,2 sec., Wait
. . . <>
. . : End of fork
. . <>
. : End of fork
. <>
: End of fork
<> Erase Picture: #1
<> Erase Picture: #2
<> Erase Picture: #3
<> Erase Picture: #4
<> Erase Picture: #5
<> Move Event: Hero, Frq 8, Pattern: <none>
<>
und im Anhang ist das Projekt mit dem Menü
mein Ringmenü lässt sich nicht schließen
wenn man 1 mal Esc drückt geht es weg, aber wenn man dann wieder eine richtungstaste drückt bewegen sich die bilder wieder
Nur nach dem 2. mal Esc drücken ist es ganz weg, lässt sich dann aber nicht mehr öffnen
Hier die ganzen Events (rm2k)
--- EVENT ---
Type: Common event
Name: menü rechnung
Number of Pages: 1
-- PAGE 1 --
Start conditions:
<None>
Trigger condition: Parallel process
- SCRIPT -
<> Allow/Forbid Save: Forbid
<> Allow/Forbid Main Menu: Forbid
<> Change Variable: [264] = 160
<> Change Variable: [265] = 80
<> Change Variable: [266] = 40
<> Change Variable: [267] = 12
<> Comment: ------------------------------------------------------------
<> Change Variable: [269] = V[264]
<> Change Variable: [269] -= V[266]
<> Comment:
<> Change Variable: [270] = V[265]
<> Change Variable: [270] += V[266]
<> Comment:
<> Change Variable: [271] += V[265]
<> Change Variable: [271] += V[266]
<> Change Variable: [271] += V[266]
<> Comment:
<> Change Variable: [272] = V[264]
<> Change Variable: [272] += V[266]
<> Comment: ------------------------------------------------------------
<> Change Variable: [274] = V[264]
<> Change Variable: [274] -= V[266]
<> Change Variable: [274] += V[267]
<> Comment:
<> Change Variable: [275] = V[265]
<> Change Variable: [275] += V[267]
<> Comment:
<> Change Variable: [276] = V[264]
<> Change Variable: [276] += V[266]
<> Change Variable: [276] -= V[267]
<> Comment:
<> Change Variable: [277] = V[271]
<> Change Variable: [277] -= V[267]
<> Comment: ------------------------------------------------------------
<> Change Switch: [21] = ON
<> Loop
. <>
: End of loop
<>
--- EVENT ---
Type: Common event
Name: Menu öffnen
Number of Pages: 1
-- PAGE 1 --
Start conditions:
Switch [21] == ONTrigger condition: Parallel process
- SCRIPT -
<> Key Input Processing: Var. [262], Wait until key pressed, Keys: Cancel
<> Fork Condition: If Variable [262] == 6 then ...
. <> Change Variable: [262] = 0
. <> Change Switch: [22] = ON
. <> Change Switch: [21] = OFF
. <> Play Sound Effect: cursor04, Volume 70%, Speed 80%, Pan Center
. <> Move Event: Hero, Frq 8, Repeat pattern, Pattern: Wait
. <> Call Event: Common Event #3
. <>
: End of fork
<>
--- EVENT ---
Type: Common event
Name: Menü
Number of Pages: 1
-- PAGE 1 --
Start conditions:
Switch [22] == ONTrigger condition: Parallel process
- SCRIPT -
<> Show Picture: #1, Optionen, (V[264], V[265]), Mgn 60%, Tsp 100%
<> Show Picture: #2, Speichern, (V[269], V[270]), Mgn 60%, Tsp 100%
<> Show Picture: #3, faehigkeit, (V[264], V[271]), Mgn 60%, Tsp 100%
<> Show Picture: #4, Ausruestung, (V[272], V[270]), Mgn 60%, Tsp 100%
<> Comment:
<> Set Screen Tone: (R50, B50, G50, C20), 0,2 sec.
<> Move Picture: #1, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,2 sec.
<> Move Picture: #2, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,2 sec.
<> Move Picture: #3, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,2 sec.
<> Move Picture: #4, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,2 sec., Wait
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ^1 = Option <2 = Speichern V3 = Fähigkeit >4 = Ausrüstung
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Change Variable: [279] = 1
<> Label: 1
<> Key Input Processing: Var. [280], Wait until key pressed, Keys: Left, Right, Decision, Cancel
<> Play Sound Effect: cursor1, Volume 100%, Speed 50%, Pan Center
<> Fork Condition: If Variable [280] == 3 then ...
. <> Move Picture: #1, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Comment:
. <> Move Picture: #2, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Change Variable: [279] = 2
. <>
: Else ...
. <> Fork Condition: If Variable [280] == 2 then ...
. . <> Move Picture: #4, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Comment:
. . <> Move Picture: #4, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Change Variable: [279] = 4
. . <> Jump To Label: 4
. . <>
. : Else ...
. . <> Jump To Label: 5
. . <>
. : End of fork
. <>
: End of fork
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Label: 2
<> Key Input Processing: Var. [280], Wait until key pressed, Keys: Left, Right, Decision, Cancel
<> Play Sound Effect: cursor1, Volume 100%, Speed 50%, Pan Center
<> Fork Condition: If Variable [280] == 3 then ...
. <> Move Picture: #2, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Comment:
. <> Move Picture: #3, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Change Variable: [279] = 3
. <>
: Else ...
. <> Fork Condition: If Variable [280] == 2 then ...
. . <> Move Picture: #1, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Comment:
. . <> Move Picture: #1, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Change Variable: [279] = 1
. . <> Jump To Label: 1
. . <>
. : Else ...
. . <> Jump To Label: 5
. . <>
. : End of fork
. <>
: End of fork
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Label: 3
<> Key Input Processing: Var. [280], Wait until key pressed, Keys: Left, Right, Decision, Cancel
<> Play Sound Effect: cursor1, Volume 100%, Speed 50%, Pan Center
<> Fork Condition: If Variable [280] == 3 then ...
. <> Move Picture: #3, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Comment:
. <> Move Picture: #4, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Change Variable: [279] = 4
. <>
: Else ...
. <> Fork Condition: If Variable [280] == 2 then ...
. . <> Move Picture: #2, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Comment:
. . <> Move Picture: #2, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #3, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Change Variable: [279] = 2
. . <> Jump To Label: 2
. . <>
. : Else ...
. . <> Jump To Label: 5
. . <>
. : End of fork
. <>
: End of fork
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Comment: ------------------------------------------------------------------------------------------------------------------------
<> Label: 4
<> Key Input Processing: Var. [280], Wait until key pressed, Keys: Left, Right, Decision, Cancel
<> Play Sound Effect: cursor1, Volume 100%, Speed 50%, Pan Center
<> Fork Condition: If Variable [280] == 3 then ...
. <> Move Picture: #4, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #1, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Comment:
. <> Move Picture: #1, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #2, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #3, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. <> Move Picture: #4, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. <> Change Variable: [279] = 1
. <> Jump To Label: 1
. <>
: Else ...
. <> Fork Condition: If Variable [280] == 2 then ...
. . <> Move Picture: #3, (V[276], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[274], V[275]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[274], V[277]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[276], V[277]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Comment:
. . <> Move Picture: #3, (V[264], V[265]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #4, (V[269], V[270]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #1, (V[264], V[271]), Mgn 100%, Tsp 0%, 0,1 sec.
. . <> Move Picture: #2, (V[272], V[270]), Mgn 100%, Tsp 0%, 0,1 sec., Wait
. . <> Change Variable: [279] = 3
. . <> Jump To Label: 3
. . <>
. : Else ...
. . <> Jump To Label: 5
. . <>
. : End of fork
. <>
: End of fork
<> Label: 5
<> Fork Condition: If Variable [280] == 5 then ...
. <> Call Event: Common Event #5
. <>
: Else ...
. <> Call Event: Common Event #6
. <>
: End of fork
<> Wait: 100,0 sec.
<>
--- EVENT ---
Type: Common event
Name: Menü schliesssen
Number of Pages: 1
-- PAGE 1 --
Start conditions:
<None>
Trigger condition: Call
- SCRIPT -
<> Change Switch: [22] = OFF
<> Change Switch: [21] = ON
<> Set Screen Tone: (R100, B100, G100, C100), 0,2 sec.
<> Move Picture: #5, (160, 80), Mgn 60%, Tsp 100%, 0,2 sec.
<> Fork Condition: If Variable [279] == 1 then ...
. <> Move Picture: #1, (V[264], V[265]), Mgn 60%, Tsp 100%, 0,2 sec.
. <> Move Picture: #2, (V[269], V[270]), Mgn 60%, Tsp 100%, 0,2 sec.
. <> Move Picture: #3, (V[264], V[271]), Mgn 60%, Tsp 100%, 0,2 sec.
. <> Move Picture: #4, (V[272], V[270]), Mgn 60%, Tsp 100%, 0,2 sec., Wait
. <>
: Else ...
. <> Fork Condition: If Variable [279] == 2 then ...
. . <> Move Picture: #2, (V[264], V[265]), Mgn 60%, Tsp 100%, 0,2 sec.
. . <> Move Picture: #3, (V[269], V[270]), Mgn 60%, Tsp 100%, 0,2 sec.
. . <> Move Picture: #4, (V[264], V[271]), Mgn 60%, Tsp 100%, 0,2 sec.
. . <> Move Picture: #1, (V[272], V[270]), Mgn 60%, Tsp 100%, 0,2 sec., Wait
. . <>
. : Else ...
. . <> Fork Condition: If Variable [279] == 3 then ...
. . . <> Move Picture: #3, (V[264], V[265]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #4, (V[269], V[270]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #1, (V[264], V[271]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #2, (V[272], V[270]), Mgn 60%, Tsp 100%, 0,2 sec., Wait
. . . <>
. . : Else ...
. . . <> Move Picture: #4, (V[264], V[265]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #1, (V[269], V[270]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #2, (V[264], V[271]), Mgn 60%, Tsp 100%, 0,2 sec.
. . . <> Move Picture: #3, (V[272], V[270]), Mgn 60%, Tsp 100%, 0,2 sec., Wait
. . . <>
. . : End of fork
. . <>
. : End of fork
. <>
: End of fork
<> Erase Picture: #1
<> Erase Picture: #2
<> Erase Picture: #3
<> Erase Picture: #4
<> Erase Picture: #5
<> Move Event: Hero, Frq 8, Pattern: <none>
<>
und im Anhang ist das Projekt mit dem Menü