1307848 五、發明說明(1) 【發明所屬之技術領域】 本發明係關於一種用來開發及執行遊戲程式的遊戲設 計系統,且特別係指一種模組化之遊戲設計系統,其可被 移植於不同的作業系統中以供使用者進行遊戲程式之開發 及執行。 【先前技術】 目前,電腦遊戲產業正蓬勃發展,而且已受到各國重 視,將其列為政府的扶植產業之一。然而,要設計一個專 業的遊戲程式並不容易,其必須涉及作業系統的許多介面 操作(如:繪圖、音效等),以及速度控制上的考量。因 此,用來開發遊戲程式的遊戲平台(Game Console)或遊 戲設計系統便應運而生。 唯,習知技藝之遊戲平台普遍係建立於W i n d 〇 w s系統 之下,其底層係使用低階的應用程式設計介面(D i r e c t X )來進行遊戲程式之開發,因此造成市面上之遊戲程式大 多數支援Windows系統,且由於Direct X技術係基於 W i ndows系統架構下之技術,所以這類遊戲程式並不能夠 被移植到其他作業系統(如:L i nux、Un i X系統)環境下 來進行使用。同理,建立於L i nux系統(或Un i x系統)之 下的遊戲平台,其所開發之遊戲程式亦不能在W i n d 〇 w s系 統環境下使用。 【發明内容】 本發明之主要目的係在於提供一種模組化遊戲設計系 統,以解決習知技藝只能限定於在單一作業系統下進行遊1307848 V. INSTRUCTION DESCRIPTION (1) Technical Field of the Invention The present invention relates to a game design system for developing and executing a game program, and particularly to a modular game design system that can be transplanted Different operating systems are available for users to develop and execute game programs. [Prior Art] At present, the computer game industry is booming and has been valued by various countries as one of the government's supporting industries. However, it is not easy to design a professional game program, which must involve many interface operations of the operating system (such as drawing, sound effects, etc.), as well as speed control considerations. Therefore, the Game Console or the game design system used to develop the game program came into being. Only the game platform of the traditional skills is generally built under the W ind 〇ws system, and the underlying system uses the low-level application design interface (D irect X ) to develop the game program, thus causing the game program on the market. Most of them support Windows systems, and because Direct X technology is based on the technology of the Windows system architecture, such game programs cannot be ported to other operating systems (such as: Linux, Un i X system). Use it. Similarly, the game platform built under the Linux system (or Un i x system) cannot be used in the W i n d 〇 w s system environment. SUMMARY OF THE INVENTION The main object of the present invention is to provide a modular game design system, so that the prior art can only be limited to traveling under a single operating system.
17329英業達.ptd 第5頁 1307848 五、發明說明(2) 戲程式之開發 同之作業系統 為達到上 係應用於一作 發及執 程式之 用以記 物件模 所需之 遊戲程 號;一 戲程式 結,其 式,係 該訊息 關閉, 為 效,兹 明詳加 【實施 遊 本身進 輸入控 些功能 行,其 輸出訊 錄該設 組,係 物件, 式所產 訊息模 所產生 用以管 用以控 模組及 且用以 使熟悉 藉由下 說明如 方式】 戲設計 行溝通 制等功 進行封 的缺點 環境下 述之目 業系統 至少包 號;一 備模組 與該資 並提供 生的訊 組,係 之訊息 理該遊 制該設 該游標 協調各 該項技 述具體 后: ,進而使得所開發之遊戲程式可在不 使用。 的,本發明 上,用以供 含:一設備 資源模組, 之輸出訊號 源模組連結 檢測使用者 息及控制該 與該物件模 ;一游標模 戲程式所需 備模組、該 模組以進行 模組之工作 藝人士瞭解 實施例,並 之模組 使用者 模組, 係與該 及該輸 ,其用 所輸入 資源模 組連結 組,係 之游標 資源模 各模組 排程。 本發明 配合所 化遊戲設計 進行遊戲程 係用以管理 設備模組連 出訊號之屬 以管理該遊 的輸入訊號 組所§己錄的 ,其用以管 與該資源模 ;以及一主 組、該物件 之初始化、 系統, 式之開 該遊戲 結,其 性;一 戲程式 、接收 輸出訊 理該遊 組連 控程 模組、 更新及 之目的、特徵及功 附之圖式,對本發 系統是遊戲程式製作的底層,其負責與機器 交流,且主要提供對圖像顯示、聲音播放、 能的底層支援。而本發明之精神係在於將這 裝而形成其各自的功能模組,且提供一介於 鄱17329 Inventec.ptd Page 5 1307848 V. Description of the invention (2) The development of the play program is the same as the operating system used to record the object model for the application and execution of the program; The program is closed, and the message is closed. It is effective. It is clear that the implementation of the game itself is controlled by the input function. The output of the message is set by the object, and the information generated by the message is generated. The device is used to control the module and is used to familiarize itself with the shortcomings of the following methods: the design of the communication system and the like. The environment of the following system is at least the package number; the spare module and the funding are provided. The message group, the message is that the game should be coordinated with the cursor to coordinate the technical details: and thus the developed game program can be used. The present invention is provided for: a device resource module, the output signal source module is connected to detect user information and control the object mode; a cursor module requires a spare module, the module For example, the module user module understands the embodiment, and the module user module is associated with the input and the input resource module, and the cursor resource module is arranged for each module. The present invention cooperates with the game design to manage the device module to output the signal to manage the input signal group of the tour, which is used to manage the resource model; and a main group, The initialization of the object, the system, the opening of the game, its nature; a program, receiving the output of the tour group with the control module, the update and the purpose, features and attachment diagram, the system It is the bottom layer of game programming. It is responsible for communicating with the machine, and mainly provides low-level support for image display, sound playback, and energy. The spirit of the present invention is to form the respective functional modules and provide an intervening
I·· 17329英業達.ptd 第6頁 1307848 五、發明說明(3) 底層硬體與上層遊戲程式之間的抽象層,以方便遊戲設計 者使用各功能模組來開發遊戲。 第1圖係本發明之模組化遊戲設計系統之一較佳實施 例的系統架構圖。該圖顯示,本發明之模組化遊戲設計系 統至少包含:一設備模組1 0 0,係用以管理該遊戲程式之 輸出訊號;一資源模組1 0 2,係與設備模組1 0 0連結,其用 以記錄設備模組1 0 0之輸出訊號及該輸出訊號之屬性;一 物件模組1 0 4,係與資源模組1 0 2連結,其用以管理該遊戲 程式所需之物件,並提供檢測使用者所輸入的輸入訊號, 此輸入訊號包含有藉由滑鼠及鍵盤所輸入的輸入信號,另 外,物件模組1 0 4亦接收遊戲程式所產生的訊息及控制資 源模組1 0 2所記錄的輸出訊號;一訊息模組1 0 6,係與物件 模組1 0 4連結,其用以管理該遊戲程式所產生之訊息;一 游標模組1 0 8,係與資源模組1 0 2連結,其用以管理該遊戲 程式所需之游標;以及一主控程式1 1 0,係用以控制設備 模組1 0 0、資源模組1 0 2、物件模組1 0 4、訊息模組1 0 6及游 標模組1 0 8以進行各模組之初始化、更新及關閉,且用以 協調各模組之工作排程。再者,第1圖亦指出本發明之模 組化遊戲設計系統可進一步包含一遊戲平台介面1 1 2及一 資源/物件介面1 0 3,其中遊戲平台介面1 1 2係用以作為該 遊戲程式與上述各模組之間的連接介面,以使該遊戲程式 可調用設備模組1 0 0、資源模組1 0 2、物件模組1 0 4、訊息 模組1 0 6、游標模組1 0 8及主控程式1 1 0,而資源/物件介面 1 0 3,係用以作為資源模組1 0 2與物件模組1 0 4之間的連接I·· 17329 Inventec.ptd Page 6 1307848 V. Invention Description (3) An abstraction layer between the underlying hardware and the upper game program to facilitate game designers to develop games using various functional modules. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a system architecture diagram of a preferred embodiment of a modular game design system of the present invention. The figure shows that the modular game design system of the present invention comprises at least: a device module 100 for managing the output signal of the game program; a resource module 102, and a device module 10; The 0 link is used to record the output signal of the device module 1000 and the attribute of the output signal; an object module 104 is connected to the resource module 102, which is used to manage the game program. The object and the input signal input by the user are detected. The input signal includes an input signal input by the mouse and the keyboard, and the object module 104 receives the information generated by the game program and the control resource. The output signal recorded by the module 1 0 2; a message module 1 0 6 is connected to the object module 1 0 4 for managing the message generated by the game program; a cursor module 1 0 8 is Linked with the resource module 102, which is used to manage the cursor required by the game program; and a master program 1 1 0 for controlling the device module 100, the resource module 1 0, the object module Group 1 0 4, message module 1 0 6 and cursor module 1 0 8 for each module Initialize, update, and close, and coordinate the work schedule of each module. Furthermore, FIG. 1 also indicates that the modular game design system of the present invention may further include a game platform interface 1 1 2 and a resource/object interface 103, wherein the game platform interface 1 1 2 is used as the game. a connection interface between the program and each of the above modules, so that the game program can call the device module 100, the resource module 1 0, the object module 1 0 4, the message module 1 0 6 , the cursor module 1 0 8 and the main control program 1 1 0, and the resource/object interface 1 0 3 is used as the connection between the resource module 1 0 2 and the object module 1 0 4
17329英業達.ptd 第7頁 1307848 五、發明說明(4) 介面,以使物件模組1 0 4可調用資源模組1 0 2所記錄之輸出 訊號。 第2圖係對應於第1圖中的設備模組1 0 0之應用架構 圖。此應用架構至少包含有三層,分別是:第一層(最底 層)的視頻輸出訊號1 0 0 a、聲音輸出訊號1 0 0 b、時鐘訊號 10 0c,和第二層的運作單元1 0 0 d,以及第三層(最上層)的 管理單元1 0 0 e。其中,視頻輸出訊號1 0 0 a係用以處理該遊 戲程式所需之顯示晝面,且播放該顯示晝面;聲音輸出訊 號1 0 0 b係用以處理該遊戲程式所需之音效,且播放該音 效;時鐘訊號1 0 0 c係用以設置該遊戲程式所需之計時,且 提供該遊戲程式讀取該計時結果;運作單元1 0 0 d係將設備 模組1 0 0所記錄的輸出訊號作為遊戲程式之輸出結果;管 理單元1 0 0 e係用以將運作單元1 0 0 d所提供的輸出結果傳送 至資源模組1 0 2,以令資源模組1 0 2記錄該輸出結果所對應 的輸出訊號。 第3圖係對應於第1圖中的資源模組1 0 2之應用架構 圖。此應用架構至少包含有三層,分別是:第一層(最底 層)的資源資料1 0 2 a、第二層的資源檔案1 0 2 b,及第三層 (最上層)的資源管理程式1 0 2 c。其中,資源資料1 0 2 a係用 以儲存設備模組1 0 0所產生的輸出訊號及該輸出訊號之屬 性;資源檔案1 0 2 b係用以儲存資源資料1 0 2 a以供該遊戲程 式運作時之所需資源;資源管理程式1 〇 2 c係用以創建資源 檔案1 0 2 b並對資源檔案1 0 2 b進行管理,且提供該遊戲程式 取得所需之資源。17329 Inventec.ptd Page 7 1307848 V. Invention Description (4) Interface so that the object module 1 0 4 can call the output signal recorded by the resource module 1 0 2 . Figure 2 is an application architecture diagram corresponding to the device module 100 in Figure 1. The application architecture includes at least three layers: a first layer (lowest layer) video output signal 1 0 0 a, a sound output signal 1 0 0 b, a clock signal 10 0c, and a second layer operating unit 1 0 0 d, and the third (uppermost) management unit 1 0 0 e. The video output signal 1 0 0 a is used to process the display surface required by the game program, and the display screen is played; the sound output signal 1 0 0 b is used to process the sound effect required by the game program, and Playing the sound effect; the clock signal 1 0 0 c is used to set the timing required by the game program, and the game program is provided to read the timing result; the operating unit 1 0 0 d is recorded by the device module 1 0 0 The output signal is outputted as a game program; the management unit 1000 is used to transmit the output result provided by the operating unit 1000d to the resource module 1 0 2, so that the resource module 1 0 2 records the output. The output signal corresponding to the result. Figure 3 is an application architecture diagram corresponding to the resource module 102 in Figure 1. The application architecture includes at least three layers: the first layer (the lowest layer) resource data 1 0 2 a, the second layer resource file 1 0 2 b, and the third layer (the top layer) resource management program 1 0 2 c. The resource data 1 0 2 a is used to store the output signal generated by the device module 100 and the attribute of the output signal; the resource file 1 0 2 b is used to store the resource data 1 0 2 a for the game. The resources required for the operation of the program; the resource management program 1 〇 2 c is used to create the resource file 1 0 2 b and manage the resource file 1 0 2 b, and provide the game program to obtain the required resources.
17329英業達.ptd 第8頁 1307848 圖式簡單說明 施 實 佳 較 1 之 統 系 S+ 設 戲 遊 化 組 模 之 明 1發。 明 44 圖說W構 單Η架 圖 簡1統 式第系 圖的 ί 例 圖圖 構構 架架 用用 應應 之之 組組 模模 備源 設資 Av AWV 白 中中 圖圖 --丄 ---X 第第 於於 應應 對對 係 係 圖圖 2 3 第第 圖圖圖構構構 力Κ 力片 用用用Μ Μ Μ 之之之 aaa 件息標 物訊游 勺 /ον AR **£π 中中 中 圖圖圖 - I lx - I 第第第 於於於 應應應 對對對 圖圖圖 4 5 6 第第第 100 設 備 模 組 100a 視 頻 出 訊 號 100b 聲 音 輸 出 訊 號 100c 時 鐘 訊 號 1 00d 運 作 單 元 1 00e 管 理 單 元 102 資 源 模 組 102a 資 源 資 料 102b 資 源 檔 案 102c 資 源 管 理 程 式 103 資 源 /物件介面 104 物 件 模 組 10 4a 物 件 104b 物 件 樹 10 4c 物 件 管 理 程 式 106 訊 息 模 組 106a 訊 息 106b 訊 息 佇 列 106c 訊 息 管 理 程 式 108 游 標 模 組 10 8a 游 標 108b 游 標 控 制 程 式 110 主 控 程 式 112 遊 戲 平 台 介 面 I»17329 Inventec.ptd Page 8 1307848 Schematic description of the Shi Shijia than the 1 system S + set of play kits. Ming 44 Figure shows the structure of the truss of the single truss diagram of the 构 图 图 例 构 构 构 构 构 A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A -X The first should be dealt with the system diagram Figure 2 3 The first figure is the structure of the force Κ Κ 用 a a a a a a a a a a a a ο ο ο ο ο ο ο ο ο ο ο中中中图图图- I lx - I The first in Yu Ying should respond to the map Figure 4 5 6 The 100th equipment module 100a Video signal 100b Sound output signal 100c Clock signal 1 00d Operation unit 1 00e management unit 102 resource module 102a resource data 102b resource file 102c resource management program 103 resource/object interface 104 object module 10 4a object 104b object tree 10 4c object management program 106 message module 106a message 106b message queue 106c message Management program 108 cursor module 10 8a cursor 108b cursor control program 110 master program 112 game platform Face I »
17329英業達.ptd 第11頁17329 Inventec.ptd Page 11