JP2007079957A - Information processing method and device, recording medium, and program - Google Patents

Information processing method and device, recording medium, and program Download PDF

Info

Publication number
JP2007079957A
JP2007079957A JP2005267171A JP2005267171A JP2007079957A JP 2007079957 A JP2007079957 A JP 2007079957A JP 2005267171 A JP2005267171 A JP 2005267171A JP 2005267171 A JP2005267171 A JP 2005267171A JP 2007079957 A JP2007079957 A JP 2007079957A
Authority
JP
Japan
Prior art keywords
state
information
state transition
transition diagram
transition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005267171A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Nishimaki
由之 西巻
Koichi Matsuda
晃一 松田
Takeshi Miyashita
健 宮下
Soichi Kono
宗一 河野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2005267171A priority Critical patent/JP2007079957A/en
Publication of JP2007079957A publication Critical patent/JP2007079957A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily edit a state transition program. <P>SOLUTION: In this device, a link file equipped state retrieval part 44 accesses a state data storage part 13, retrieves a state set with a link file from script information in all pieces of state information, and supplies a retrieval result to a state operation execution part 201. The state operation execution part 201 executes the link file supplied by the link file equipped state retrieval part 44 for every state. A state transition diagram display control part 52 displays an execution result of the link file inside a state frame of every state, and makes a state transition diagram displayed. The device can be applied to a state machine. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は情報処理方法および装置、記録媒体、並びにプログラムに関し、特に、状態遷移図を用いたプログラムの生成および動作確認を容易にできるようにした情報処理方法および装置、記録媒体、並びにプログラムに関する。   The present invention relates to an information processing method and apparatus, a recording medium, and a program, and more particularly to an information processing method and apparatus, a recording medium, and a program that can easily generate a program and check an operation using a state transition diagram.

アプリケーションソフトウェアプログラムの開発を支援する開発ツールが一般に普及しつつある。例えば、オブジェクト指向型のプログラムの開発を支援するものがある(例えば、特許文献1参照)。   Development tools that support the development of application software programs are becoming increasingly popular. For example, there is one that supports the development of an object-oriented program (for example, see Patent Document 1).

また、UML(Unified Modeling Language)に代表される状態遷移図を用いたアプリケーションソフトウェアプログラムのUI(User Interface)の開発ツールも提案されている。   Also, a UI (User Interface) development tool for an application software program using a state transition diagram represented by UML (Unified Modeling Language) has been proposed.

状態遷移図は、各状態毎に実行されるべき動作が論理的に記述されるとともに、各状態において発生する所定のイベントにより他の状態に遷移する方向が示された図である。上述したアプリケーションソフトウェアプログラムのUIの開発ツールは、プログラムを状態遷移図として表示させると共に、その表示された状態遷移図そのものが操作されると、状態遷移図の操作内容をプログラムに反映させることで、プログラムを編集するものである。   The state transition diagram is a diagram in which an operation to be executed for each state is logically described, and a direction in which a transition is made to another state by a predetermined event occurring in each state is shown. The UI development tool of the application software program described above displays the program as a state transition diagram, and when the displayed state transition diagram itself is operated, the operation content of the state transition diagram is reflected in the program, Edit the program.

特開平6−110767号公報JP-A-6-110767

しかしながら、上述のような状態遷移図を編集することでプログラムを編集する開発ツールの場合、編集中に、各状態において実行されるプログラムの記述を見ることはできるものの、実際に、各状態において動画ファイルやアニメーションが再生されるようなとき、それらを確認することはできなかった。このため、状態遷移図をもってプログラムの流れを把握しながらUIを編集することはできても、実際に、各状態において実際に実行される動作を確認しながら編集することはできなかった。   However, in the case of a development tool that edits a program by editing the state transition diagram as described above, the description of the program that is executed in each state can be viewed during editing, but in practice, a moving image is displayed in each state. When files and animations were played, they could not be confirmed. For this reason, even though the UI can be edited while grasping the flow of the program with the state transition diagram, it cannot actually be edited while checking the operation actually executed in each state.

本発明は、このような状況に鑑みてなされたものであり、特に、各状態におけるプログラムの記述に対応する動作を視覚的に捉え易くすることにより、状態遷移図を用いたプログラムの生成および動作確認を容易にできるようにするものである。   The present invention has been made in view of such a situation, and in particular, by making it easy to visually grasp the operation corresponding to the description of the program in each state, the generation and operation of the program using the state transition diagram It is intended to facilitate confirmation.

本発明の一側面の情報処理方法およびプログラムは、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報に基づいて、状態遷移図を生成する生成ステップと、前記生成ステップの処理により生成された状態遷移図を表示する表示ステップと、前記表示ステップにより表示された状態遷移図を操作する操作ステップと、前記操作ステップの処理における操作内容に応じて、前記状態遷移情報を更新する更新ステップと、前記状態における動作が所定のファイルを実行する動作である場合、前記所定のファイルの実行結果を、前記状態遷移図上に表示させるように前記生成ステップの処理を制御する生成制御ステップとを含む。   An information processing method and program according to an aspect of the present invention includes information on an operation in each state, an event at the time of transition in each state, and information on a transition direction indicating which other state is to be transitioned by the event. A generation step for generating a state transition diagram based on the state transition information, a display step for displaying the state transition diagram generated by the processing of the generation step, and an operation for operating the state transition diagram displayed by the display step A step, an update step for updating the state transition information according to the operation content in the process of the operation step, and an operation result in the state being an operation for executing a predetermined file, the execution result of the predetermined file is A generation control step for controlling the processing of the generation step so as to be displayed on the state transition diagram Including the.

前記操作ステップの処理により前記所定のファイルを示すアイコンが、前記状態を示す画像上にドラッグアンドドロップされる場合、前記更新ステップには、前記状態における動作を、前記ドラッグアンドドロップされた所定のファイルを実行する動作に更新させるようにすることができる。ここで、「ドラッグ」とは、マウスポインタの操作法で、マウスボタンを押下したままマウスポインタを移動させる操作であり、「ドロップ」とは、ドラッグの移動先でマウスボタンを離す操作である。「ドラッグアンドドロップ」は、ドラッグとドロップを連続的に行う操作である。したがって、同様の操作が可能であれば、他の操作方法であってもよく、必ずしも「ドラッグアンドドロップ」でなくともよい。   When the icon indicating the predetermined file is dragged and dropped on the image indicating the state by the process of the operation step, the update step includes the operation of the state in the predetermined file dragged and dropped. It can be made to update to operation which performs. Here, “drag” is an operation method of the mouse pointer, which is an operation of moving the mouse pointer while pressing the mouse button, and “drop” is an operation of releasing the mouse button at the drag destination. “Drag and drop” is an operation of continuously dragging and dropping. Therefore, as long as the same operation is possible, another operation method may be used, and the operation may not necessarily be “drag and drop”.

前記状態における動作が、前記ドラッグアンドドロップされた所定のファイルを実行する動作である場合、前記生成制御ステップの処理には、前記所定のファイルの実行結果を、前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにすることができる。   When the operation in the state is an operation to execute the predetermined file that has been dragged and dropped, the generation control step processing includes the execution result of the predetermined file as the state on the state transition diagram. The processing of the generation step can be controlled so as to be displayed on the image shown.

前記所定のファイルは、アニメーションのファイルとすることができ、前記状態における動作が、前記所定のファイルである、アニメーションの再生を実行する動作である場合、前記生成制御ステップの処理には、前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を、前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにしてもよい。   The predetermined file can be an animation file, and when the operation in the state is an operation for executing reproduction of an animation that is the predetermined file, the process of the generation control step includes the predetermined file. As a result of executing the file, the generation step may be controlled so that the animation or a representative screen of the animation is displayed on an image showing the state on the state transition diagram.

前記操作ステップの処理により操作されるポインタの位置に対応して、前記生成制御ステップの処理には、前記所定のファイルの実行結果として、前記アニメーション、または前記アニメーションの代表画面を、前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにしてもよい。   Corresponding to the position of the pointer operated by the operation step process, the generation control step process includes the animation or the animation representative screen as the execution result of the predetermined file. You may make it control the process of the said production | generation step so that it may display on the image which shows the said state above.

前記操作ステップの処理により操作されるポインタの位置が、前記状態遷移図上の前記状態を示す画像上である場合、前記生成制御ステップの処理には、前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにすることができる。   When the position of the pointer operated by the process of the operation step is on the image indicating the state on the state transition diagram, the process of the generation control step includes the animation as the execution result of the predetermined file. Alternatively, the process of the generation step can be controlled so that a representative screen of the animation is displayed on an image showing the state on the state transition diagram.

前記操作ステップの処理により操作されるポインタの位置が、前記状態遷移図上の他の前記状態を示す画像上である場合、前記生成制御ステップの処理には、前記他の状態における前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにすることができる。   When the position of the pointer operated by the process of the operation step is on an image indicating the other state on the state transition diagram, the process of the generation control step includes the predetermined file in the other state As a result of execution of the above, it is possible to control the generation step so that the animation or a representative screen of the animation is displayed on an image showing the state on the state transition diagram.

前記操作ステップの処理により操作されるポインタの位置が、前記状態遷移図上の前記状態に遷移する可能性のある前記他の状態を示す画像上である場合、前記生成制御ステップにには、前記他の状態における前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を前記状態遷移図上の前記他の状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにすることができる。   When the position of the pointer operated by the processing of the operation step is on an image showing the other state that may transition to the state on the state transition diagram, the generation control step includes the As a result of executing the predetermined file in another state, the processing of the generation step is controlled so that the animation or a representative screen of the animation is displayed on an image showing the other state on the state transition diagram. You can make it.

本発明の一側面の情報処理装置は、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報に基づいて、状態遷移図を生成する生成手段と、前記生成手段により生成された状態遷移図を表示する表示手段と、前記表示手段により表示された状態遷移図を操作する操作手段と、前記操作手段の操作内容に応じて、前記状態遷移情報を更新する更新手段と、前記状態における動作が所定のファイルを実行する動作である場合、前記所定のファイルの実行結果を、前記状態遷移図上に表示させるように前記生成手段を制御する生成制御手段とを含む。   An information processing apparatus according to an aspect of the present invention includes a state transition including information on an operation in each state, an event at the time of transition in each state, and a transition direction indicating which other state is to be transitioned by the event Generating means for generating a state transition diagram based on the information; display means for displaying the state transition diagram generated by the generating means; operating means for operating the state transition diagram displayed by the display means; When the operation in the state is an operation for executing a predetermined file according to the operation content of the operation unit, and the operation in the state is an operation for executing the predetermined file, the execution result of the predetermined file is displayed on the state transition diagram. Generation control means for controlling the generation means so as to be displayed.

本発明の一側面の情報処理方法および装置においては、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報に基づいて、状態遷移図が生成され、生成された状態遷移図が表示され、表示された状態遷移図が操作され、操作内容に応じて、前記状態遷移情報が更新され、前記状態における動作が所定のファイルが実行される動作である場合、前記所定のファイルの実行結果が、前記状態遷移図上に表示させられるように制御される。   In the information processing method and apparatus according to one aspect of the present invention, information on a transition direction indicating an operation in each state, an event at the time of transition in each state, and which other state is transitioned by the event. Based on the state transition information included, a state transition diagram is generated, the generated state transition diagram is displayed, the displayed state transition diagram is operated, the state transition information is updated according to the operation content, When the operation in the state is an operation in which a predetermined file is executed, the execution result of the predetermined file is controlled to be displayed on the state transition diagram.

情報処理装置は、独立した装置であっても良いし、情報処理装置の情報処理を行うブロックであっても良い。   The information processing apparatus may be an independent apparatus or a block that performs information processing of the information processing apparatus.

以上のように、本発明の一側面によれば、状態遷移図を用いたプログラムの生成および動作確認を容易にすることができ、UIのプログラムの開発の効率を向上させることが可能となる。   As described above, according to one aspect of the present invention, it is possible to easily generate a program and check an operation using a state transition diagram, and it is possible to improve the efficiency of UI program development.

以下に本発明の実施の形態を説明するが、本発明の構成要件と、発明の詳細な説明に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、発明の詳細な説明に記載されていることを確認するためのものである。従って、発明の詳細な説明中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. Correspondences between the configuration requirements of the present invention and the embodiments described in the detailed description of the present invention are exemplified as follows. This description is to confirm that the embodiments supporting the present invention are described in the detailed description of the invention. Accordingly, although there are embodiments that are described in the detailed description of the invention but are not described here as embodiments corresponding to the constituent elements of the present invention, It does not mean that the embodiment does not correspond to the configuration requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.

すなわち、本発明の一側面の情報処理方法およびプログラムは、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報に基づいて、状態遷移図を生成する生成ステップ(例えば、図11のステップS121乃至S123の処理)と、前記生成ステップの処理により生成された状態遷移図を表示する表示ステップ(例えば、図12のステップS141乃至S145の処理)と、前記表示ステップにより表示された状態遷移図を操作する操作ステップ(例えば、図7のステップS63,S67の処理)と、前記操作ステップの処理における操作内容に応じて、前記状態遷移情報を更新する更新ステップ(例えば、図7のステップS64の処理)と、前記状態における動作が所定のファイルを実行する動作である場合、前記所定のファイルの実行結果を、前記状態遷移図上に表示させるように前記生成ステップの処理を制御する生成制御ステップ(例えば、図19のステップS168の処理)とを含む。   That is, the information processing method and program according to one aspect of the present invention includes information on an operation in each state, an event at the time of transition in each state, and a transition direction information indicating which other state is transitioned by the event. A generation step (for example, processing of steps S121 to S123 in FIG. 11) that generates a state transition diagram based on the state transition information including, and a display step that displays the state transition diagram generated by the processing of the generation step ( For example, in steps S141 to S145 in FIG. 12, operation steps for operating the state transition diagram displayed in the display step (for example, steps S63 and S67 in FIG. 7), and processing in the operation steps An update step for updating the state transition information according to the operation content (for example, FIG. If the operation in step S64) and the operation in the state is an operation to execute a predetermined file, the generation step is controlled so that the execution result of the predetermined file is displayed on the state transition diagram. Generation control step (for example, the process of step S168 in FIG. 19).

前記操作ステップの処理により前記所定のファイルを示すアイコンが、前記状態を示す画像上にドラッグアンドドロップされる場合、前記更新ステップには、前記状態における動作を、前記ドラッグアンドドロップされた所定のファイルを実行する動作に更新させるようにすることができる。   When the icon indicating the predetermined file is dragged and dropped on the image indicating the state by the process of the operation step, the update step includes the operation of the state in the predetermined file dragged and dropped. It can be made to update to operation which performs.

前記状態における動作が、前記ドラッグアンドドロップされた所定のファイルを実行する動作である場合、前記生成制御ステップ(例えば、図19のステップS168の処理)の処理には、前記所定のファイルの実行結果を、前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにすることができる。   When the operation in the state is an operation of executing the dragged and dropped predetermined file, the generation control step (for example, the process of step S168 in FIG. 19) includes the execution result of the predetermined file. Can be controlled to be displayed on an image showing the state on the state transition diagram.

前記所定のファイルは、アニメーションのファイルとすることができ、前記状態における動作が、前記所定のファイルである、アニメーションの再生を実行する動作である場合、前記生成制御ステップの処理(例えば、図19のステップS168の処理)には、前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を、前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにしてもよい。   The predetermined file may be an animation file, and when the operation in the state is an operation to execute animation reproduction, which is the predetermined file, the process of the generation control step (for example, FIG. 19). In the process of step S168), as the execution result of the predetermined file, the generation step is performed so that the animation or a representative screen of the animation is displayed on the image indicating the state on the state transition diagram. This process may be controlled.

前記操作ステップの処理により操作されるポインタの位置に対応して、前記生成制御ステップの処理(例えば、図25のステップS229の処理)には、前記所定のファイルの実行結果として、前記アニメーション、または前記アニメーションの代表画面を、前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにしてもよい。   Corresponding to the position of the pointer operated by the operation step process, the generation control step process (for example, the process of step S229 in FIG. 25) includes the animation or the execution result of the predetermined file. You may make it control the process of the said production | generation step so that the representative screen of the said animation may be displayed on the image which shows the said state on the said state transition diagram.

前記操作ステップの処理により操作されるポインタの位置が、前記状態遷移図上の前記状態を示す画像上である場合、前記生成制御ステップの処理(例えば、図25のステップS229の処理)には、前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにすることができる。   When the position of the pointer operated by the process of the operation step is on the image indicating the state on the state transition diagram, the process of the generation control step (for example, the process of step S229 in FIG. 25) includes As a result of execution of the predetermined file, the processing of the generation step may be controlled so that the animation or a representative screen of the animation is displayed on an image showing the state on the state transition diagram. it can.

前記操作ステップの処理により操作されるポインタの位置が、前記状態遷移図上の他の前記状態を示す画像上である場合、前記生成制御ステップ(例えば、図22のステップS199の処理)には、前記他の状態における前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにすることができる。   When the position of the pointer operated by the process of the operation step is on an image indicating the other state on the state transition diagram, the generation control step (for example, the process of step S199 in FIG. 22) includes As a result of execution of the predetermined file in the other state, the processing of the generating step is controlled so that the animation or a representative screen of the animation is displayed on an image showing the state on the state transition diagram. Can be.

前記操作ステップの処理により操作されるポインタの位置が、前記状態遷移図上の前記状態に遷移する可能性のある前記他の状態を示す画像上である場合、前記生成制御ステップの処理(例えば、図22のステップS199の処理)には、前記他の状態における前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を前記状態遷移図上の前記他の状態を示す画像上に表示させるように前記生成ステップの処理を制御させるようにすることができる。   When the position of the pointer operated by the process of the operation step is on an image showing the other state that may transition to the state on the state transition diagram, the process of the generation control step (for example, In step S199 in FIG. 22, the animation or the representative screen of the animation is displayed on the image indicating the other state on the state transition diagram as the execution result of the predetermined file in the other state. The process of the generating step can be controlled so as to be displayed.

本発明の一側面の情報処理装置は、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報に基づいて、状態遷移図を生成する生成手段(例えば、図21の状態遷移図生成部15)と、前記生成手段により生成された状態遷移図を表示する表示手段(例えば、図21の表示部19)と、前記表示手段により表示された状態遷移図を操作する操作手段(例えば、図21の操作部11)と、前記操作手段の操作内容に応じて、前記状態遷移情報を更新する更新手段(例えば、図21の編集部12)と、前記状態における動作が所定のファイルを実行する動作である場合、前記所定のファイルの実行結果を、前記状態遷移図上に表示させるように前記生成手段を制御する生成制御手段(例えば、図21の状態遷移図生成部15の状態動作実行部201)とを含む。   An information processing apparatus according to an aspect of the present invention includes a state transition including information on an operation in each state, an event at the time of transition in each state, and a transition direction indicating which other state is to be transitioned by the event Based on the information, a generation unit (for example, the state transition diagram generation unit 15 in FIG. 21) that generates a state transition diagram, and a display unit (for example, the display in FIG. 21) that displays the state transition diagram generated by the generation unit. Unit 19), operation means for operating the state transition diagram displayed by the display means (for example, the operation unit 11 in FIG. 21), and update for updating the state transition information according to the operation content of the operation means When the means (for example, the editing unit 12 in FIG. 21) and the operation in the state are operations for executing a predetermined file, the execution result of the predetermined file is expressed as the state transition diagram. And a generation control means for controlling said generating means so as to display (for example, state operation execution unit 201 of the state transition diagram generating section 15 of FIG. 21).

このように、状態遷移図を編集することにより状態遷移プログラムを開発するような場合には、所定の状態における動作が、所定のファイルを実行することであるときには、所定のファイルの存在を確実に認識することができると共に、所定のファイルがアニメーションや動画であった場合、どのようなアニメーションや動画が再生されるのかを把握することが可能となる。   In this way, when developing a state transition program by editing a state transition diagram, when the operation in a predetermined state is to execute a predetermined file, the existence of the predetermined file is reliably ensured. In addition to being able to recognize, when the predetermined file is an animation or a moving image, it is possible to grasp what kind of animation or moving image is reproduced.

図1は、本発明を適用した状態遷移プログラム編集装置1の一実施の形態の構成を示す図である。   FIG. 1 is a diagram showing a configuration of an embodiment of a state transition program editing apparatus 1 to which the present invention is applied.

状態遷移プログラム編集装置1は、アプリケーションソフトウェアプログラムにおけるUIのプログラムの開発を目的とした編集装置であり、各状態における動作、それぞれの状態における遷移時のイベント、および各イベント毎にどの他の状態に遷移するかを示す遷移方向の情報を含む状態遷移情報(ステートデータ)に基づいて、状態遷移図を生成すると共に、生成した状態遷移図を表示する。さらに、状態遷移プログラム編集装置1は、表示した状態遷移図が操作されることにより変更されると、変更された状態遷移図に対応して、状態遷移情報を更新する。   The state transition program editing device 1 is an editing device for the purpose of developing a UI program in an application software program. The operation in each state, the event at the time of transition in each state, and any other state for each event. A state transition diagram is generated based on state transition information (state data) including information on a transition direction indicating whether a transition is made, and the generated state transition diagram is displayed. Furthermore, when the displayed state transition diagram is changed by operating the state transition program editing device 1, the state transition program editing device 1 updates the state transition information corresponding to the changed state transition diagram.

操作部11は、マウスやキーボードなどから構成されており、状態遷移プログラム編集装置1を操作するユーザによる操作に対応する信号を発生して編集部12に供給する。   The operation unit 11 includes a mouse, a keyboard, and the like. The operation unit 11 generates a signal corresponding to an operation by a user who operates the state transition program editing apparatus 1 and supplies the signal to the editing unit 12.

編集部12は、ステート編集部31、トランジション編集部32、およびスクリプト編集部33より構成されており、操作部11より供給されてくる信号に基づいて、状態遷移情報(ステートデータ)を編集する。ステートデータは、各状態(ステート)毎に動作を示す情報(スクリプト情報)およびイベントに応じて遷移する状態の遷移先の情報(トランジション情報)が記述されている。   The editing unit 12 includes a state editing unit 31, a transition editing unit 32, and a script editing unit 33. The editing unit 12 edits state transition information (state data) based on a signal supplied from the operation unit 11. In the state data, information (script information) indicating an operation for each state (state) and information on a transition destination (transition information) of a state that changes according to an event are described.

ステート編集部31は、状態(ステート)の新規生成、および表示位置や大きさなどの情報を編集し、編集結果をステートデータ格納部13に格納させる。トランジション編集部32は、各状態における動作が実行されている間に発生するイベントに応じて、遷移する遷移先となる状態の情報を編集し、ステートデータ格納部13に格納させる。スクリプト編集部33は、各状態における動作内容を編集し、ステートデータ格納部13に格納させる。スクリプト編集部33により編集される動作内容は、例えば、リンクデータ格納部14に格納されているアニメーションデータを再生させるといったものである。この場合、スクリプト編集部33は、リンクデータ格納部14に格納されたリンクファイルである、アニメーションデータのうち、再生させる開始フレームの情報も編集する。   The state editing unit 31 edits information such as new generation of a state (state) and display position and size, and stores the edited result in the state data storage unit 13. The transition editing unit 32 edits information on the state that is the transition destination to which the transition occurs in accordance with an event that occurs while the operation in each state is being executed, and stores the information in the state data storage unit 13. The script editing unit 33 edits the operation content in each state and stores it in the state data storage unit 13. The operation content edited by the script editing unit 33 is, for example, to reproduce animation data stored in the link data storage unit 14. In this case, the script editing unit 33 also edits information on the start frame to be reproduced in the animation data that is the link file stored in the link data storage unit 14.

ステートデータ格納部13は、各状態(ステート)ごとに編集部12によりトランジション情報やスクリプト情報が編集されたステートデータを格納し、必要に応じて状態遷移図生成部15および状態遷移エンジン16に供給する。   The state data storage unit 13 stores state data in which transition information and script information are edited by the editing unit 12 for each state (state), and supplies the state data to the state transition diagram generation unit 15 and the state transition engine 16 as necessary. To do.

リンクデータ格納部14は、上述したスクリプト情報により所定の状態で実行される動作のうち、読み出されて実行されるリンクファイル(アニメーションファイルおよび動画ファイルなどを含む各種の実行ファイル)を格納しており、必要に応じて、状態動作実行部17、および表示制御部18にリンクファイルの情報を供給する。   The link data storage unit 14 stores link files (various execution files including animation files and moving image files) that are read and executed among the operations executed in a predetermined state by the script information described above. The link file information is supplied to the state operation execution unit 17 and the display control unit 18 as necessary.

状態遷移図生成部15は、ステート枠生成部41、トランジション生成部42、アイコン付加部43、およびリンクファイルステート検出部44から構成されており、ステートデータ格納部13に格納されているステートデータを読み出し、状態遷移図を生成する。ステート枠生成部41は、各状態ごとに矩形の枠(ステート枠)を生成すると共に、状態遷移エンジン16より供給される今現在の状態の情報に基づいて、今現在の状態を示すステート枠内の表示色を変化させて表示する。トランジション42は、各状態における動作中に発生するイベントごとに遷移先を示す矢印を生成する。アイコン付加部43は、リンクファイル付きステート検索部44により検索された状態情報のうち、リンクファイルが設定されているステート枠内に、リンクファイルが設定されていることを示すアイコンを付加する。リンクファイル付きステート検索部44は、ステートデータのうち、スクリプト情報を検索して、リンクファイルが設定されているステートを検索し、検索結果をアイコン付加部43に供給する。   The state transition diagram generation unit 15 includes a state frame generation unit 41, a transition generation unit 42, an icon addition unit 43, and a link file state detection unit 44, and stores state data stored in the state data storage unit 13. Read and generate state transition diagram. The state frame generation unit 41 generates a rectangular frame (state frame) for each state, and based on the current state information supplied from the state transition engine 16, the state frame generation unit 41 displays the current state in the state frame. Change the display color of and display. The transition 42 generates an arrow indicating a transition destination for each event that occurs during operation in each state. The icon addition unit 43 adds an icon indicating that a link file is set in the state frame in which the link file is set, among the state information searched by the state search unit with link file 44. The state search unit with link file 44 searches script information in the state data, searches for a state in which the link file is set, and supplies the search result to the icon addition unit 43.

状態遷移エンジン16は、ステートデータ格納部13に格納されているステートデータを読み出すと共に、イベント検出部20より供給されるイベントの情報に基づいて、今現在のステートを検索し、検索結果である今現在のステートを示す情報を状態遷移図生成部15および状態動作実行部17に供給する。   The state transition engine 16 reads the state data stored in the state data storage unit 13 and searches for the current state based on the event information supplied from the event detection unit 20 and obtains the current search result. Information indicating the current state is supplied to the state transition diagram generation unit 15 and the state operation execution unit 17.

状態動作実行部17は、状態遷移エンジン16より供給される今現在の状態のステートデータに基づいて、必要に応じてリンクデータ格納部14よりリンクデータを読み出し、現在の状態の動作を実行し、実行結果を表示制御部18に供給する。   The state operation execution unit 17 reads the link data from the link data storage unit 14 as necessary based on the state data of the current state supplied from the state transition engine 16, and executes the operation of the current state. The execution result is supplied to the display control unit 18.

表示制御部18は、スクリプト表示制御部51、状態遷移図表示制御部52、ステートリスト表示制御部53、リンクリスト表示制御部54、および状態動作表示制御部55より構成され、表示部19に表示する表示画面を生成して表示させる。   The display control unit 18 includes a script display control unit 51, a state transition diagram display control unit 52, a state list display control unit 53, a link list display control unit 54, and a state operation display control unit 55, and is displayed on the display unit 19. Generate and display the display screen to be displayed.

スクリプト表示制御部51は、ステートデータ格納部13に格納されているステートデータよりスクリプト情報を読み出して、例えば、図2のスクリプト情報を示すスクリプト画面115を生成し、表示を制御する。尚、図2においては、表示部19で表示される表示画面101が示されている。表示画面101には、ステートリスト画面111、リンクリスト画面112、動作表示画面113、状態遷移図表示画面114、およびスクリプト画面115が設けられている。また、図2においては、スクリプト表示画面115には、スクリプトが記述されていないが、例えば、図13または図14で示されるように、スクリプトが表示される。このスクリプトの記述については、詳細を後述する。   The script display control unit 51 reads the script information from the state data stored in the state data storage unit 13, generates, for example, the script screen 115 showing the script information in FIG. 2, and controls the display. In FIG. 2, a display screen 101 displayed on the display unit 19 is shown. The display screen 101 includes a state list screen 111, a link list screen 112, an operation display screen 113, a state transition diagram display screen 114, and a script screen 115. In FIG. 2, no script is described in the script display screen 115, but the script is displayed as shown in FIG. 13 or FIG. 14, for example. Details of the script description will be described later.

状態遷移図表示制御部52は、状態遷移図生成部15より供給されてくる状態遷移図の情報に基づいて、例えば、図2の状態遷移図表示画面114を生成し、表示を制御する。図2においては、状態A(State A:ステートA)を示すステート枠131、状態B(State B:ステートB)を示すステート枠132、状態C(State C:ステートC)を示すステート枠133、および、状態D(State D:ステートD)を示すステート枠134が示されており、それぞれが、トランジション141乃至148で結ばれている。トランジション141乃至148は、それぞれ状態間を遷移する方向とイベントを示している。   The state transition diagram display control unit 52 generates, for example, the state transition diagram display screen 114 of FIG. 2 based on the information of the state transition diagram supplied from the state transition diagram generation unit 15, and controls the display. In FIG. 2, a state frame 131 indicating a state A (State A), a state frame 132 indicating a state B (State B), a state frame 133 indicating a state C (State C), In addition, a state frame 134 indicating a state D (State D) is shown, and each is connected by transitions 141 to 148. Transitions 141 to 148 indicate the direction and event of transition between states.

より詳細には、トランジション141は、「KeyPress_x」と示され、矢印が状態Aから状態Dに向って表示されており、状態Aの動作が実行されている場合、操作部11の「x」のキーが操作されるというイベントが発生すると、状態Aから状態Bに遷移することを示している。   More specifically, the transition 141 is indicated as “KeyPress_x”, the arrow is displayed from the state A to the state D, and when the operation of the state A is executed, the “x” of the operation unit 11 is displayed. When an event that a key is operated occurs, the state A changes to the state B.

同様に、トランジション142は、「KeyPress_2」と示され、矢印が状態Aから状態Bに向って表示されており、状態Aの動作が実行されている場合、操作部11の「2」のキーが操作されるというイベントが発生すると、状態Aから状態Bに遷移することを示している。   Similarly, the transition 142 is indicated as “KeyPress_2”, the arrow is displayed from the state A to the state B, and when the operation of the state A is executed, the key “2” of the operation unit 11 is displayed. When an event to be operated occurs, the state A transitions to the state B.

また、トランジション143は、「KeyPress_3」と示され、矢印が状態Bから状態Aに向って表示されており、状態Bの動作が実行されている場合、操作部11の「3」のキーが操作されるというイベントが発生すると、状態Bから状態Aに遷移することを示している。   In addition, the transition 143 is indicated as “KeyPress_3”, the arrow is displayed from the state B to the state A, and when the operation of the state B is executed, the “3” key of the operation unit 11 is operated. When an event occurs, the state B transitions to the state A.

さらに、トランジション144は、「KeyPress_b」と示され、矢印が状態Bから状態Cに向って表示されており、状態Bの動作が実行されている場合、操作部11の「b」のキーが操作されるというイベントが発生すると、状態Bから状態Cに遷移することを示している。   Further, the transition 144 is indicated as “KeyPress_b”, the arrow is displayed from the state B to the state C, and when the operation of the state B is executed, the “b” key of the operation unit 11 is operated. When an event occurs, the state B changes to the state C.

また、トランジション145は、「KeyPress_a」と示され、矢印が状態Cから状態Bに向って表示されており、状態Cの動作が実行されている場合、操作部11の「a」のキーが操作されるというイベントが発生すると、状態Cから状態Bに遷移することを示している。   In addition, the transition 145 is indicated as “KeyPress_a”, the arrow is displayed from the state C to the state B, and when the operation of the state C is executed, the “a” key of the operation unit 11 is operated. When an event occurs, the state C changes to the state B.

さらに、トランジション146は、「KeyPress_1」と示され、矢印が状態Cから状態Dに向って表示されており、状態Cの動作が実行されている場合、操作部11の「1」のキーが操作されるというイベントが発生すると、状態Cから状態Dに遷移することを示している。   Further, the transition 146 is indicated as “KeyPress_1”, the arrow is displayed from the state C to the state D, and when the operation of the state C is executed, the key “1” of the operation unit 11 is operated. When an event occurs, the state C changes to the state D.

また、トランジション147は、「KeyPress_0」と示され、矢印が状態Dから状態Cに向って表示されており、状態Dの動作が実行されている場合、操作部11の「0」のキーが操作されるというイベントが発生すると、状態Dから状態Cに遷移することを示している。   The transition 147 is indicated as “KeyPress_0”, the arrow is displayed from the state D to the state C, and when the operation of the state D is executed, the “0” key of the operation unit 11 is operated. When an event occurs, the state D is transitioned to the state C.

さらに、トランジション148は、「KeyPress_z」と示され、矢印が状態Dから状態Aに向って表示されており、状態Dの動作が実行されている場合、操作部11の「z」のキーが操作されるというイベントが発生すると、状態Dから状態Aに遷移することを示している。   Further, the transition 148 is indicated as “KeyPress_z”, the arrow is displayed from the state D to the state A, and when the operation of the state D is executed, the “z” key of the operation unit 11 is operated. When an event occurs, the state D changes to the state A.

図1の説明に戻る。ステートリスト表示制御部53は、ステートデータ格納部14に格納されているステートデータに基づいて、例えば、図2のステートリスト画面111を生成し、表示を制御する。図2のステートリスト画面111には、「Stage」フォルダ内における「logic」フォルダ内の「main logic」フォルダ内に、それぞれ「StateA」乃至「StateD」のアイコンが表示されており、「Stage」フォルダ内における「logic」フォルダ内の「main logic」フォルダ内に、ステート名がそれぞれ「StateA」乃至「StateD」となる状態A乃至Dのステート情報が格納されていることが示されている。   Returning to the description of FIG. The state list display control unit 53 generates, for example, the state list screen 111 of FIG. 2 based on the state data stored in the state data storage unit 14, and controls the display. In the state list screen 111 of FIG. 2, icons “StateA” to “StateD” are displayed in the “main logic” folder in the “logic” folder in the “Stage” folder, respectively, and the “Stage” folder It is shown that state information of states A to D whose state names are “State A” to “State D” are stored in the “main logic” folder in the “logic” folder.

リンクリスト表示制御部54は、リンクデータ格納部14に格納されているリンクファイルの情報に基づいて、例えば、図2のリンクリスト画面112を生成し、表示を制御する。図2のリンクリスト画面112には、「(Main)test.ecd」フォルダ内に、それぞれ「flower」、「forest」、「temple」、および「flower2」のアイコンが表示されており、リンクファイルである「flower」、「forest」、「temple」、および「flower2」が「(Main)test ecd」フォルダ内に格納されていることが示されている。尚、このリンクファイルの各アイコンは、操作部11により操作されるポインタ150によりドラッグし、所望とするステート枠131乃至134でドロップすることにより、ドロップされたステート枠131乃至134に対応するステートで実行される。すなわち、リンクファイルが、音声データ、画像データ、またはアニメーションなどの場合、ドロップされた状態A乃至Dのいずれかにおいて、スクリプトA乃至Dが更新されて、リンクファイルのそれぞれ音声、画像、およびアニメーションを再生させる情報が記録される。   The link list display control unit 54 generates, for example, the link list screen 112 of FIG. 2 based on the information of the link file stored in the link data storage unit 14, and controls the display. In the link list screen 112 of FIG. 2, icons of “flower”, “forest”, “temple”, and “flower2” are displayed in the “(Main) test.ecd” folder, respectively. It is shown that “flower”, “forest”, “temple”, and “flower2” are stored in the “(Main) test ecd” folder. Each icon of the link file is dragged by the pointer 150 operated by the operation unit 11 and dropped in a desired state frame 131 to 134, and in a state corresponding to the dropped state frame 131 to 134. Executed. That is, when the link file is audio data, image data, animation, or the like, the scripts A to D are updated in any of the dropped states A to D, and the audio, image, and animation of the link file are respectively updated. Information to be reproduced is recorded.

状態動作表示制御部55は、状態動作実行部17より供給される状態動作の実行結果に基づいて、例えば、図2で示されるような状態動作画面113を生成し、表示を制御する。尚、図2においては、スクリプトの記述がどのステートにもされておらず、実行されるものがないので、状態動作画面113は、黒の画面となっている。   The state operation display control unit 55 generates a state operation screen 113 as shown in FIG. 2 based on the execution result of the state operation supplied from the state operation execution unit 17, and controls the display. In FIG. 2, since the script is not described in any state and nothing is executed, the state operation screen 113 is a black screen.

表示部19は、CRT(Cathode Ray Tube)またはLCD(Liquid Crystal Display)などから構成され、表示制御部18により生成された画面を表示する。   The display unit 19 includes a CRT (Cathode Ray Tube) or an LCD (Liquid Crystal Display), and displays the screen generated by the display control unit 18.

次に、図3を参照して、ステートデータ格納部13に格納されるステート情報について説明する。   Next, state information stored in the state data storage unit 13 will be described with reference to FIG.

ステート情報は、例えば、図2の状態遷移図表示画面114で示されるような状態遷移図が構成されるような場合、図3で示されるような状態で、状態A乃至Dごとにステートデータ格納部13に格納されている。図3においては、左から状態A乃至Dの順にステート情報のデータ構造が示されている。   For example, when the state transition diagram as shown in the state transition diagram display screen 114 in FIG. 2 is configured, the state information is stored in the state data for each of the states A to D in the state as shown in FIG. Stored in the unit 13. In FIG. 3, the data structure of state information is shown in the order of states A to D from the left.

各ステート(状態)には、トランジション情報として、各イベントと対応する遷移先となる状態の情報が記録される領域が確保されている。また、各状態におけるスクリプトが記録される領域が確保されている。   In each state (state), an area in which information of a state that is a transition destination corresponding to each event is recorded as transition information. In addition, an area for recording a script in each state is secured.

すなわち、図3の状態A(State A)においては、トランジション情報として、イベント欄には「KeyPress_2」および「KeyPress_x」が記録され、対応する遷移先として、それぞれ「State B」および「State D」と記録されている。すなわち、このトランジション情報は、図2のトランジション142,141にそれぞれ対応する情報として記録されている。また、状態Aの場合、トランジション情報の下には、スクリプト情報として、「スクリプトA」が記録されている。   That is, in the state A (State A) of FIG. 3, “KeyPress_2” and “KeyPress_x” are recorded in the event column as transition information, and “State B” and “State D” are respectively set as the corresponding transition destinations. It is recorded. That is, the transition information is recorded as information corresponding to the transitions 142 and 141 in FIG. In the case of state A, “script A” is recorded as script information under the transition information.

さらに、状態B(State B)においては、トランジション情報として、イベント欄には「KeyPress_3」および「KeyPress_b」が記録され、対応する遷移先として、それぞれ「State A」および「State C」と記録されている。すなわち、このトランジション情報は、図2のトランジション143,144にそれぞれ対応する情報として記録されている。また、状態Bの場合、トランジション情報の下には、スクリプト情報として、「スクリプトB」が記録されている。   Furthermore, in state B (State B), “KeyPress_3” and “KeyPress_b” are recorded in the event column as transition information, and “State A” and “State C” are recorded as the corresponding transition destinations, respectively. Yes. That is, this transition information is recorded as information corresponding to the transitions 143 and 144 in FIG. In the state B, “script B” is recorded as script information under the transition information.

さらに、状態C(State C)においては、トランジション情報として、イベント欄には「KeyPress_a」および「KeyPress_1」が記録され、対応する遷移先として、それぞれ「State B」および「State D」と記録されている。すなわち、このトランジション情報は、図2のトランジション145,146にそれぞれ対応する情報として記録されている。また、状態Cの場合、トランジション情報の下には、スクリプト情報として、「スクリプトC」が記録されている。   Furthermore, in state C (State C), “KeyPress_a” and “KeyPress_1” are recorded in the event column as transition information, and “State B” and “State D” are recorded as the corresponding transition destinations, respectively. Yes. That is, this transition information is recorded as information corresponding to the transitions 145 and 146 of FIG. In the state C, “script C” is recorded as script information under the transition information.

さらに、状態D(State D)においては、トランジション情報として、イベント欄には「KeyPress_z」および「KeyPress_0」が記録され、対応する遷移先として、それぞれ「State A」および「State C」と記録されている。すなわち、このトランジション情報は、図2のトランジション148,147にそれぞれ対応する情報として記録されている。また、状態Dの場合、トランジション情報の下には、スクリプト情報として、「スクリプトD」が記録されている。   Furthermore, in state D (State D), “KeyPress_z” and “KeyPress_0” are recorded in the event column as transition information, and “State A” and “State C” are recorded as the corresponding transition destinations, respectively. Yes. That is, this transition information is recorded as information corresponding to the transitions 148 and 147 in FIG. In the state D, “script D” is recorded as script information under the transition information.

次に、図4のフローチャートを参照して、編集部12による状態遷移プログラム編集処理について説明する。   Next, the state transition program editing process by the editing unit 12 will be described with reference to the flowchart of FIG.

ステップS1において、ステート編集部31は、操作部11より供給されてくる信号に基づいて、ステート編集が指示されたか否かを判定する。ステップS1において、例えば、ステート編集処理が指示されたと判定された場合、ステップS2において、ステート編集部31は、ステート編集処理を実行し、その処理は、元に戻る。尚、ステート編集処理については、図5を参照して後述する。   In step S <b> 1, the state editing unit 31 determines whether or not state editing is instructed based on the signal supplied from the operation unit 11. In step S1, for example, when it is determined that state editing processing has been instructed, in step S2, the state editing unit 31 executes state editing processing, and the processing returns to the original. The state editing process will be described later with reference to FIG.

ステップS1において、例えば、ステート編集処理が指示されていないと判定された場合、ステップS3において、トランジション編集部32は、操作部11より供給されてくる信号に基づいて、トランジション編集が指示されたか否かを判定する。ステップS3において、例えば、トランジション編集処理が指示されたと判定された場合、ステップS4において、トランジション編集部32は、トランジション編集処理を実行し、その処理は、元に戻る。尚、トランジション編集処理については、図6を参照して後述する。   In step S1, for example, when it is determined that the state editing process is not instructed, in step S3, the transition editing unit 32 determines whether transition editing is instructed based on the signal supplied from the operation unit 11. Determine whether. In step S3, for example, when it is determined that the transition editing process has been instructed, in step S4, the transition editing unit 32 executes the transition editing process, and the process returns to the original. The transition editing process will be described later with reference to FIG.

ステップS3において、例えば、トランジション編集処理が指示されていないと判定された場合、ステップS5において、スクリプト編集部33は、操作部11より供給されてくる信号に基づいて、スクリプト編集が指示されたか否かを判定する。ステップS5において、例えば、スクリプト編集処理が指示されたと判定された場合、ステップS6において、スクリプト編集部33は、スクリプト編集処理を実行し、その処理は、元に戻る。尚、スクリプト編集処理については、図7を参照して後述する。   In step S3, for example, when it is determined that the transition editing process is not instructed, in step S5, the script editing unit 33 determines whether script editing has been instructed based on the signal supplied from the operation unit 11. Determine whether. In step S5, for example, when it is determined that the script editing process is instructed, in step S6, the script editing unit 33 executes the script editing process, and the process returns to the original. The script editing process will be described later with reference to FIG.

以上の処理により、ステートデータが更新されることになるので、対応する状態遷移プログラムが更新される。   Since the state data is updated by the above processing, the corresponding state transition program is updated.

次に、図5のフローチャートを参照して、ステート編集処理について説明する。   Next, the state editing process will be described with reference to the flowchart of FIG.

ステップS21において、ステート編集部31は、操作部11からの信号に基づいて、新規のステート(状態)を生成する処理であるか否かを判定する。例えば、図2の表示画面101上の図示せぬボタンが操作され、新規のステートを生成する処理が指示された場合、ステップS22において、ステート編集部31は、新規のステートを生成する。すなわち、ステート編集部31は、新たな状態に対応するステート情報をステートデータ格納部13に記録する。   In step S <b> 21, the state editing unit 31 determines whether the process is a process of generating a new state (state) based on the signal from the operation unit 11. For example, when a button (not shown) on the display screen 101 in FIG. 2 is operated and a process for generating a new state is instructed, in step S22, the state editing unit 31 generates a new state. That is, the state editing unit 31 records state information corresponding to the new state in the state data storage unit 13.

ステップS23において、ステート編集部31は、新規に生成されたステートを編集対象ステートに設定する。   In step S23, the state editing unit 31 sets the newly generated state as the editing target state.

ステップS24において、ステート編集部31は、編集対象ステートのステート情報に更新があるか否かを判定する。ここで更新の有無が判定されるのは、ステート情報のうちステート名や対応するステート枠の表示位置などの情報である。すなわち、ステート編集部31が編集するのは、ステート情報のうち、ステート名およびステート枠の表示位置の情報である。   In step S24, the state editing unit 31 determines whether there is an update in the state information of the editing target state. Here, whether or not there is an update is determined in the state information such as the state name and the display position of the corresponding state frame. That is, the state editing unit 31 edits the state name and the state frame display position information among the state information.

ステップS24において、ステート情報のうち、ステート名およびステート枠の表示位置の情報に更新があると判定された場合、ステップS25において、ステート編集部31は、更新された、ステート名およびステート枠の表示位置の情報を編集対象ステートのステート情報に反映させて更新する。   In step S24, when it is determined that the state name and the display position information of the state frame are updated in the state information, in step S25, the state editing unit 31 displays the updated state name and state frame. The position information is updated by reflecting it in the state information of the edit target state.

一方、ステップS24において、更新がないと判定された場合、ステップS25の処理は、スキップされる。   On the other hand, if it is determined in step S24 that there is no update, the process of step S25 is skipped.

ステップS26において、ステート編集処理の終了が指示されたか否かを判定し、終了が指示されない場合、その処理は、ステップS24に戻り、終了が指示されたと判定された場合、ステート編集処理は終了する。   In step S26, it is determined whether or not the end of the state editing process is instructed. If the end is not instructed, the process returns to step S24, and if it is determined that the end is instructed, the state editing process ends. .

また、ステップS21において、新規のステートの生成ではないと判定された場合、ステップS27において、既存のステートが選択されたか否かが判定される。すなわち、図12を参照して後述する表示処理により表示される、例えば、図2で示されるような状態遷移図表示画面114上に表示された既存のステート枠131乃至134のいずれかがポインタ150が操作部111により操作されて選択されたか否かにより、対応するステートA乃至Dのステートデータ格納部13により格納されているステート情報のいずれかが選択されたか否かが判定される。例えば、既存のステートのステート情報が選択された場合、ステップS28において、ステート編集部31は、選択されたステートを編集対象ステートに設定し、その処理は、ステップS24に進む。   If it is determined in step S21 that a new state is not generated, it is determined in step S27 whether an existing state is selected. In other words, any of the existing state frames 131 to 134 displayed on the state transition diagram display screen 114 as shown in FIG. Whether or not the state information stored in the state data storage unit 13 of the corresponding state A to D is selected is determined based on whether or not is selected by operating the operation unit 111. For example, when state information of an existing state is selected, in step S28, the state editing unit 31 sets the selected state as an editing target state, and the process proceeds to step S24.

一方、ステップS27において、既存のステートが選択されたと判定されなかった場合、その処理は、ステップS21に戻り、それ以降の処理が繰り返される。   On the other hand, if it is not determined in step S27 that an existing state has been selected, the process returns to step S21, and the subsequent processes are repeated.

すなわち、以上の処理により、新規のステート、または、既存のステートの何れかのステート情報について、ステート名およびステート枠の表示位置が、新たに設定されるか、または、更新されることになる。   That is, by the above processing, the state name and the display position of the state frame are newly set or updated for state information of a new state or an existing state.

次に、図6のフローチャートを参照して、トランジション編集処理について説明する。   Next, the transition editing process will be described with reference to the flowchart of FIG.

ステップS41において、トランジション編集部32は、既存のステートが選択されたか否かを判定し、選択されるまで、その処理を繰り返す。すなわち、図12を参照して後述する表示処理により表示される、例えば、図2で示されるような状態遷移図表示画面114上に表示された既存のステート枠131乃至134のいずれかがポインタ150が操作部111により操作されて選択されたか否かにより、対応するステートA乃至Dのステートデータ格納部13により格納されているステート情報のいずれかが選択されたか否かが判定される。そして、ステップS41において、例えば、既存のステートのステート情報が選択された場合、ステップS42において、トランジション編集部32は、選択されたステートを編集対象ステートに設定し、その処理は、ステップS43に進む。   In step S41, the transition editing unit 32 determines whether an existing state is selected, and repeats the process until it is selected. In other words, any of the existing state frames 131 to 134 displayed on the state transition diagram display screen 114 as shown in FIG. Whether or not the state information stored in the state data storage unit 13 of the corresponding state A to D is selected is determined based on whether or not is selected by operating the operation unit 111. In step S41, for example, when state information of an existing state is selected, in step S42, the transition editing unit 32 sets the selected state as an editing target state, and the process proceeds to step S43. .

ステップS43において、トランジション編集部32は、編集対象ステートのステート情報のうち、遷移先が指定されたか否かを判定する。すなわち、例えば、図2の状態遷移図表示画面114で示されるように、ステート枠131乃至134で示される状態A乃至Dのうち、例えば、状態Aが選択され、編集対象ステートに設定された場合、操作部111によりポインタ150をドラッグして状態Aのステート枠131を基点として、例えば、状態Dのステート枠134を終点とするトランジション141で示されるような矢印を引いた場合、遷移先が状態Dに設定されることになる。   In step S43, the transition editing unit 32 determines whether a transition destination is specified in the state information of the editing target state. That is, for example, as shown in the state transition diagram display screen 114 of FIG. 2, for example, when the state A is selected from the states A to D indicated by the state frames 131 to 134 and set as the editing target state When the operation unit 111 drags the pointer 150 to draw a state A state frame 131 as a base point and, for example, draws an arrow as indicated by the transition 141 having the state D state frame 134 as an end point, the transition destination is the state. D will be set.

そこで、ステップS43においては、トランジション編集部32は、このようにトランジションの矢印が編集対象ステートの状態を示すステート枠から遷移先を示す状態のステート枠までの矢印が引かれたか否かにより、遷移先が設定されたか否かを判定する。   Therefore, in step S43, the transition editing unit 32 changes the state depending on whether or not the arrow from the state frame indicating the state of the edit target state to the state frame indicating the transition destination is drawn. It is determined whether the destination is set.

ステップS43において、遷移先が設定されたと判定された場合、ステップS44において、トランジション編集部32は、イベントを指定するように要求する。より具体的には、すなわち、例えば、遷移先を指定する処理として、図2のトランジション141がポインタ150により引かれた場合、トランジション編集部32は、トランジションの横にイベントを指定する図示せぬ空欄を表示し、入力を促す。   If it is determined in step S43 that a transition destination has been set, in step S44, the transition editing unit 32 requests to specify an event. More specifically, for example, when the transition 141 in FIG. 2 is drawn by the pointer 150 as a process for designating the transition destination, the transition editing unit 32 specifies a blank space (not shown) for designating an event next to the transition. Is displayed and prompts for input.

ステップS45において、トランジション編集部32は、遷移する際のイベントが指定されたか否かを判定し、指定されたと判定されるまで、その処理を繰り返す。すなわち、トランジション編集部32は、その空欄にイベントを指定する情報が入力されたか否かを判定し、イベントが指定されたか否かを判定する。   In step S45, the transition editing unit 32 determines whether an event for transition is specified, and repeats the process until it is determined that the event has been specified. That is, the transition editing unit 32 determines whether or not information specifying an event is input to the blank, and determines whether or not an event is specified.

ステップS45において、イベントが指定されたと判定された場合、ステップS46において、トランジション編集部32は、ステートデータ格納部13にアクセスし、編集対象ステートのステート情報を読み出し、指定された遷移先とイベントの情報を反映させて更新する。すなわち、例えば、図2のトランジション141の場合、遷移先として「State D」が指定され、イベントとして、「KeyPress_x」が指定されるので、図3の左部で示されるように、遷移先とイベントに「State D」、および、「KeyPress_x」を追加して更新する。   If it is determined in step S45 that an event has been designated, in step S46, the transition editing unit 32 accesses the state data storage unit 13, reads the state information of the editing target state, and designates the designated transition destination and event. Update to reflect the information. That is, for example, in the case of the transition 141 in FIG. 2, “State D” is designated as the transition destination, and “KeyPress_x” is designated as the event. Therefore, as shown in the left part of FIG. "State D" and "KeyPress_x" are added and updated.

ステップS43において、遷移先が指定されていない場合、ステップS44乃至S46の処理がスキップされ、ステップS47において、トランジション編集処理の終了が指示されたか否かを判定し、終了が指示されない場合、処理は、ステップS43に戻る。すなわち、トランジション編集処理の終了が指示されるまで、ステップS43乃至S47の処理が繰り返される。   If the transition destination is not specified in step S43, the processing in steps S44 to S46 is skipped. In step S47, it is determined whether or not the end of the transition editing process is instructed. Return to step S43. That is, the processes in steps S43 to S47 are repeated until the end of the transition editing process is instructed.

そして、ステップS47において、トランジション編集処理の終了が指示された場合、その処理は終了する。   If the end of the transition editing process is instructed in step S47, the process ends.

以上の処理により、ポインタ150を操作部111により操作し、編集対象ステートのステート枠から遷移先のステート枠に矢印を引くだけで、トランジションの情報を編集することが可能となる。   With the above processing, the transition information can be edited simply by operating the pointer 150 with the operation unit 111 and drawing an arrow from the state frame of the edit target state to the state frame of the transition destination.

次に、図7のフローチャートを参照して、スクリプト編集処理について説明する。   Next, script editing processing will be described with reference to the flowchart of FIG.

ステップS61において、スクリプト編集部33は、既存のステートが選択されたか否かを判定し、選択されるまで、その処理を繰り返す。すなわち、図12を参照して後述する表示処理により表示される、例えば、図2で示されるような状態遷移図表示画面114上に表示された既存のステート枠131乃至134のいずれかがポインタ150が操作部111により操作されて選択されたか否かにより、対応するステートA乃至Dのステートデータ格納部13により格納されているステート情報のいずれかが選択されたか否かが判定される。そして、ステップS61において、例えば、既存のステートのステート情報が選択された場合、ステップS62において、スクリプト編集部33は、選択されたステートを編集対象ステートに設定し、その処理は、ステップS63に進む。   In step S61, the script editing unit 33 determines whether an existing state is selected, and repeats the process until it is selected. In other words, any of the existing state frames 131 to 134 displayed on the state transition diagram display screen 114 as shown in FIG. Whether or not the state information stored in the state data storage unit 13 of the corresponding state A to D is selected is determined based on whether or not is selected by operating the operation unit 111. In step S61, for example, when state information of an existing state is selected, in step S62, the script editing unit 33 sets the selected state as an editing target state, and the process proceeds to step S63. .

ステップS63において、スクリプト編集部33は、スクリプトが更新されたか否かを判定する。より詳細には、後述する表示処理により、図2で示されるスクリプト表示画面115には、編集対象ステートのスクリプト情報が表示される。そこで、ポインタ150が操作部111により操作され、スクリプト表示画面115が選択されると、操作部111のキーボードによりスクリプト情報の記述内容を入力または更新することができる。そこで、スクリプト編集部33は、スクリプト表示画面115の記述内容が、操作部111のキーボードにより更新されたか否かを判定する。   In step S63, the script editing unit 33 determines whether the script has been updated. More specifically, the script information of the edit target state is displayed on the script display screen 115 shown in FIG. Therefore, when the pointer 150 is operated by the operation unit 111 and the script display screen 115 is selected, the description content of the script information can be input or updated using the keyboard of the operation unit 111. Therefore, the script editing unit 33 determines whether the description content of the script display screen 115 has been updated by the keyboard of the operation unit 111.

ステップS63において、例えば、スクリプト情報が更新されたと判定された場合、スクリプト編集部33は、ステートデータ13にアクセスし、編集対象ステートのステート情報を読み出し、スクリプト表示画面115上で編集された情報に基づいて、スクリプトを変更して、ステート情報を更新する。   In step S63, for example, when it is determined that the script information has been updated, the script editing unit 33 accesses the state data 13, reads the state information of the state to be edited, and displays the edited information on the script display screen 115. Based on this, the script is changed to update the state information.

ステップS65において、ステート編集部33は、ステート編集処理の終了が指示されたか否かを判定し、終了が指示されていない場合、その処理は、ステップS61に戻る。また、ステート編集処理の終了が指示された場合、その処理は、終了する。   In step S65, the state editing unit 33 determines whether or not the end of the state editing process is instructed. If the end is not instructed, the process returns to step S61. If the end of the state editing process is instructed, the process ends.

一方、ステップS61において、既存のステートが選択されなかったと判定された場合、ステップS66において、スクリプト編集部33は、リンクファイルが選択されたか否かを判定する。すなわち、例えば、図2で示されるリンクリスト112上のいずれかのリンクファイルを示すアイコンがポインタ150が操作部111により操作されることにより選択されたか否かを判定する。   On the other hand, if it is determined in step S61 that no existing state has been selected, the script editing unit 33 determines in step S66 whether or not a link file has been selected. That is, for example, it is determined whether or not an icon indicating one of the link files on the link list 112 shown in FIG. 2 is selected by operating the pointer 150 by the operation unit 111.

例えば、ステップS66において、リンクファイルが選択されたと判定された場合、ステップS67において、スクリプト編集部33は、選択されたリンクファイルがいずれかの状態を示すステート枠内にドロップされたか否かを判定する。すなわち、図2である場合、選択されたリンクファイルが、ステート枠131乃至134のいずれかにドロップされたか否かが判定される。   For example, if it is determined in step S66 that a link file has been selected, in step S67, the script editing unit 33 determines whether or not the selected link file has been dropped into a state frame indicating any state. To do. That is, in the case of FIG. 2, it is determined whether or not the selected link file is dropped in any of the state frames 131 to 134.

例えば、図2のリンクリスト表示画面112に表示されている「temple」と表示されたアイコンがポインタ150によりドラッグされ、状態Dを示すステート枠134にドロップされた場合、リンクファイルがドロップされたと判定され、その処理は、ステップS68に進む。   For example, when the icon displayed as “temple” displayed on the link list display screen 112 in FIG. 2 is dragged by the pointer 150 and dropped on the state frame 134 indicating the state D, it is determined that the link file has been dropped. Then, the process proceeds to step S68.

ステップS68において、スクリプト編集部33は、リンクファイルがドロップされたステート枠のステートを編集対象ステートに設定する。すなわち、今の場合、編集対象ステートは、ステート枠134で示される状態Dが設定される。   In step S68, the script editing unit 33 sets the state of the state frame in which the link file is dropped as the editing target state. In other words, in this case, the state D indicated by the state frame 134 is set as the editing target state.

ステップS69において、スクリプト編集部33は、開始フレームを指定するためのダイアログボックスを表示する。すなわち、このダイアログボックスは、例えば、図8で示されるようなものである。図8において、ダイアログボックス151が表示されている。ダイアログボックス151の上部には、オブジェクト名表示欄152が設けられており、リンクファイルのファイル名が表示される。今の場合、「temple」と表示される。   In step S69, the script editing unit 33 displays a dialog box for designating a start frame. That is, this dialog box is, for example, as shown in FIG. In FIG. 8, a dialog box 151 is displayed. An object name display field 152 is provided at the top of the dialog box 151, and displays the file name of the link file. In this case, “temple” is displayed.

オブジェクト名表示欄151の下には、開始位置指定欄154が設けられており、チェックボタン153がチェックされているとき、表示開始位置を示す情報をドロップダウンボタン154aを操作して設定する。ドロップダウンボタン154が押下されると、例えば、「Start」または「end」といった「temple」の動画の開始位置を指定する。また、チェックボタン155がチェックされると、アップボタン156a、およびダウンボタン156bを操作して直接フレーム番号指定欄156により開始フレーム番号を指定することができる。尚、図8において、「1≦Frame Number≦10」とあるのは、全部でフレーム数が10枚であった場合の例が示されており、開始フレーム番号としては、その範囲内で選択できることを示している。従って、「1≦Frame Number≦10」の記述は、そうフレーム数により変更するものである。   Below the object name display field 151, a start position designation field 154 is provided. When the check button 153 is checked, information indicating the display start position is set by operating the drop-down button 154a. When the drop-down button 154 is pressed, for example, the start position of a “temple” moving image such as “Start” or “end” is designated. When the check button 155 is checked, the start frame number can be directly designated by the frame number designation column 156 by operating the up button 156a and the down button 156b. In FIG. 8, “1 ≦ Frame Number ≦ 10” indicates an example in which the number of frames is 10 in total, and the start frame number can be selected within the range. Is shown. Therefore, the description of “1 ≦ Frame Number ≦ 10” is changed depending on the number of frames.

さらに、その下には、左側に「OK」ボタン157が設けられ、設定した内容に更新するよう指示するとき操作部111により操作される。同様に、右側に「Cancel」ボタン157が設けられ、設定した内容に更新しないように指示するとき操作部111により操作される。   In addition, an “OK” button 157 is provided on the left side below, and is operated by the operation unit 111 when instructing to update the set content. Similarly, a “Cancel” button 157 is provided on the right side, and is operated by the operation unit 111 when instructing not to update the set content.

ステップS70において、スクリプト編集部33は、開始フレームが設定されたか否かを判定し、設定されるまで、その処理を繰り返す。例えば、開始フレームが設定されたと判定された場合、スクリプト編集部33は、ステートデータ格納部13にアクセスし、編集対象ステートのステート情報を読み出し、編集対象ステートのドロップされたリンクファイルの情報に基づいて、編集対象ステートのスクリプトを更新する。すなわち、上述したように、「temple」というアニメーション動画がドロップされると、例えば、図9で示されるようにスクリプトが更新される。図9においては、「Exit /_esroot.temple.hide();_esroot.temple.stop();」および「Entry /_esroot.temple.show();_esroot.temple.gotoAndPlay();」と記述されており、状態Dの動作を終了するときには、「temple」というリンクファイルのアニメーションの表示を隠して、停止させることが示されており、状態Dの動作を開始するときには、「temple」というリンクファイルを表示し、アニメーションの再生を開始させることが示されている。   In step S70, the script editing unit 33 determines whether or not a start frame is set, and repeats the process until it is set. For example, when it is determined that the start frame is set, the script editing unit 33 accesses the state data storage unit 13 to read the state information of the editing target state and based on the information of the link file in which the editing target state is dropped. Update the script of the edit target state. That is, as described above, when the animation movie “temple” is dropped, for example, the script is updated as shown in FIG. In FIG. 9, "Exit /_esroot.temple.hide (); _ esroot.temple.stop ();" and "Entry /_esroot.temple.show (); _ esroot.temple.gotoAndPlay ();" are described. When the operation of state D is finished, it is shown that the animation display of the link file “temple” is hidden and stopped, and when the operation of state D is started, the link file “temple” is displayed. Display and start playing animation.

ステップS66において、リンクファイルが選択されなかった場合、その処理は、ステップS61に戻り、それ以降の処理が繰り返される。   If the link file is not selected in step S66, the process returns to step S61, and the subsequent processes are repeated.

以上の処理により、スクリプト表示画面115に直接スクリプトを入力するか、または、リンクファイルを直接ドラッグして、編集対象ステートにドロップすることにより、スクリプトが編集される。   Through the above processing, the script is edited by inputting the script directly on the script display screen 115 or by directly dragging the link file and dropping it in the edit target state.

次に、図10のフローチャートを参照して、状態遷移プログラム実行処理について説明する。   Next, the state transition program execution process will be described with reference to the flowchart of FIG.

ステップS91において、状態遷移エンジン16は、操作部11より送信されてくる操作信号に基づいて、状態遷移図表示画面114上のいずれかのステートが選択されたか否かを判定し、選択されるまで、その処理を繰り返す。より詳細には、状態遷移エンジン16は、操作部11より供給されてくる信号に基づいて、例えば、図2の状態遷移図表示画面114上のステート枠131乃至134のいずれかが、ポインタ150により選択されたか否かを判定し、いずれかのステートが選択されるまで、その処理を繰り返す。   In step S91, the state transition engine 16 determines whether any state on the state transition diagram display screen 114 has been selected based on the operation signal transmitted from the operation unit 11, and until it is selected. Repeat the process. More specifically, based on the signal supplied from the operation unit 11, for example, the state transition engine 16 causes any of the state frames 131 to 134 on the state transition diagram display screen 114 of FIG. It is determined whether or not it has been selected, and the process is repeated until any state is selected.

ステップS91において、例えば、いずれかのステートが選択された場合、ステップS92において、状態遷移エンジン16は、選択されたステートをカレントステートとして設定する。すなわち、状態遷移エンジン16は、操作部11からの信号に基づいて、例えば、図2の状態遷移図表示画面114上のステート枠131乃至134のうち、ポインタ150により選択されたステート枠に対応するステートをカレントステートに設定する。また、このとき、状態遷移エンジン16は、カレントステートがいずれのステートであるかを示す情報を状態遷移図生成部15に供給する。この情報により、図11のフローチャートを参照して、後述する状態遷移図生成処理においてカレントステートのステート枠の表示色を変えて表示させる。   In step S91, for example, when any state is selected, in step S92, the state transition engine 16 sets the selected state as the current state. That is, the state transition engine 16 corresponds to the state frame selected by the pointer 150 among the state frames 131 to 134 on the state transition diagram display screen 114 of FIG. 2 based on the signal from the operation unit 11, for example. Set the state to the current state. At this time, the state transition engine 16 supplies information indicating which state the current state is to the state transition diagram generation unit 15. With this information, the display state of the state frame of the current state is changed and displayed in a state transition diagram generation process to be described later with reference to the flowchart of FIG.

ステップS93において、状態遷移エンジン16は、ステートデータ格納部13にアクセスし、カレントステートのステート情報を読み出し、状態動作実行部17に供給する。   In step S <b> 93, the state transition engine 16 accesses the state data storage unit 13, reads state information of the current state, and supplies it to the state operation execution unit 17.

ステップS94において、状態動作実行部17は、供給されたカレントステートのステート情報を解釈する。すなわち、状態動作実行部17は、供給されたカレントステートのステート情報のうち、特に、スクリプト情報を読み出して、その状態における動作を認識する。   In step S94, the state operation execution unit 17 interprets the supplied state information of the current state. That is, the state operation execution unit 17 reads out script information, in particular, of the supplied current state state information, and recognizes the operation in that state.

ステップS95において、状態動作実行部17は、ステート情報により解釈された動作において、リンクファイルが設定されているか否かを判定する。   In step S95, the state operation executing unit 17 determines whether or not a link file is set in the operation interpreted based on the state information.

ステップS95において、例えば、リンクファイルが設定されていると判定された場合、ステップS96において、状態動作実行部17は、開始フレームを検索する。すなわち、状態動作実行部17は、リンクデータ格納部14にアクセスし、リンクファイルとして設定されているリンクファイルを読み出し、スクリプトに記述されている開始フレームの情報(位置、または、フレーム番号)に基づいて、開始フレームを検索する。   In step S95, for example, when it is determined that a link file is set, in step S96, the state operation execution unit 17 searches for a start frame. That is, the state operation execution unit 17 accesses the link data storage unit 14, reads the link file set as the link file, and based on the information (position or frame number) of the start frame described in the script. To search for the start frame.

ステップS97において、状態動作実行部17は、検索された開始フレームからリンクファイルであるアニメーションファイルの再生を開始する。このとき、状態動作実行部17は、再生したアニメーションの画像情報を表示制御部18に供給する。   In step S97, the state action execution unit 17 starts playing the animation file that is the link file from the searched start frame. At this time, the state operation execution unit 17 supplies the image information of the reproduced animation to the display control unit 18.

一方、ステップS95において、リンクファイルがないと判定された場合、ステップS98において、スクリプト情報に記述されている処理を実行する。尚、ここでは、スクリプト情報に記述されている処理とは、リンクファイルを再生する処理以外のものが実行されることを示している。   On the other hand, if it is determined in step S95 that there is no link file, the process described in the script information is executed in step S98. Here, the process described in the script information indicates that a process other than the process of reproducing the link file is executed.

ステップS99において、状態動作実行部17は、状態遷移処理の終了が指示されたか否かを判定する。すなわち、状態動作実行部17は、操作部11からの信号に基づいて、状態遷移処理の終了が指示されたか否かを判定し、終了が指示されていない場合、その処理は、ステップS100に進む。   In step S99, the state operation executing unit 17 determines whether or not the end of the state transition process is instructed. That is, the state operation executing unit 17 determines whether or not the end of the state transition process is instructed based on the signal from the operation unit 11, and if the end is not instructed, the process proceeds to step S100. .

ステップS100において、状態遷移エンジン16は、イベントが発生したか否かを判定する。すなわち、状態遷移エンジン16は、イベント検出部20により検出されたイベントの情報が供給されてきたか否かを判定し、イベントがない場合、その処理は、ステップS95に戻り、以降の処理が繰り返される。すなわち、イベントが検出されるまで、ステップS95乃至S100の処理が繰り返される。一方、ステップS100において、イベントがあると判定された場合、その処理は、ステップS101に進む。   In step S100, the state transition engine 16 determines whether an event has occurred. That is, the state transition engine 16 determines whether or not the information of the event detected by the event detection unit 20 has been supplied. If there is no event, the process returns to step S95 and the subsequent processes are repeated. . That is, steps S95 to S100 are repeated until an event is detected. On the other hand, if it is determined in step S100 that there is an event, the process proceeds to step S101.

ステップS101において、状態遷移エンジン16は、供給されてきたイベントの情報により遷移先が設定されているか否かを判定する。すなわち、ステート情報が、図3で示されるものであって、現在の状態がステートAであった場合、例えば、イベントとして、操作部11のキーボードのうち「A」のキーが操作されるというイベントが発生したとしても、遷移先が設定されていないことになる。このため、このような場合、その処理は、ステップS95に戻る。すなわち、実質的に、イベントの発生がなかったものとして処理される。   In step S101, the state transition engine 16 determines whether or not a transition destination is set based on the supplied event information. That is, when the state information is shown in FIG. 3 and the current state is state A, for example, as an event, an event that the “A” key of the keyboard of the operation unit 11 is operated. Even if this occurs, the transition destination is not set. Therefore, in such a case, the process returns to step S95. That is, it is processed as if the event did not substantially occur.

一方、ステップS101において、遷移先があると判定された場合、すなわち、ステート情報が、図3で示されるものであって、現在の状態がステートAであった場合、例えば、イベントとして、操作部11のキーボードのうち「2」のキーが操作されるというイベントが発生すると、遷移先Bに設定されている。そこで、ステップS102において、状態遷移エンジン16は、遷移先のステートをカレントステートに設定し、その処理は、ステップS93に戻り、それ以降の処理が繰り返される。すなわち、この処理により、新たな遷移先となるステートBをカレントステートに設定し、ステップS93以降の処理が繰り返される。   On the other hand, if it is determined in step S101 that there is a transition destination, that is, if the state information is as shown in FIG. 3 and the current state is state A, for example, as an event, the operation unit When an event occurs in which the “2” key of 11 keyboards is operated, the transition destination B is set. Therefore, in step S102, the state transition engine 16 sets the transition destination state as the current state, the process returns to step S93, and the subsequent processes are repeated. That is, by this process, the state B as a new transition destination is set as the current state, and the processes after step S93 are repeated.

以上の処理により、状態遷移エンジン16が、イベント検出部20より供給されてくるイベントの情報により状態遷移図に従って状態を変化させると共に、対応する状態のステート情報を読み出して、状態動作実行部17に供給することが可能となる。また、状態動作実行部17は、ユーザの操作に基づいて設定されている状態を変化させると共に、状態動作実行部17は、対応する状態においてスクリプトで規定される動作を実行することが可能となる、   As a result of the above processing, the state transition engine 16 changes the state according to the state transition diagram based on the event information supplied from the event detection unit 20 and reads the state information of the corresponding state to the state operation execution unit 17. It becomes possible to supply. Further, the state operation execution unit 17 changes the state set based on the user's operation, and the state operation execution unit 17 can execute the operation specified by the script in the corresponding state. ,

次に、図11のフローチャートを参照して、状態遷移図生成処理について説明する。   Next, state transition diagram generation processing will be described with reference to the flowchart of FIG.

ステップS121において、状態遷移図生成部15は、ステートデータ格納部13にアクセスし、格納されている全ステートデータを読み出す。   In step S121, the state transition diagram generation unit 15 accesses the state data storage unit 13 and reads all stored state data.

ステップS122において、ステート枠生成部42は、全てのステート情報毎に状態遷移図上のステート枠を生成すると共に、スクリプト情報に基づいて、全スクリプトの記述内容をステート枠内に記述する。   In step S122, the state frame generation unit 42 generates a state frame on the state transition diagram for every state information, and describes the description contents of all scripts in the state frame based on the script information.

ステップS123において、トランジション付加部43は、ステート情報のうち、イベントと対応する遷移先の情報に基づいて、トランジションを生成する。   In step S123, the transition adding unit 43 generates a transition based on the transition destination information corresponding to the event in the state information.

ステップS124において、リンクファイル付きステート検索部44は、全ステート情報におけるスクリプト情報のうち、リンクファイルが設定されているステートを検索し、検索結果をアイコン付加部43に供給する。   In step S <b> 124, the link file state search unit 44 searches the script information in all state information for the state in which the link file is set, and supplies the search result to the icon adding unit 43.

ステップS125において、アイコン付加部43は、リンクファイル付きステート検索部44より供給された、リンクファイルが設定されたステートのステート枠内にアイコンを付加する。   In step S125, the icon adding unit 43 adds an icon in the state frame of the state in which the link file is set supplied from the link file state search unit 44.

ステップS126において、ステート枠生成部41は、カレントステートが指定されているか否かを判定し、例えば、カレントステートが選択されていた場合、その処理は、ステップS127に進む。   In step S126, the state frame generation unit 41 determines whether or not the current state is designated. For example, when the current state is selected, the process proceeds to step S127.

ステップS127において、ステート枠生成部41は、カレントステートに設定されているステートのステート枠内の表示色を他のステート枠の表示色と異なる表示色に指定する。   In step S127, the state frame generation unit 41 specifies the display color in the state frame of the state set to the current state as a display color different from the display colors of the other state frames.

ステップS128において、状態遷移図生成部15は、ステート枠生成部41により生成されたステート枠、トランジション生成部42により生成されたトランジションに基づいて、状態遷移図を構成する情報を生成し、表示制御部18に供給する。   In step S128, the state transition diagram generation unit 15 generates information constituting the state transition diagram based on the state frame generated by the state frame generation unit 41 and the transition generated by the transition generation unit 42, and performs display control. Supply to unit 18.

一方、ステップS126において、カレントステートが設定されていない場合、ステップS127の処理はスキップされる。   On the other hand, if the current state is not set in step S126, the process of step S127 is skipped.

以上の処理により、ステートデータ格納部13に格納されているステート情報に基づいて、状態遷移図が生成され、表示制御部18に供給することが可能となる。また、リンクファイルが設定されているステート枠内にはリンクファイルが存在することを示すアイコンが含まれることになるので、図12を参照して後述する表示処理により表示部19に表示される状態遷移図表示画面114において、ステート枠内にアイコンとして表示されることになるので、リンクファイルの有無を容易に認識することが可能となる。また、例えば、ステップS92(図10)のような処理により、カレントステートが設定されている場合、カレントステートが設定されたステート枠の表示色が、他のステート枠と異なる表示色となるため、カレントステートを容易に認識することが可能となる。   With the above processing, a state transition diagram is generated based on the state information stored in the state data storage unit 13 and can be supplied to the display control unit 18. In addition, since an icon indicating that a link file exists is included in the state frame in which the link file is set, the state frame is displayed on the display unit 19 by the display process described later with reference to FIG. Since it is displayed as an icon in the state frame on the transition diagram display screen 114, the presence or absence of the link file can be easily recognized. Further, for example, when the current state is set by the process of step S92 (FIG. 10), the display color of the state frame in which the current state is set becomes a display color different from the other state frames. The current state can be easily recognized.

次に、図12のフローチャートを参照して、表示処理について説明する。   Next, display processing will be described with reference to the flowchart of FIG.

ステップS141において、状態遷移図表示制御部52は、状態遷移図生成部15より供給されてくる状態遷移図の情報に基づいて、状態遷移図表示画面114を表示する。   In step S141, the state transition diagram display control unit 52 displays the state transition diagram display screen 114 based on the state transition diagram information supplied from the state transition diagram generation unit 15.

ステップS142において、ステートリスト表示制御部53は、ステートデータ格納部13にアクセスし、格納されているステート情報に基づいて、ステートリストを生成し、ステートリスト表示画面111を表示する。   In step S142, the state list display control unit 53 accesses the state data storage unit 13, generates a state list based on the stored state information, and displays the state list display screen 111.

ステップS143において、リンクリスト表示制御部54は、リンクデータ格納部14にアクセスし、リンクファイルとして使用可能なファイルを読み出してリンクリスト表示画面112を生成して表示する。   In step S143, the link list display control unit 54 accesses the link data storage unit 14, reads a file that can be used as a link file, and generates and displays the link list display screen 112.

ステップS144において、状態動作表示制御部55は、状態遷移図生成部15より供給される情報に基づいて、カレントステートが指定されているか否かを判定する。ステップS144において、例えば、カレントステートが指定されていると判定された場合、ステップS145において、状態動作表示制御部55は、カレントステートとして設定されている、状態動作実行部17により実行されている動作内容に基づいて動作表示画面113を表示する。   In step S144, the state operation display control unit 55 determines whether or not the current state is designated based on the information supplied from the state transition diagram generation unit 15. For example, when it is determined in step S144 that the current state is designated, in step S145, the state operation display control unit 55 performs the operation executed by the state operation executing unit 17 set as the current state. The operation display screen 113 is displayed based on the content.

ステップS146において、スクリプト表示制御部51は、ステートデータ格納部13にアクセスし、カレントステートに指定されているステート情報のうち、スクリプト情報を読み出して表示し、その処理は、ステップS141に戻る。   In step S146, the script display control unit 51 accesses the state data storage unit 13, reads out and displays the script information out of the state information designated as the current state, and the processing returns to step S141.

ステップS144において、カレントステートが指定されていない場合、ステップS145,S146の処理は、スキップされる。   If the current state is not designated in step S144, the processes in steps S145 and S146 are skipped.

以上の処理により、図2で示されるような、ステートリスト画面111、リンクリスト画面112、動作表示画面113、状態遷移図表示画面114、およびスクリプト画面115からなる表示画面101が表示部19に表示される。   Through the above processing, the display screen 101 including the state list screen 111, the link list screen 112, the operation display screen 113, the state transition diagram display screen 114, and the script screen 115 as shown in FIG. Is done.

以上、図4の状態遷移プログラム編集処理、図5のステート編集処理、図6のトランジション編集処理、図7のスクリプト編集処理、図10の状態遷移プログラム実行処理、図11の状態遷移図生成処理、図12の表示処理により以下のような動作が実現される。   The state transition program editing process in FIG. 4, the state editing process in FIG. 5, the transition editing process in FIG. 6, the script editing process in FIG. 7, the state transition program execution process in FIG. 10, the state transition diagram generation process in FIG. The following operations are realized by the display process of FIG.

例えば、図2におけるリンクリスト画像112の「temple」で示されるリンクファイルがドラッグされ、ステート枠134で示される状態D(State D)上でドロップされると、図4におけるステップS5において、スクリプト処理が実行されたものと判定され、ステップS6で示されるスクリプト編集処理が実行される。   For example, when the link file indicated by “temple” in the link list image 112 in FIG. 2 is dragged and dropped on the state D (State D) indicated by the state frame 134, script processing is performed in step S5 in FIG. Is determined to have been executed, and the script editing process shown in step S6 is executed.

さらに、図7のスクリプト編集処理におけるステップS61の処理において、既存のステートが編集されていないと判定されるので、ステップS66において、リンクファイルが選択されたと判定され、さらに、ステップS67において、リンクファイルがいずれかのステート枠内にドラッグアンドドロップされたと判定される。   Furthermore, since it is determined in step S61 in the script editing process of FIG. 7 that the existing state has not been edited, it is determined in step S66 that a link file has been selected, and in step S67, the link file is selected. Is dragged and dropped into one of the state frames.

また、ステップS68において、リンクファイルがドロップされたステートが編集対象ステートに設定され、ステップS69において、図8で示されるような開始フレームを指定するためのダイアログボックスが表示され、ステップS70において、開始フレームが指定されたと判定されると、ステップS71において、ドロップされたリンクファイルの情報に基づいて、編集対象ステートのステート情報が更新される。この結果、図9で示されるようにステート情報におけるスクリプトが、状態Dに遷移されるとき、ドロップされたリンクファイルの再生が開始され、状態Dから他の状態に遷移されるとき、ドロップされたリンクファイルの再生が停止されるような記述に更新される。   In step S68, the state in which the link file is dropped is set as the editing target state. In step S69, a dialog box for designating a start frame as shown in FIG. 8 is displayed. In step S70, the start is started. If it is determined that the frame is designated, in step S71, the state information of the edit target state is updated based on the information of the dropped link file. As a result, as shown in FIG. 9, when the script in the state information transitions to the state D, the reproduction of the dropped link file is started, and when the script is transitioned from the state D to another state, the script is dropped. The description is updated so that playback of the link file is stopped.

さらに、この状態で、ステート枠134が選択された状態となるため、図10のステップS91において、ステートが選択されたと判定され、ステップS92において、選択されたステート、すなわち、状態Dがカレントステートに設定される。   Furthermore, since the state frame 134 is selected in this state, it is determined in step S91 in FIG. 10 that the state has been selected, and in step S92, the selected state, that is, the state D becomes the current state. Is set.

また、ステップS93において、カレントステートである状態Dのステート情報が読み出され、ステップS94において、カレントステートのステート情報が解釈される。さらに、ステップS95において、リンクファイルがあると判定されるので、ステップS96において、開始フレームが検索されて、開始フレームよりリンクファイルである「temple」のアニメーションの再生が開始される。   In step S93, the state information of state D, which is the current state, is read, and in step S94, the state information of the current state is interpreted. Furthermore, since it is determined in step S95 that there is a link file, a start frame is searched in step S96, and reproduction of an animation of “temple” that is a link file is started from the start frame.

さらに、この状態で、図11の状態遷移図生成処理のステップS124において、スクリプトに基づいてリンクファイルが設定されているステートとして状態Dが検索され、ステップS125において、検索された状態Dのステート枠134内にリンクファイルが設定されていることを示すアイコンが付加され、ステップS127において、カレントステートであるステート枠134が他のステート枠とは別の表示色に設定される。   Further, in this state, in step S124 of the state transition diagram generation process of FIG. 11, the state D is searched as a state in which the link file is set based on the script. In step S125, the state frame of the searched state D is searched. An icon indicating that a link file is set is added in 134, and in step S127, the state frame 134 which is the current state is set to a display color different from other state frames.

また、図12の表示処理のステップS141においては、図13の状態遷移図表示画面114で示されるように、ステート枠134内には、スクリプトDである「Exit /_esroot.temple.hide();_esroot.temple.stop();」、および「Entry /_esroot.temple.show();_esroot.temple.gotoAndPlay();」が記述されると共に、リンクファイルが設定されていることを示すアイコン134aが表示される。また、カレントステートである状態Dを示すステート枠134は、他のステート枠とは異なる表示色が表示される。   Also, in step S141 of the display process of FIG. 12, as shown in the state transition diagram display screen 114 of FIG. 13, “Exit / _esroot.temple.hide (); _esroot.temple.stop (); ”and“ Entry /_esroot.temple.show (); _ esroot.temple.gotoAndPlay (); ”are described, and an icon 134a indicating that the link file is set Is displayed. The state frame 134 indicating the state D which is the current state displays a display color different from that of the other state frames.

さらに、ステップS145において、カレントステートの状態動作が、動作表示画面113に表示される。図13においては、リンクファイル「temple」が再生されていることが示されている(寺社の画像が表示されている)。   Further, in step S145, the state operation in the current state is displayed on the operation display screen 113. In FIG. 13, it is shown that the link file “temple” is being reproduced (images of temples and shrines are displayed).

また、ステップS146において、スクリプトDの情報が、スクリプト画面115に表示される。図13においては、「Exit /_esroot.temple.hide();_esroot.temple.stop();」、および「Entry /_esroot.temple.show();_esroot.temple.gotoAndPlay();」が表示され、ポインタ150を移動させることで、編集することが可能である。   In step S146, the script D information is displayed on the script screen 115. In FIG. 13, “Exit /_esroot.temple.hide (); _ esroot.temple.stop ();” and “Entry /_esroot.temple.show (); _ esroot.temple.gotoAndPlay ();” are displayed. It is possible to edit by moving the pointer 150.

また、図14は、上述の操作と同様の操作により、状態A,Cを示すステート枠131,133にそれぞれ「forest」、および「flower」がドラッグアンドドロップされた後の状態が示されている。   FIG. 14 shows a state after “forest” and “flower” are dragged and dropped in the state frames 131 and 133 indicating the states A and C, respectively, by the same operation as described above. .

ステート枠131には、「Exit /_esroot.forest.hide();_esroot.forest.stop();」、および「Entry /_esroot.forest.show();_esroot.forest.gotoAndPlay();」と表示され、さらに、リンクファイルが存在することを示すアイコン131aが表示されている。また、同様に、ステート枠133には、「Exit /_esroot.flower.hide();_esroot.flower.stop();」、および「Entry /_esroot.flower.show();_esroot.flower.gotoAndPlay();」と表示され、さらに、リンクファイルが存在することを示すアイコン133aが表示されている。   The state frame 131 displays "Exit /_esroot.forest.hide (); _ esroot.forest.stop ();" and "Entry /_esroot.forest.show (); _ esroot.forest.gotoAndPlay ();" In addition, an icon 131a indicating that a link file exists is displayed. Similarly, the state frame 133 includes “Exit /_esroot.flower.hide (); _ esroot.flower.stop ();” and “Entry /_esroot.flower.show (); _ esroot.flower.gotoAndPlay ( ”;” And an icon 133a indicating that a link file exists.

さらに、図14においては、ポインタ150が、ステート枠133上に存在し、カレントステートとして設定されいるため、ステート枠133は他のステート枠とは表示色が異なっている。また、スクリプト表示画面115には、ステート枠133に記述されているスクリプトが表示されている。   Further, in FIG. 14, since the pointer 150 exists on the state frame 133 and is set as the current state, the display color of the state frame 133 is different from other state frames. On the script display screen 115, a script described in the state frame 133 is displayed.

また、動作表示画面113には、カレントステートである状態Cにおいて再生されるリンクファイル「flower」が再生されることが示されている。   In addition, the operation display screen 113 indicates that the link file “flower” that is reproduced in the state C that is the current state is reproduced.

さらに、図14の状態で、「flower2」で示されるアイコンが、状態Bのステート枠132上にドラッグアンドドロップされると、図7のステップS69の処理により、図15で示されるようなダイアログボックスが表示され、例えば、30フレーム目から再生を開始させるようにする場合、図15で示されるように、チェックボタン155’がチェックされ、フレーム番号指定欄156’に「30」が入力され、「OK」ボタン157が操作される。   Furthermore, in the state of FIG. 14, when the icon indicated by “flower2” is dragged and dropped onto the state frame 132 of state B, a dialog box as shown in FIG. 15 is obtained by the process of step S69 of FIG. Is displayed. For example, when starting playback from the 30th frame, as shown in FIG. 15, the check button 155 ′ is checked, “30” is input to the frame number designation field 156 ′, and “ The “OK” button 157 is operated.

このため、図16で示されるように、ステート枠132で示されるように、「Exit /_esroot.flower2.hide();_esroot.flower2.stop();」、および「Entry /_esroot.flower2.show();_esroot.flower2.gotoAndPlay();」と表示され、さらに、リンクファイルが存在することを示すアイコン132aが表示されている。   Therefore, as shown in FIG. 16, as shown in the state frame 132, “Exit /_esroot.flower2.hide (); _ esroot.flower2.stop ();” and “Entry /_esroot.flower2.show” (); _ esroot.flower2.gotoAndPlay (); "and an icon 132a indicating that a link file exists.

さらに、図16においては、ステート枠132が、カレントステートとして設定されいるため、ステート枠132は他のステート枠とは表示色が異なっている。また、スクリプト表示画面115には、ステート枠132に記述されているスクリプトが表示されており、動作表示画面115には、「flower2」のリンクファイルに対応するアニメーション画像が表示されている。   Further, in FIG. 16, since the state frame 132 is set as the current state, the display color of the state frame 132 is different from the other state frames. Further, the script described in the state frame 132 is displayed on the script display screen 115, and an animation image corresponding to the link file “flower2” is displayed on the operation display screen 115.

以上の処理により、図17で示されるように、ステートデータ格納部13に格納されている各ステート毎のステート情報は、スクリプトA乃至Dは、図15の状態遷移図表示画面114で示される状態遷移図が記述されるように更新されることになる。   As a result of the above processing, as shown in FIG. 17, the state information for each state stored in the state data storage unit 13 includes the scripts A to D shown in the state transition diagram display screen 114 of FIG. It will be updated as the transition diagram is described.

ここで、図17においては、左から状態A乃至Dのステート情報が示されている。尚、イベントおよび遷移先については、図3における場合と同様である。   Here, in FIG. 17, state information of states A to D is shown from the left. The event and the transition destination are the same as those in FIG.

すなわち、状態A(State A)のスクリプトAは、「Exit /_esroot.forest.hide();_esroot.forest.stop();」、および「Entry /_esroot.forest.show();_esroot.forest.gotoAndPlay();」であり、状態B(State B)のスクリプトBは、「Exit /_esroot.flower2.hide();_esroot.flower2.stop();」、および「Entry /_esroot.flower2.show();_esroot.flower2.gotoAndPlay();」であり、状態C(State C)のスクリプトCは、「Exit /_esroot.flower.hide();_esroot.flower.stop();」、および「Entry /_esroot.flower.show();_esroot.flower.gotoAndPlay();」であり、状態D(State D)のスクリプトDは、「Exit /_esroot.temple.hide();_esroot.temple.stop();」、および「Entry /_esroot.temple.show();_esroot.temple.gotoAndPlay();」である。   That is, the script A in the state A (State A) is “Exit /_esroot.forest.hide (); _ esroot.forest.stop ();” and “Entry /_esroot.forest.show();_esroot.forest. gotoAndPlay (); "and the script B in State B is" Exit /_esroot.flower2.hide (); _ esroot.flower2.stop (); "and" Entry /_esroot.flower2.show ( ); _ esroot.flower2.gotoAndPlay (); ", and the script C in the state C (State C) is" Exit /_esroot.flower.hide (); _ esroot.flower.stop (); "and" Entry / _esroot.flower.show (); _ esroot.flower.gotoAndPlay (); ", and the script D of the state D (State D) is" Exit /_esroot.temple.hide (); _ esroot.temple.stop (); " And “Entry /_esroot.temple.show (); _ esroot.temple.gotoAndPlay ();”.

以上の処理により、状態遷移図上で、リンクファイルをドラッグアンドドロップさせるだけで、ステート(状態)における、リンクファイルを再生させるという動作を指定するスクリプトを設定させることが可能となる。また、リンクファイルが存在する場合、ステート枠内にリンクファイルの存在を示すアイコンが表示されることになるので、状態遷移図表示画面114における各ステート枠を見るだけで、リンクファイルの有無を認識することが可能となる。   With the above processing, it is possible to set a script that designates an operation for reproducing a link file in a state (state) by simply dragging and dropping the link file on the state transition diagram. If a link file exists, an icon indicating the existence of the link file will be displayed in the state frame, so the presence or absence of the link file can be recognized simply by looking at each state frame on the state transition diagram display screen 114. It becomes possible to do.

以上においては、リンクファイルが設定されているステート枠内にリンクファイルが設定されていることを示すアイコンを表示させる例について説明してきたが、リンクファイルが設定されているステート枠内で、リンクファイルであるアニメーションを再生させたり、または、アニメーションの代表画面を表示させるようにしてもよい。代表画面とは、例えば、アニメーション・データを構成する第1フレームから第N番目のフレームの内、予め設定されている第J番目のフレーム、またはユーザにより設定されたフレームである。   In the above, an example of displaying an icon indicating that a link file is set in the state frame in which the link file is set has been described. However, in the state frame in which the link file is set, the link file is displayed. The animation may be reproduced or a representative screen of the animation may be displayed. The representative screen is, for example, a preset Jth frame among frames 1 to N constituting animation data, or a frame set by a user.

図18は、リンクファイルが設定されているステート枠内で、リンクファイルであるアニメーションを再生させるようにした状態遷移プログラム編集装置1の一実施の形態の構成を示す図である。   FIG. 18 is a diagram illustrating a configuration of an embodiment of the state transition program editing apparatus 1 in which an animation that is a link file is reproduced within a state frame in which the link file is set.

図18の状態遷移プログラム編集装置1において、図1の状態遷移プログラム編集装置1と異なる点は、状態遷移図生成部15におけるアイコン付加部43に代えて、状態動作実行部201を設けた点であり、操作部11乃至リンクデータ格納部14、および、状態遷移エンジン16乃至表示部19は、図1と同様のものである。尚、図18において、図1と同一の機能を備えた構成については、同一の符号を付しており、その説明は適宜省略するものとする。   The state transition program editing device 1 in FIG. 18 differs from the state transition program editing device 1 in FIG. 1 in that a state operation execution unit 201 is provided instead of the icon addition unit 43 in the state transition diagram generation unit 15. The operation unit 11 to the link data storage unit 14 and the state transition engine 16 to the display unit 19 are the same as those in FIG. In FIG. 18, components having the same functions as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

状態動作実行部201は、状態動作実行部17と基本的に同様のものであり、リンクファイル付ステート検索部44により検索されたステートのステート情報を読み出し、スクリプトを解釈して実行する。さらに、状態動作実行部201は、実行結果をステート枠内に表示させる画面を生成する。   The state operation execution unit 201 is basically the same as the state operation execution unit 17, reads the state information of the state searched by the link file state search unit 44, interprets and executes the script. Further, the state operation execution unit 201 generates a screen for displaying the execution result in the state frame.

次に、図19のフローチャートを参照して、図18の状態遷移プログラム編集装置1による状態遷移図生成処理について説明する。尚、図19におけるステップS161乃至S163、およびステップS169乃至S171の処理は、図11のフローチャートにおけるステップS121乃至123、およびステップS126乃至S128の処理と同様であるので、その説明は省略する。   Next, the state transition diagram generation processing by the state transition program editing device 1 in FIG. 18 will be described with reference to the flowchart in FIG. Note that the processes in steps S161 to S163 and steps S169 to S171 in FIG. 19 are the same as the processes in steps S121 to 123 and steps S126 to S128 in the flowchart in FIG.

ステップS164においては、リンクファイル付きステート検索部44は、全ステート情報におけるスクリプト情報のうち、リンクファイルが設定されているステートを検索し、検索結果を状態動作実行部201に供給する。   In step S164, the link file state search unit 44 searches the script information in all the state information for the state in which the link file is set, and supplies the search result to the state operation execution unit 201.

ステップS165において、状態動作実行部201は、ステートデータ格納部13にアクセスし、リンクファイルが設定されているステートのステート情報を読み出す。   In step S165, the state operation execution unit 201 accesses the state data storage unit 13 and reads the state information of the state in which the link file is set.

ステップS166において、状態動作実行部201は、読み出したリンクファイルが設定されているステートのステート情報のうちスクリプト情報を解釈する。   In step S166, the state operation execution unit 201 interprets the script information in the state information of the state in which the read link file is set.

ステップS167において、状態動作実行部201は、リンクファイルが設定されている各ステートの開始フレームの情報を検索する。   In step S167, the state operation execution unit 201 searches for information on the start frame of each state in which the link file is set.

ステップS168において、状態動作実行部201は、リンクファイルが設定されている各ステート毎の開始フレームからリンクファイルであるアニメーションの再生を開始する。   In step S168, the state action execution unit 201 starts playing the animation that is the link file from the start frame for each state in which the link file is set.

以上の処理により、表示部19には、例えば、図20で示されるような表示画面101が表示される。すなわち、表示画面101の状態遷移図表示画面114には、状態A乃至Dに対応するステート枠171乃至174が表示されている。ステート枠171乃至174には、それぞれのステートに対応するアニメーションが表示されている。図20においては、花の画像上に「ABC」、「DEF」、「GHI」、および「JKL」の選択ボタンが表示されており、それぞれの表示ボタンが選択されると、他のボタンと異なる表示色で表示される。すなわち、図20の場合、ステート枠171においては、「ABC」の選択ボタンが異なる表示色で表示されており、ステート枠172においては、「DEF」の選択ボタンが異なる表示色で表示されており、ステート枠173においては、「GHI」の選択ボタンが異なる表示色で表示されており、ステート枠174においては、「JKL」の選択ボタンが異なる表示色で表示されている。   Through the above processing, for example, a display screen 101 as shown in FIG. 20 is displayed on the display unit 19. That is, the state transition diagram display screen 114 of the display screen 101 displays state frames 171 to 174 corresponding to the states A to D. In the state frames 171 to 174, animations corresponding to the respective states are displayed. In FIG. 20, “ABC”, “DEF”, “GHI”, and “JKL” selection buttons are displayed on the flower image, and when each display button is selected, it is different from the other buttons. Displayed in display color. That is, in the case of FIG. 20, the “ABC” selection button is displayed in a different display color in the state frame 171, and the “DEF” selection button is displayed in a different display color in the state frame 172. In the state frame 173, the “GHI” selection button is displayed in a different display color, and in the state frame 174, the “JKL” selection button is displayed in a different display color.

結果として、それぞれの状態において、リンクファイルが設定されていると、対応するアニメーションの表示が開始されることになるので、リンクファイルの設定の有無を認識することが可能になると共に、ステートごとにどのようなリンクファイルが設定され、実際には、どのようなアニメーションが再生されるのかを把握しながら、状態遷移プログラムを編集することが可能となる。尚、図18の状態遷移プログラム編集装置1における状態遷移プログラム編集処理、編集処理、トランジション編集処理、スクリプト編集処理、状態遷移プログラム実行処理、および、表示処理については、図1の状態遷移プログラム編集装置1における処理と同様であるので、その説明は省略する。   As a result, if a link file is set in each state, the display of the corresponding animation starts, so it is possible to recognize whether the link file is set and for each state. It is possible to edit the state transition program while grasping what link file is set and what kind of animation is actually reproduced. 18 for the state transition program editing process, editing process, transition editing process, script editing process, state transition program execution process, and display process in the state transition program editing apparatus 1 of FIG. Since this is the same as the processing in No. 1, description thereof is omitted.

以上においては、全てのリンクファイルが設定されているステート枠内に、設定されているリンクファイルを再生させるようにした例について説明してきたが、複数の動画処理を並列的に実行させる必要があるため、ハードウェアに過大な負荷が掛かる可能性がある。そこで、カレントステートの遷移先となるステートにリンクファイルが設定されている場合にのみ、そのステート枠内に実行結果を表示させるようにしてもよい。   In the above description, an example in which a set link file is played in a state frame in which all link files are set has been described. However, it is necessary to execute a plurality of moving image processes in parallel. Therefore, an excessive load may be applied to the hardware. Therefore, the execution result may be displayed in the state frame only when a link file is set in the state that is the transition destination of the current state.

図21は、カレントステートの遷移先となるステートにリンクファイルが設定されている場合にのみ、そのステート枠内に実行結果を表示させるようにした状態遷移プログラム編集装置1の一実施の形態の構成を示す図である。図21の状態遷移プログラム編集装置において、図18の状態遷移プログラム編集装置1と異なる点は、リンクファイル付ステート検索部44、および、状態動作実行部201に代えて遷移先ステート検索部211、および、状態動作実行部212を備えている点であり、操作部11乃至リンクデータ格納部14、および、状態遷移エンジン16乃至表示部19は、図1,図18と同様のものである。尚、図21において、図1と同一の機能を備えた構成については、同一の符号を付しており、その説明は適宜省略するものとする。   FIG. 21 shows a configuration of an embodiment of the state transition program editing apparatus 1 in which the execution result is displayed in the state frame only when a link file is set in the state that is the transition destination of the current state. FIG. The state transition program editing device of FIG. 21 differs from the state transition program editing device 1 of FIG. 18 in that the state search unit with link file 44 and the transition destination state search unit 211 instead of the state operation execution unit 201, and The operation unit 11 to the link data storage unit 14 and the state transition engine 16 to the display unit 19 are the same as those in FIGS. 1 and 18. In FIG. 21, components having the same functions as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

遷移先ステート検索部211は、ステートデータ格納部13にアクセスし、カレントステートのステート情報を読み出して、トランジション情報から遷移先を検索し、読み出した遷移先のステートを状態動作実行部212に供給する。   The transition destination state search unit 211 accesses the state data storage unit 13, reads the state information of the current state, searches for the transition destination from the transition information, and supplies the read state of the transition destination to the state operation execution unit 212. .

状態動作実行部212は、状態動作実行部201と基本的に同様のものであり、遷移先ステート検索部211により検索されたステートのステート情報を読み出し、スクリプトを解釈して実行する。さらに、状態動作実行部212は、実行結果をステート枠内に表示させる画面を生成する。   The state operation execution unit 212 is basically the same as the state operation execution unit 201, reads the state information of the state searched by the transition destination state search unit 211, interprets and executes the script. Further, the state operation execution unit 212 generates a screen for displaying the execution result in the state frame.

次に、図22のフローチャートを参照して、図21の状態遷移プログラム編集装置1による状態遷移図生成処理について説明する。尚、図22のフローチャートにおけるステップS191乃至S194、およびステップS200の処理は、図19におけるステップS161乃至S163,S169,S170の処理と同様であるのでその説明は適宜省略する。   Next, the state transition diagram generation processing by the state transition program editing device 1 in FIG. 21 will be described with reference to the flowchart in FIG. The processes in steps S191 to S194 and step S200 in the flowchart of FIG. 22 are the same as the processes in steps S161 to S163, S169, and S170 in FIG.

ステップS195においては、遷移先ステート検索部211は、全ステート情報におけるトランジション情報のうち、カレントステートに対して、遷移先となるステートを検索し、検索結果を状態動作実行部201に供給する。   In step S <b> 195, the transition destination state search unit 211 searches the transition state in all state information for a state that is a transition destination for the current state, and supplies the search result to the state operation execution unit 201.

ステップS196において、状態動作実行部212は、ステートデータ格納部13にアクセスし、カレントステートに対して、遷移先となるステートのうち、リンクファイルが設定されているステートのステート情報を読み出す。   In step S196, the state operation execution unit 212 accesses the state data storage unit 13, and reads out state information of a state in which a link file is set among the states that are transition destinations for the current state.

ステップS197において、状態動作実行部212は、カレントステートに対して、遷移先となるステートのうち、リンクファイルが設定されているステートのステート情報のうちスクリプト情報を解釈する。   In step S197, the state operation execution unit 212 interprets the script information in the state information of the state in which the link file is set among the states that are the transition destination with respect to the current state.

ステップS198において、状態動作実行部212は、カレントステートに対して、遷移先となるステートのうち、リンクファイルが設定されている各ステートの開始フレームの情報を検索する。   In step S198, the state operation execution unit 212 searches for information on the start frame of each state in which a link file is set among the states that are transition destinations with respect to the current state.

ステップS199において、状態動作実行部212は、カレントステートに対して、遷移先となるステートのうち、リンクファイルが設定されている各ステート毎の開始フレームからリンクファイルであるアニメーションの再生を開始する。   In step S199, the state operation execution unit 212 starts playing the animation that is the link file from the start frame for each state in which the link file is set among the states that are the transition destinations for the current state.

以上の処理により、図23で示されるように、表示画面101の状態遷移図表示画面114には、状態A乃至Dに対応するステート枠251乃至254が表示される。図23においては、状態Bを示すステート枠252が、他のステート枠と異なる表示色で表示され、カレントステートであることが示されている。状態Bの遷移先は、状態A,Cである。以上の処理により、遷移先である状態A,Cのステート枠251,253には、それぞれのステートに対応するアニメーションが表示されている。図23のステート枠251,253においては、花の画像上に「ABC」、「DEF」、「GHI」、および「JKL」と記述された選択ボタン251a乃至251dおよび253a乃至253dが表示されており、それぞれの選択ボタンが選択されると、他のボタンと異なる表示色で表示される。すなわち、図23の場合、ステート枠251においては、「ABC」の選択ボタン251aが異なる表示色で表示されており、ステート枠253においては、「GHI」の選択ボタン253cが異なる表示色で表示されている。また、図23においては、カレントステートである状態Bのステート枠252、および、カレントステートの遷移先とならない状態Dのステート枠254については、動作結果が表示されず、スクリプトが表示されるのみである。   Through the above processing, as shown in FIG. 23, the state frames 251 to 254 corresponding to the states A to D are displayed on the state transition diagram display screen 114 of the display screen 101. In FIG. 23, the state frame 252 indicating the state B is displayed in a display color different from that of the other state frames, indicating that it is the current state. Transition destinations of state B are states A and C. Through the above processing, animations corresponding to the respective states are displayed in the state frames 251 and 253 of the states A and C that are the transition destinations. In the state frames 251 and 253 of FIG. 23, selection buttons 251a to 251d and 253a to 253d described as “ABC”, “DEF”, “GHI”, and “JKL” are displayed on the flower image. When each selection button is selected, it is displayed in a different display color from the other buttons. That is, in the case of FIG. 23, in the state frame 251, the “ABC” selection button 251a is displayed in a different display color, and in the state frame 253, the “GHI” selection button 253c is displayed in a different display color. ing. In FIG. 23, the operation result is not displayed for the state frame 252 of the state B that is the current state and the state frame 254 of the state D that is not the transition destination of the current state, and only the script is displayed. is there.

結果として、それぞれの状態において、カレントステートの遷移先のステート枠内では、リンクファイルが設定されていると、対応するアニメーションが表示されることになるので、リンクファイルの設定の有無を認識することが可能になると共に、ステートごとにどのようなリンクファイルが設定され、実際には、遷移先のステートで、どのようなアニメーションが再生されるのかを把握しながら状態遷移プログラムを編集することが可能となる。しかもその際、実行結果は、遷移先となるステートのみで表示されることになるので、実行処理に掛かる負荷を低減させることが可能となる。   As a result, in each state, if a link file is set in the state frame that is the transition destination of the current state, the corresponding animation will be displayed, so recognize the presence or absence of the link file setting. It is possible to edit the state transition program while grasping what kind of link file is set for each state, and in fact what kind of animation is played in the transition destination state. It becomes. In addition, since the execution result is displayed only in the state that is the transition destination, the load on the execution process can be reduced.

尚、図21の状態遷移プログラム編集装置1における状態遷移プログラム編集処理、編集処理、トランジション編集処理、スクリプト編集処理、状態遷移プログラム実行処理、および、表示処理については、図1の状態遷移プログラム編集装置1における処理と同様であるので、その説明は省略する。   The state transition program editing process, the editing process, the transition editing process, the script editing process, the state transition program execution process, and the display process in the state transition program editing apparatus 1 in FIG. Since this is the same as the processing in No. 1, description thereof is omitted.

以上においては、カレントステートの遷移先となるステートのステート枠内でリンクファイルが設定されている場合、リンクファイルであるアニメーションを再生させる例について説明してきたが、編集中にポインタを移動させて、ポインタの存在するステート枠内のステートの実行結果のみを表示させるようにしてもよい。   In the above, an example of playing an animation that is a link file when a link file is set in the state frame of the state that is the transition destination of the current state has been explained, but by moving the pointer during editing, Only the execution result of the state within the state frame where the pointer exists may be displayed.

図24は、ポインタの存在するステート枠内のステートの実行結果のみを表示させるようにした状態遷移プログラム編集装置1の一実施の形態の構成を示す図である。図24の状態遷移プログラム編集装置1において、図21の状態遷移プログラム編集装置1と異なる点は、遷移先ステート検索部211、および、状態動作実行部212に代えてマウスオーバステート検索部271、および、状態動作実行部272を備えている点であり、操作部11乃至リンクデータ格納部14、および、状態遷移エンジン16乃至表示部19は、図1,図18と同様のものである。尚、図21において、図1と同一の機能を備えた構成については、同一の符号を付しており、その説明は適宜省略するものとする。   FIG. 24 is a diagram showing a configuration of an embodiment of the state transition program editing apparatus 1 in which only the execution result of the state in the state frame where the pointer exists is displayed. The state transition program editing apparatus 1 in FIG. 24 differs from the state transition program editing apparatus 1 in FIG. 21 in that the transition destination state search unit 211 and the state operation execution unit 212 are replaced with a mouse overstate search unit 271 and The operation unit 11 to the link data storage unit 14 and the state transition engine 16 to the display unit 19 are the same as those shown in FIGS. 1 and 18. In FIG. 21, components having the same functions as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

マウスオーバステート検索部271は、操作部11からの情報に基づいて、ポインタ150が存在するステート枠に対応するステートを検索し、状態動作実行部212に供給する。   Based on the information from the operation unit 11, the mouse over state search unit 271 searches for a state corresponding to the state frame in which the pointer 150 exists, and supplies the state to the state operation execution unit 212.

状態動作実行部272は、状態動作実行部211と基本的に同様のものであり、マウスオーバステート検索部271により検索されたステートのステート情報を読み出し、スクリプトを解釈して実行する。さらに、状態動作実行部272は、実行結果をステート枠内に表示させる画面を生成する。   The state operation execution unit 272 is basically the same as the state operation execution unit 211, reads state information of the state searched by the mouse over state search unit 271, interprets and executes a script. Further, the state operation execution unit 272 generates a screen for displaying the execution result in the state frame.

次に、図25のフローチャートを参照して、図24の状態遷移プログラム編集装置1による状態遷移図生成処理について説明する。尚、図25のフローチャートにおけるステップS221乃至S224、およびステップS230,S231の処理は、図22におけるステップS191乃至S193,S199,S200の処理と同様であるのでその説明は適宜省略する。   Next, a state transition diagram generation process by the state transition program editing device 1 in FIG. 24 will be described with reference to the flowchart in FIG. Note that the processes in steps S221 through S224 and steps S230 and S231 in the flowchart of FIG. 25 are the same as the processes in steps S191 through S193, S199, and S200 in FIG.

ステップS224において、マウスオーバステート検索部272は、操作部11からの信号に基づいて、ポインタ150が存在するステート枠に対応するステート(マウスオーバステート)を検索し、存在するか否かを判定する。ステップS224において、ステップS224において、例えば、存在すると判定された場合、ステップS225において、マウスオーバステート検索部271は、ポインタ150が存在するステートを検索し、検索結果を状態動作実行部272に供給する。   In step S224, the mouse over state search unit 272 searches the state (mouse over state) corresponding to the state frame in which the pointer 150 exists based on the signal from the operation unit 11, and determines whether or not it exists. . In step S224, if it is determined in step S224 that, for example, it exists, the mouse over state search unit 271 searches for a state in which the pointer 150 exists in step S225, and supplies the search result to the state operation execution unit 272. .

ステップS226において、状態動作実行部272は、ステートデータ格納部13にアクセスし、マウスオーバステートのうち、リンクファイルが設定されているステートのステート情報を読み出す。   In step S226, the state operation execution unit 272 accesses the state data storage unit 13 and reads state information of the state in which the link file is set in the mouse over state.

ステップS227において、状態動作実行部272は、マウスオーバステートのうち、リンクファイルが設定されているステートのステート情報のうちスクリプト情報を解釈する。   In step S227, the state operation execution unit 272 interprets the script information in the state information of the state in which the link file is set in the mouse over state.

ステップS228において、状態動作実行部272は、マウスオーバステートのうち、リンクファイルが設定されている各ステートの開始フレームの情報を検索する。   In step S228, the state operation execution unit 272 searches the mouse over state for information on the start frame of each state in which the link file is set.

ステップS229において、状態動作実行部272は、マウスオーバステートのうち、リンクファイルが設定されている各ステート毎の開始フレームからリンクファイルであるアニメーションの再生を開始する。   In step S229, the state operation execution unit 272 starts playing the animation that is the link file from the start frame for each state in which the link file is set in the mouse over state.

以上の処理により、図26で示されるように、表示画面101の状態遷移図表示画面114には、状態A乃至Dに対応するステート枠291乃至294が表示される。図26においては、ポインタ150が存在するステート枠291には、そのステートに対応するアニメーションが表示されている。図26のステート枠291においては、花の画像上にそれぞれ「ABC」、「DEF」、「GHI」、および「JKL」と記述された選択ボタン291a乃至dが表示されており、それぞれの表示ボタンが選択されると、他のボタンと異なる表示色で表示される。すなわち、図26の場合、ステート枠291においては、「ABC」の選択ボタン291aが異なる表示色で表示されている。   Through the above processing, as shown in FIG. 26, state frames 291 to 294 corresponding to states A to D are displayed on the state transition diagram display screen 114 of the display screen 101. In FIG. 26, in the state frame 291 where the pointer 150 exists, an animation corresponding to the state is displayed. In the state frame 291 of FIG. 26, selection buttons 291a to 291d described as “ABC”, “DEF”, “GHI”, and “JKL” are displayed on the flower image, respectively. When is selected, it is displayed in a different display color from the other buttons. That is, in the case of FIG. 26, in the state frame 291, the “ABC” selection button 291 a is displayed in a different display color.

結果として、ポインタ150がステート枠内に存在する場合、リンクファイルが設定されていると、対応するアニメーションが表示されることになるので、リンクファイルの設定の有無を認識することが可能になると共に、ステートごとにどのようなリンクファイルが設定され、実際には、遷移先のステートで、どのようなアニメーションが再生されるのかを把握しながら状態遷移プログラムを編集することが可能となる。また、実行結果は、ポインタ150が存在するステートのみで表示されることになるので、実行処理に掛かる負荷を低減させるだけでなく、ハードウェアに対して必要最低限の負荷で、任意のステートについて実行結果を認識することが可能となる。   As a result, when the pointer 150 exists in the state frame, if a link file is set, a corresponding animation is displayed, so that it is possible to recognize whether the link file is set. It is possible to edit the state transition program while grasping what kind of link file is set for each state, and in reality what kind of animation is reproduced in the transition destination state. In addition, since the execution result is displayed only in the state where the pointer 150 exists, not only the load required for the execution process is reduced, but also for any state with the minimum necessary load on the hardware. It becomes possible to recognize the execution result.

尚、図24の状態遷移プログラム編集装置1における状態遷移プログラム編集処理、編集処理、トランジション編集処理、スクリプト編集処理、状態遷移プログラム実行処理、および、表示処理については、図1の状態遷移プログラム編集装置1における処理と同様であるので、その説明は省略する。   Note that the state transition program editing process, the editing process, the transition editing process, the script editing process, the state transition program execution process, and the display process in the state transition program editing apparatus 1 in FIG. Since this is the same as the processing in No. 1, description thereof is omitted.

また、以上においては、全てのステート枠、遷移先となるステートのステート枠、またはポインタが存在するステート枠において、アニメーションの表示を開始させる例について説明してきたが、代表画面のみを表示させるようにしてもよく、このようにすることにより、画像処理に係る処理負荷をさらに低減させるようにすることが可能となる。   In the above description, the example of starting the animation display in all the state frames, the state frame of the transition destination state, or the state frame where the pointer exists has been described. However, only the representative screen is displayed. In this case, the processing load related to the image processing can be further reduced.

上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、プログラム記録媒体からインストールされる。   The series of processes described above can be executed by hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a program recording medium in a general-purpose personal computer or the like.

図27は、図1,図18,図21,図24の状態遷移プログラム編集装置1の電気的な内部構成をソフトウェアにより実現する場合のパーソナルコンピュータの一実施の形態の構成を示している。パーソナルコンピュータのCPU501は、パーソナルコンピュータの全体の動作を制御する。また、CPU501は、バス504および入出力インタフェース505を介してユーザからキーボードやマウスなどからなる入力部506から指令が入力されると、それに対応してROM(Read Only Memory)502に格納されているプログラムを実行する。あるいはまた、CPU501は、ドライブ510に接続された磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリを含むリムーバルメディア521から読み出され、記憶部508にインストールされたプログラムを、RAM(Random Access Memory)503にロードして実行する。これにより、上述した図1,図18,図21,図24の状態遷移プログラム編集装置1の機能が、ソフトウェアにより実現されている。さらに、CPU501は、通信部509を制御して、外部と通信し、データの授受を実行する。   FIG. 27 shows a configuration of an embodiment of a personal computer in a case where the electrical internal configuration of the state transition program editing apparatus 1 of FIGS. 1, 18, 21, and 24 is realized by software. The CPU 501 of the personal computer controls the overall operation of the personal computer. Further, when a command is input from the input unit 506 such as a keyboard or a mouse from the user via the bus 504 and the input / output interface 505, the CPU 501 stores the instruction in a ROM (Read Only Memory) 502 correspondingly. Run the program. Alternatively, the CPU 501 reads a program read from a removable medium 521 including a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory connected to the drive 510 and installed in the storage unit 508 into a RAM (Random Access Memory). Load to 503 and execute. Thereby, the functions of the state transition program editing apparatus 1 shown in FIGS. 1, 18, 21, and 24 are realized by software. Further, the CPU 501 controls the communication unit 509 to communicate with the outside and exchange data.

コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを格納するプログラム記録媒体は、図27に示すように、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory),DVD(Digital Versatile Disc)を含む)、光磁気ディスクを含む)、もしくは半導体メモリなどよりなるパッケージメディアであるリムーバブルメディア521、または、プログラムが一時的もしくは永続的に格納されるROM502や、記憶部508を構成するハードディスクなどにより構成される。プログラム記録媒体へのプログラムの格納は、必要に応じてルータ、モデムなどのインタフェースである通信部509を介して、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の通信媒体を利用して行われる。   As shown in FIG. 27, a program recording medium for storing a program that is installed in a computer and can be executed by the computer is a magnetic disk (including a flexible disk), an optical disk (CD-ROM (Compact Disc-Read Only). Memory), DVD (Digital Versatile Disc) (including magneto-optical disk), or removable media 521 which is a package medium made of semiconductor memory or the like, ROM 502 where the program is temporarily or permanently stored, The storage unit 508 is configured by a hard disk or the like. The program is stored in the program recording medium using a wired or wireless communication medium such as a local area network, the Internet, or digital satellite broadcasting via a communication unit 509 that is an interface such as a router or a modem as necessary. Done.

なお、本明細書において、プログラム記録媒体に格納されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In the present specification, the step of describing the program stored in the program recording medium is not limited to the processing performed in time series in the order described, but is not necessarily performed in time series. Or the process performed separately is also included.

なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

本発明を適用した状態遷移プログラム編集装置の一実施の形態の構成を示す図である。It is a figure which shows the structure of one Embodiment of the state transition program editing apparatus to which this invention is applied. 表示画面の構成例を示す図である。It is a figure which shows the structural example of a display screen. ステートデータ格納部に格納されるステート情報のデータ構造を示す図である。It is a figure which shows the data structure of the state information stored in a state data storage part. 図1の状態遷移プログラム編集装置による状態遷移プログラム編集処理を説明するフローチャートである。It is a flowchart explaining the state transition program edit process by the state transition program editing apparatus of FIG. 図1の状態遷移プログラム編集装置によるステート編集処理を説明するフローチャートである。It is a flowchart explaining the state edit process by the state transition program edit apparatus of FIG. 図1の状態遷移プログラム編集装置によるトランジション編集処理を説明するフローチャートである。It is a flowchart explaining the transition edit process by the state transition program edit apparatus of FIG. 図1の状態遷移プログラム編集装置によるスクリプト編集処理を説明するフローチャートである。It is a flowchart explaining the script edit process by the state transition program edit apparatus of FIG. 図1の状態遷移プログラム編集装置によるスクリプト編集処理におけるダイアログボックスを説明する図である。It is a figure explaining the dialog box in the script edit process by the state transition program edit apparatus of FIG. 図1の状態遷移プログラム編集装置によるスクリプト編集処理によるステート情報を説明する図である。It is a figure explaining the state information by the script edit process by the state transition program edit apparatus of FIG. 図1の状態遷移プログラム編集装置による状態遷移プログラム実行処理を説明するフローチャートである。It is a flowchart explaining the state transition program execution process by the state transition program editing apparatus of FIG. 図1の状態遷移プログラム編集装置による状態遷移図生成処理を説明するフローチャートである。It is a flowchart explaining the state transition diagram production | generation process by the state transition program editing apparatus of FIG. 図1の状態遷移プログラム編集装置による表示処理を説明するフローチャートである。It is a flowchart explaining the display process by the state transition program editing apparatus of FIG. 表示処理により表示される表示例を示す図である。It is a figure which shows the example of a display displayed by a display process. 表示処理により表示される表示例を示す図である。It is a figure which shows the example of a display displayed by a display process. 表示処理により表示される表示例を示す図である。It is a figure which shows the example of a display displayed by a display process. 表示処理により表示される表示例を示す図である。It is a figure which shows the example of a display displayed by a display process. 編集処理後のステートデータ格納部に格納されるステート情報のデータ構造を示す図である。It is a figure which shows the data structure of the state information stored in the state data storage part after an edit process. 状態遷移プログラム編集装置のその他の構成例を示す図である。It is a figure which shows the other structural example of a state transition program edit apparatus. 図18の状態遷移プログラム編集装置による状態遷移図生成処理を説明するフローチャートである。It is a flowchart explaining the state transition diagram production | generation process by the state transition program editing apparatus of FIG. 図18の状態遷移プログラム編集装置による状態遷移図生成処理により生成された状態遷移図が表示処理により表示される表示例を示す図である。It is a figure which shows the example of a display by which the state transition diagram produced | generated by the state transition diagram production | generation process by the state transition program editing apparatus of FIG. 18 is displayed by a display process. 状態遷移プログラム編集装置のさらにその他の構成例を示す図である。It is a figure which shows the further another structural example of a state transition program edit apparatus. 図21の状態遷移プログラム編集装置による状態遷移図生成処理を説明するフローチャートである。It is a flowchart explaining the state transition diagram production | generation process by the state transition program editing apparatus of FIG. 図21の状態遷移プログラム編集装置による状態遷移図生成処理により生成された状態遷移図が表示処理により表示される表示例を示す図である。It is a figure which shows the example of a display by which the state transition diagram produced | generated by the state transition diagram production | generation process by the state transition program editing apparatus of FIG. 21 is displayed by a display process. 状態遷移プログラム編集装置のその他の構成例を示す図である。It is a figure which shows the other structural example of a state transition program edit apparatus. 図24の状態遷移プログラム編集装置による状態遷移図生成処理を説明するフローチャートである。It is a flowchart explaining the state transition diagram production | generation process by the state transition program editing apparatus of FIG. 図24の状態遷移プログラム編集装置による状態遷移図生成処理により生成された状態遷移図が表示処理により表示される表示例を示す図である。It is a figure which shows the example of a display by which the state transition diagram produced | generated by the state transition diagram production | generation process by the state transition program editing apparatus of FIG. 24 is displayed by a display process. 媒体を説明する図である。It is a figure explaining a medium.

符号の説明Explanation of symbols

11 操作部, 12 編集部, 13 ステートデータ格納部, 14 リンクデータ格納部, 15 状態遷移図生成部, 16 状態遷移エンジン, 17 状態動作実行部, 18 表示制御部, 19 表示部, 31 ステート編集部, 32 トランジション編集部, 33 スクリプト編集部, 41 ステート枠生成部, 42 トランジション生成部, 43 アイコン生成部, 44 リンクファイル付ステート検索部, 51 スクリプト表示制御部, 52 状態遷移図表示制御部, 53 ステートリスト表示制御部, 54 リンクリスト表示制御部, 55 状態動作表示制御部, 201 状態動作実行部, 211 遷移先ステート検索部, 212 状態動作実行部, 271 状態動作実行部, 272 マウスオーバステート検索部   11 operation unit, 12 editing unit, 13 state data storage unit, 14 link data storage unit, 15 state transition diagram generation unit, 16 state transition engine, 17 state operation execution unit, 18 display control unit, 19 display unit, 31 state editing Section, 32 transition editing section, 33 script editing section, 41 state frame generation section, 42 transition generation section, 43 icon generation section, 44 state search section with link file, 51 script display control section, 52 state transition diagram display control section, 53 State list display control unit, 54 Link list display control unit, 55 State operation display control unit, 201 State operation execution unit, 211 Transition destination state search unit, 212 State operation execution unit, 271 State operation execution unit, 272 Mouse over state Search part

Claims (11)

それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報に基づいて、状態遷移図を生成する生成ステップと、
前記生成ステップの処理により生成された状態遷移図を表示する表示ステップと、
前記表示ステップにより表示された状態遷移図を操作する操作ステップと、
前記操作ステップの処理における操作内容に応じて、前記状態遷移情報を更新する更新ステップと、
前記状態における動作が所定のファイルを実行する動作である場合、前記所定のファイルの実行結果を、前記状態遷移図上に表示させるように前記生成ステップの処理を制御する生成制御ステップと
を含む情報処理方法。
A state transition diagram is generated based on state transition information including an operation in each state, an event at the time of transition in each state, and information on a transition direction indicating which other state is transitioned by the event. Generation step;
A display step for displaying a state transition diagram generated by the processing of the generation step;
An operation step of operating the state transition diagram displayed by the display step;
An update step for updating the state transition information according to the operation content in the processing of the operation step;
If the operation in the state is an operation for executing a predetermined file, information including: a generation control step for controlling processing of the generation step so that an execution result of the predetermined file is displayed on the state transition diagram Processing method.
前記操作ステップの処理により前記所定のファイルを示すアイコンが、前記状態を示す画像上にドラッグアンドドロップされる場合、前記更新ステップは、前記状態における動作を、前記ドラッグアンドドロップされた所定のファイルを実行する動作に更新する
請求項1に記載の情報処理方法。
When the icon indicating the predetermined file is dragged and dropped on the image indicating the state by the processing in the operation step, the update step is performed by changing the operation in the state to the predetermined file dragged and dropped. The information processing method according to claim 1, wherein the information is updated to an operation to be executed.
前記状態における動作が、前記ドラッグアンドドロップされた所定のファイルを実行する動作である場合、前記生成制御ステップの処理は、前記所定のファイルの実行結果を、前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御する
請求項2に記載の情報処理方法。
When the operation in the state is an operation of executing the predetermined file dragged and dropped, the process of the generation control step indicates the execution result of the predetermined file and the state on the state transition diagram. The information processing method according to claim 2, wherein the processing of the generation step is controlled so as to be displayed on an image.
前記所定のファイルは、アニメーションのファイルであり、
前記状態における動作が、前記所定のファイルである、アニメーションの再生を実行する動作である場合、前記生成制御ステップは、前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を、前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御する
請求項1に記載の情報処理方法。
The predetermined file is an animation file,
When the operation in the state is an operation for executing reproduction of an animation that is the predetermined file, the generation control step displays the animation or a representative screen of the animation as an execution result of the predetermined file. The information processing method according to claim 1, wherein the processing of the generation step is controlled so as to be displayed on an image indicating the state on the state transition diagram.
前記操作ステップの処理により操作されるポインタの位置に対応して、前記生成制御ステップは、前記所定のファイルの実行結果として、前記アニメーション、または前記アニメーションの代表画面を、前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御する
請求項4に記載の情報処理方法。
Corresponding to the position of the pointer operated by the processing of the operation step, the generation control step displays the animation or the representative screen of the animation as the execution result of the predetermined file on the state transition diagram. The information processing method according to claim 4, wherein the processing of the generation step is controlled so as to be displayed on an image indicating a state.
前記操作ステップの処理により操作されるポインタの位置が、前記状態遷移図上の前記状態を示す画像上である場合、前記生成制御ステップは、前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御する
請求項5に記載の情報処理方法。
When the position of the pointer operated by the process of the operation step is on an image indicating the state on the state transition diagram, the generation control step may include the animation, or the execution result of the predetermined file, The information processing method according to claim 5, wherein the processing of the generation step is controlled so that a representative screen of the animation is displayed on an image indicating the state on the state transition diagram.
前記操作ステップの処理により操作されるポインタの位置が、前記状態遷移図上の他の前記状態を示す画像上である場合、前記生成制御ステップは、前記他の状態における前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を前記状態遷移図上の前記状態を示す画像上に表示させるように前記生成ステップの処理を制御する
請求項5に記載の情報処理方法。
When the position of the pointer operated by the process of the operation step is on an image indicating the other state on the state transition diagram, the generation control step performs the execution result of the predetermined file in the other state The information processing method according to claim 5, wherein the generation step is controlled so that the animation or a representative screen of the animation is displayed on an image showing the state on the state transition diagram.
前記操作ステップの処理により操作されるポインタの位置が、前記状態遷移図上の前記状態に遷移する可能性のある前記他の状態を示す画像上である場合、前記生成制御ステップは、前記他の状態における前記所定のファイルの実行結果として、前記アニメーション、または、前記アニメーションの代表画面を前記状態遷移図上の前記他の状態を示す画像上に表示させるように前記生成ステップの処理を制御する
請求項5に記載の情報処理方法。
When the position of the pointer operated by the processing of the operation step is on an image showing the other state that may transition to the state on the state transition diagram, the generation control step The process of the generation step is controlled so that the animation or a representative screen of the animation is displayed on an image showing the other state on the state transition diagram as an execution result of the predetermined file in the state. Item 6. The information processing method according to Item 5.
それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報に基づいて、状態遷移図を生成する生成手段と、
前記生成手段により生成された状態遷移図を表示する表示手段と、
前記表示手段により表示された状態遷移図を操作する操作手段と、
前記操作手段の操作内容に応じて、前記状態遷移情報を更新する更新手段と、
前記状態における動作が所定のファイルを実行する動作である場合、前記所定のファイルの実行結果を、前記状態遷移図上に表示させるように前記生成手段を制御する生成制御手段と
を含む情報処理装置。
A state transition diagram is generated based on state transition information including an operation in each state, an event at the time of transition in each state, and information on a transition direction indicating which other state is transitioned by the event. Generating means;
Display means for displaying the state transition diagram generated by the generating means;
Operating means for operating the state transition diagram displayed by the display means;
Updating means for updating the state transition information according to the operation content of the operation means;
An information processing apparatus including: a generation control unit that controls the generation unit to display an execution result of the predetermined file on the state transition diagram when the operation in the state is an operation of executing the predetermined file; .
それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報に基づいて、状態遷移図を生成する生成ステップと、
前記生成ステップの処理により生成された状態遷移図を表示する表示ステップと、
前記表示ステップにより表示された状態遷移図を操作する操作ステップと、
前記操作ステップの処理における操作内容に応じて、前記状態遷移情報を更新する更新ステップと、
前記状態における動作が所定のファイルを実行する動作である場合、前記所定のファイルの実行結果を、前記状態遷移図上に表示させるように前記生成ステップの処理を制御する生成制御ステップと
を含むコンピュータが読み取り可能なプログラムが記録されている記録媒体。
A state transition diagram is generated based on state transition information including an operation in each state, an event at the time of transition in each state, and information on a transition direction indicating which other state is transitioned by the event. Generation step;
A display step for displaying a state transition diagram generated by the processing of the generation step;
An operation step of operating the state transition diagram displayed by the display step;
An update step for updating the state transition information according to the operation content in the processing of the operation step;
A computer including: a generation control step that controls processing of the generation step so that an execution result of the predetermined file is displayed on the state transition diagram when the operation in the state is an operation of executing the predetermined file; Is a recording medium on which a readable program is recorded.
それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報に基づいて、状態遷移図を生成する生成ステップと、
前記生成ステップの処理により生成された状態遷移図を表示する表示ステップと、
前記表示ステップにより表示された状態遷移図を操作する操作ステップと、
前記操作ステップの処理における操作内容に応じて、前記状態遷移情報を更新する更新ステップと、
前記状態における動作が所定のファイルを実行する動作である場合、前記所定のファイルの実行結果を、前記状態遷移図上に表示させるように前記生成ステップの処理を制御する生成制御ステップと
を含む処理をコンピュータに実行させるプログラム。
A state transition diagram is generated based on state transition information including an operation in each state, an event at the time of transition in each state, and information on a transition direction indicating which other state is transitioned by the event. Generation step;
A display step for displaying a state transition diagram generated by the processing of the generation step;
An operation step of operating the state transition diagram displayed by the display step;
An update step for updating the state transition information according to the operation content in the processing of the operation step;
A process including: a generation control step for controlling the process of the generation step so as to display an execution result of the predetermined file on the state transition diagram when the operation in the state is an operation of executing the predetermined file; A program that causes a computer to execute.
JP2005267171A 2005-09-14 2005-09-14 Information processing method and device, recording medium, and program Withdrawn JP2007079957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005267171A JP2007079957A (en) 2005-09-14 2005-09-14 Information processing method and device, recording medium, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005267171A JP2007079957A (en) 2005-09-14 2005-09-14 Information processing method and device, recording medium, and program

Publications (1)

Publication Number Publication Date
JP2007079957A true JP2007079957A (en) 2007-03-29

Family

ID=37940198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005267171A Withdrawn JP2007079957A (en) 2005-09-14 2005-09-14 Information processing method and device, recording medium, and program

Country Status (1)

Country Link
JP (1) JP2007079957A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853536A (en) * 2012-12-03 2014-06-11 金蝶软件(中国)有限公司 Method and device for realizing service tracking based on state transition diagram
JP6490780B1 (en) * 2017-11-06 2019-03-27 株式会社インテリジェンス・ワークス Information component execution apparatus and information component execution method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853536A (en) * 2012-12-03 2014-06-11 金蝶软件(中国)有限公司 Method and device for realizing service tracking based on state transition diagram
JP6490780B1 (en) * 2017-11-06 2019-03-27 株式会社インテリジェンス・ワークス Information component execution apparatus and information component execution method

Similar Documents

Publication Publication Date Title
US11301113B2 (en) Information processing apparatus display control method and program
RU2506629C2 (en) Creating presentation on infinite canvas and navigation thereon
JP5852967B2 (en) GUI program creation support apparatus, GUI program creation support method, program, and integrated circuit
JP2005267390A (en) Display control device, display control method, and storage medium
JPWO2007066662A1 (en) Content search device, content search system, server device for content search system, content search method, computer program, and content output device with search function
JPWO2007066663A1 (en) Content search device, content search system, server device for content search system, content search method, computer program, and content output device with search function
JP2011145747A (en) Method, system and program to copy and paste selected display area of screen display using style element
CN112987999A (en) Video editing method and device, computer readable storage medium and electronic equipment
JP2007018316A (en) File operation processor
JP2007183737A (en) Information processing method and device, storage medium and program
JP2007079957A (en) Information processing method and device, recording medium, and program
JP2005317115A (en) Information processor, information processing method, and program
JP2018124758A (en) Information processing apparatus, information processing method, and program
JP4802601B2 (en) Information processing method and apparatus, recording medium, and program
JP2007079955A (en) Information processing method and device, recording medium and program
JP5149801B2 (en) Disc authoring portfolio
JP2007128244A (en) Information processing method and apparatus, recording medium and program
JP2008186512A (en) Content reproducing device
JP4674726B2 (en) File management method and information processing apparatus
JP2010287273A (en) Device and method for reproducing information
JP2006048465A (en) Content generation system, program, and recording medium
CN104662506B (en) Data Handling Equipment And Method
JP2009205643A (en) Screen transition design supporting device, screen transition design supporting method, and screen transition design supporting program
JP5141710B2 (en) Karaoke device, program
JP2007079954A (en) Information processing method and device, recording medium and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081202