Information processing program, information processing method, and information processing apparatus

By dividing the game field into cells and generating effects based on cell-specific data, the processing time for effect determination is reduced, addressing the inefficiencies of three-dimensional collision detection in existing game technologies.

JP2026181773APending Publication Date: 2026-11-19KOEI TECMO GAMES CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2025077429
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-07
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Existing game technologies require significant processing time for three-dimensional contact determination between objects, leading to increased load when generating effects.

Method used

Divide the game field into predetermined regions or cells, generating effects for each cell as the character moves, reducing the need for detailed three-dimensional collision detection.

Benefits of technology

This approach significantly speeds up the effect generation process by limiting the determination to two-dimensional cell-based checks, reducing the frequency of judgments required.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026181773000001_ABST
    Figure 2026181773000001_ABST
Patent Text Reader

Abstract

This invention provides an information processing program, an information processing method, and an information processing device that can perform collision detection between objects, including characters, at a much faster rate than the collision detection method used for generating effects. [Solution] The information processing program 30, in a game in which a character operated by a player moves on a three-dimensional field, generates a predetermined effect for each region obtained by dividing the plane corresponding to the field into predetermined sizes when the character moves on the field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an information processing program, an information processing method, and an information processing apparatus.

Background Art

[0002] Patent Document 1 discloses a program that can realistically represent damage to a model object with simple processing. This program stores attribute information in association with each of a plurality of part objects, and performs hit effect processing according to the attribute information of the part object corresponding to the hit position of the model object.

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] As in Patent Document 1, in games, processing is performed to determine contact between objects including characters, and generate an effect when contact is determined. However, the contact determination between objects is a three-dimensional determination and needs to be performed for as many times as the number of contacting objects, which may take time when the processing load increases. Therefore, it has been desired to speed up the determination when generating an effect.

[0005] An object of the present disclosure is to provide an information processing program, an information processing method, and an information processing apparatus that can perform determination for generating an effect at a higher speed than in the case of performing contact determination between objects including characters.

Means for Solving the Problems

[0006] The first embodiment of the information processing program causes a computer to perform a process in which, in a game in which a character controlled by a player moves on a three-dimensional field, a predetermined effect is generated for each region obtained by dividing the plane corresponding to the field into predetermined sizes as the character moves on the field.

[0007] The second aspect of the information processing method involves a computer performing a process in which, in a game in which a character controlled by a player moves on a three-dimensional field, a predetermined effect is generated for each region obtained by dividing the plane corresponding to the field into predetermined sizes as the character moves on the field.

[0008] The third embodiment of the information processing device includes a processor, which, in a game in which a character operated by a player moves on a three-dimensional field, generates a predetermined effect for each region obtained by dividing the plane corresponding to the field into predetermined sizes when the character moves on the field. [Effects of the Invention]

[0009] According to this disclosure, the determination required to generate an effect can be performed at a much faster speed compared to the case where collision detection is performed between objects, including characters. [Brief explanation of the drawing]

[0010] [Figure 1] This is a schematic diagram showing an example of the configuration of an information processing device according to the first embodiment. [Figure 2] This is an explanatory diagram illustrating the grid data according to the first embodiment. [Figure 3] This is a block diagram showing an example of the functional configuration of the information processing device according to the first embodiment. [Figure 4] This is an explanatory diagram for explaining the conventional effect detection criteria. [Figure 5] This is an explanatory diagram illustrating the determination of the occurrence of an effect in the first embodiment. [Figure 6] This flowchart shows an example of the generation process flow according to the first embodiment. [Figure 7] This flowchart shows an example of the display processing flow according to the first embodiment. [Figure 8] This flowchart shows an example of the update process flow according to the first embodiment. [Figure 9] This is an explanatory diagram illustrating the grid data according to the second embodiment. [Figure 10] This is a block diagram showing an example of the functional configuration of the information processing device according to the second embodiment. [Figure 11] This flowchart shows an example of the generation process flow according to the second embodiment. [Figure 12] This flowchart shows an example of the selection process flow according to the second embodiment. [Figure 13] This flowchart shows an example of the selection process flow according to a modified example of the second embodiment. [Modes for carrying out the invention]

[0011] The information processing device 10 of this embodiment will be described below with reference to the drawings. In each drawing, the same or equivalent components are given the same reference numerals. Also, the dimensional ratios in the drawings are exaggerated for illustrative purposes and may differ from the actual ratios. Furthermore, this disclosure is not limited in any way to the following embodiments, and can be implemented with appropriate modifications within the scope of the purpose of this disclosure.

[0012] In the following explanation, a game is defined as a set of activities and rules for play or competition. A game is played, for example, by players using strategies and techniques to achieve a specific objective. Games are played to achieve various objectives, such as competitive objectives like winning a championship, combat objectives like defeating an enemy, educational objectives like learning, or narrative objectives like completing a scenario. Games may be competitive or non-competitive.

[0013] <Overview of the Present Embodiment> The information processing apparatus 10 according to the present embodiment provides a game in which a character operated by a player who is a user of the information processing apparatus 10 (hereinafter also referred to as "player character") moves within a game field. Here, the player character is a human, animal, robot, machine, fictional creature or the like that appears in the game, and the type thereof is not particularly limited. The game field is an example of a "three-dimensional field". The information processing apparatus 10 of the present embodiment may be any terminal capable of playing a game, such as a smartphone, a tablet terminal, a portable game machine, a home-use game machine, an arcade game machine, and a personal computer.

[0014] The information processing apparatus 10 manages effects occurring on the player character for each region of a predetermined size (hereinafter also referred to as "cell") obtained by dividing a plane on which coordinates in the depth direction and the lateral direction corresponding to the game field are set, at regular intervals. In the present embodiment, description will be given taking a cell as a region obtained by dividing the game field in two-dimensional directions (for example, the X-Y directions shown in FIG. 2) at regular intervals (for example, an interval corresponding to 50 cm on the field). Here, the effects include temporarily occurring effects such as sound effects and visual effects, as well as continuously occurring effects such as status changes and appearance changes of the player character. Then, when the player character passes through the region on the field corresponding to the cell, the information processing apparatus 10 causes the player character to generate the effect set for the cell. In the present embodiment, the size of the cell is set larger than the size of the ground texture set in the field (see FIG. 2), but the size of the cell is not particularly limited.

[0015] Further, the information processing apparatus 10 displays game objects or updates the information for each cell according to the action of the player character, based on the information for each cell. Here, the game object is an object that appears in the game, such as a natural object, a building, a tool, a character, and a gimmick.

[0016] [First Embodiment] (Hardware Configuration) Figure 1 is a schematic diagram illustrating an example of the configuration of the information processing apparatus 10 according to the first embodiment. As shown in Figure 1, the information processing apparatus 10 includes a CPU (Central Processing Unit) 11, a memory 12, a storage 13, an external I / F (InterFace) 14, a communication I / F 15, and an input I / F 16. Each of the CPU 11, the memory 12, the storage 13, the external I / F 14, the communication I / F 15, and the input I / F 16 is communicably connected to one another via a bus 20.

[0017] The CPU 11 is a central processing unit, and executes various programs and controls each unit. The CPU 11 is an example of a processor. The memory 12 temporarily stores programs or data as a work area. The storage 13 is configured by a storage device such as an HDD (Hard Disk Drive), an SSD (Solid State Drive), or a flash memory, and stores various programs and various data.

[0018] The storage 13 stores an information processing program 30, grid data 31, and an effect database 32.

[0019] The information processing program 30 is a program for executing a predetermined game on the information processing device 10. The CPU 11 reads the information processing program 30 from the storage 13 and executes the information processing program 30 using the memory 12 as a working area. The information processing program 30 is not limited to being stored in the storage 13, but may also be stored on a recording medium such as an optical disc, USB (Universal Serial Bus) memory, or SD memory card. Furthermore, the information processing program 30 may be downloadable to the information processing device 10 via the communication I / F 15. In addition, the information processing program 30 can be provided as a program product. A program product includes all forms of products for providing programs. For example, a program product includes programs provided via a network such as the Internet, and non-temporary computer-readable recording media such as optical discs on which programs are stored.

[0020] Grid data 31 is structured data in which the information of each cell can be identified by matrix information. Figure 2 is an explanatory diagram for illustrating grid data 31 according to the first embodiment. In Figure 2, for the sake of explanation, the case in which grid data 31 has cell information arranged in 4 rows and 3 columns is described, but the size of field F, the size of cells, and the number of cells are not limited to the case shown in Figure 2. Field F also shows a schematic representation of the ground texture of the field in this embodiment. Arrow X indicates the depth direction of field F, arrow Y indicates the lateral direction of field F, and arrow Z indicates the height direction of field F. Hereafter in Figure 2, only the components necessary for the explanation will be denoted by reference numerals.

[0021] Figure 2 is a visual representation of grid data 31, which manages information for each cell. Grid data 31 is configured to allow the identification of cell information by specifying the row and column numbers. The cell information managed by grid data 31 is information about the area on field F corresponding to the cell. Here, the cell information managed by grid data 31 includes effect information, which is information about the effects that occur in the area on field F corresponding to the cell. Effect information includes, for example, a type value indicating the type of effect to be produced, and a density value indicating the density of game objects to be placed. Note that effect information is not limited to the type of effect and the density of game objects, but can be any information related to the effect. The type value is an example of the "first parameter". The density value is an example of the "second parameter". The diagram visually representing grid data 31 shown in Figure 2 is an example of a "plane corresponding to a field".

[0022] The effect type in this embodiment indicates the type of sound effect and visual effect to be generated on the player character 100. The type value indicating the effect type is, for example, string data and is set with letters such as "A, B, C...". For example, if the type value is "A", the effect is "grass fluttering". If the type value is "B", the effect is "walking on a wooden floor". If the type value is "C", the effect is "broken flowers fluttering". If the type value is not set (i.e., "0"), the effect is "dust swirling". Note that the effect is not limited to an effect generated on the player character 100, but can be any effect relating to the area on field F corresponding to the cell.

[0023] In this embodiment, the density of game objects indicates the amount of game objects placed in the area on field F corresponding to a cell, and the amount of effect generated. The density value, which indicates the density of game objects, is, for example, numerical data and is set between a minimum value of 0 and a maximum value of 1. For example, if the density value is "0.8", then 80% of the maximum amount of game objects will be placed in the area on field F corresponding to a cell, and the effect will be generated at 80% of the maximum amount. The density of game objects may also indicate the frequency and probability of effect generation. Alternatively, the amount, frequency, and probability of effect generation may not be determined by the density value. Specifically, the amount, frequency, and probability of effect generation may be determined by parameters different from the density value. For example, the density value of a cell corresponding to a cobblestone corridor where no game objects are placed is set to "0", and parameters indicating the amount, frequency, and probability of footsteps generated when the player character 100 walks on the cobblestones are set separately from the density value. The parameters indicating the amount, frequency, and probability of effect generation are an example of a "second parameter". Note that the format of the type value and density value is not limited to the data format described above. Furthermore, the above explanation described cases where the amount, frequency, and probability of an effect occur are determined by the density value or a parameter other than the density value. However, the explanation is not limited to this, and the amount, frequency, and probability of an effect occur may be determined by a combination of multiple parameters, including the density value and a parameter other than the density value.

[0024] As shown in Figure 2, the cells managed by the grid data 31 of this embodiment include cells C00, C01, and C02 in row 0, cells C10, C11, and C12 in row 1, cells C20, C21, and C22 in row 2, and cells C30, C31, and C32 in row 3. In addition, some cells have predetermined effect information set. In this embodiment, cell C11 is set to effect information E11 as "A, 0.8", cell C30 is set to effect information E30 as "B, 0.6", and cell C32 is set to effect information E32 as "C, 0.4". In addition, no effect information is set in the other cells (i.e., "0, 0" is set). For this reason, for example, when the player character 100 walks in the area on field F corresponding to cell C11, a grass-fluttering effect is generated on the player character 100 at an amount of about 80% of the maximum value. Furthermore, in the area corresponding to cell C30 of field F in this embodiment, a game object of a building (not shown) is placed, and no texture is set.

[0025] In this way, by using grid data 31 as data independent of field F, cell information can be set regardless of the size of field F. Furthermore, cell information can be set even in areas where no texture is set, such as the area corresponding to cell C30 in field F, or in areas where field F does not exist. Therefore, if a game object different from field F (for example, a wooden floor) is placed in the area on the field corresponding to cell C30, an effect corresponding to that game object can be generated.

[0026] The effect database 32 stores data for generating various effects. Specifically, the effect database 32 stores image data and sound data corresponding to the type of effect. For example, the effect database 32 stores image data and sound data for generating a grass-blown effect. The effect database 32 may also store data corresponding to the type and density value of the effect. For example, the effect database 32 may store image data and sound data for generating a grass-blown effect when the density value is 0.8.

[0027] The external I / F 14 is an interface for connecting various external devices to the information processing device 10. In this embodiment, the speaker 21 and the display 22 are connected to the external I / F 14.

[0028] The speaker 21 outputs various sounds. The speaker 21 may be integrated with the information processing device 10 or integrated with the display 22. The display 22 is, for example, a liquid crystal display or an organic EL (Electro-Luminescence) display, and displays various information. The display 22 may have an integrated touch panel. The display 22 may also be integrated with the information processing device 10.

[0029] Communication I / F15 is an interface for connecting the information processing device 10 to a network. Communication I / F15 may use, for example, wired communication standards such as Ethernet (registered trademark) or FDDI (Fiber Distributed Data Interface), or wireless communication standards such as 4G, 5G, or Wi-Fi (registered trademark).

[0030] The input interface 16 is an interface for connecting the input device 23 to the information processing device 10. The input device 23 is a game controller, mouse, or keyboard, etc., equipped with operation buttons and directional keys, and is used for various types of input. The user operates the game using the input device 23. Operation information indicating the content of the input operations performed by the user using the input device 23 is stored in the memory 12. The input device 23 may be integrated with the information processing device 10. Alternatively, the input device 23 may be detachable from the information processing device 10. Furthermore, there may be one or more input devices 23. Also, the input device 23 may be a touch panel integrated with the display 22.

[0031] (Functional Configuration) Figure 3 is a block diagram showing an example of the functional configuration of the information processing device 10 in the first embodiment. As shown in Figure 3, the CPU 11 of the information processing device 10 has a functional configuration comprising a reception unit 11A, an acquisition unit 11B, a specification unit 11C, an effect control unit 11D, a display control unit 11E, and an update unit 11F. Each function is realized by the CPU 11 reading and executing an information processing program 30 stored in the storage 13.

[0032] The reception unit 11A has the function of receiving input operations from the user using the input device 23. Based on the input operations received by the reception unit 11A, the player character 100 moves around the field F or performs predetermined actions described later.

[0033] The acquisition unit 11B has the function of acquiring position information of the player character 100. The acquisition unit 11B acquires, for example, two-dimensional coordinates (e.g., X coordinate and Y coordinate) that indicate the center position of the player character 100 in the field F.

[0034] Furthermore, the acquisition unit 11B has the function of acquiring effect data. Specifically, the acquisition unit 11B refers to the effect information of the cell identified by the identification unit 11C (described later) from the grid data 31 and acquires the effect data corresponding to that effect information from the effect database 32.

[0035] Furthermore, the acquisition unit 11B has the function of acquiring the action results of the player character 100. Specifically, the acquisition unit 11B acquires the action results related to predetermined actions performed by the player character 100 as a result of input operations received by the reception unit 11A. Predetermined actions are actions that affect game objects placed in areas on the field F corresponding to cells and the field F, such as making a campfire, mowing grass, and casting magic. Action results are, for example, scorched ground, disappearance of grass, and changes caused by cast magic.

[0036] The identification unit 11C has the function of identifying cells. The identification unit 11C identifies the cell corresponding to the position information of the player character 100. Specifically, the identification unit 11C identifies a cell by converting the coordinates of the player character 100 into row and column numbers for identifying cells. For example, the identification unit 11C identifies the row number by the integer value (for example, 2) obtained by truncating the decimal part when the X coordinate of the player character 100 (for example, 120) is divided by the length in the X-axis direction per cell (for example, 50). Alternatively, the identification unit 11C may identify the cell corresponding to the coordinates of the player character 100 by comparing the coordinates of the player character 100 with the range of X coordinates and Y coordinates associated with each cell, frame by frame. Specifically, if the X coordinate of the player character 100 is "120" and the Y coordinate is "170", the identification unit 11C identifies which cell's range of coordinates the X and Y coordinates belong to.

[0037] Furthermore, the identification unit 11C identifies a cell corresponding to an area on the field where a game object will be displayed. For example, when field F is displayed for the first time, or when the player character 100 moves and a new area is loaded, the identification unit 11C identifies a cell corresponding to an area where a game object will be newly displayed.

[0038] Then, the identification unit 11C identifies a cell corresponding to an area on the field that is affected by the action result of the player character 100. Specifically, the identification unit 11C identifies a cell corresponding to an area on the field F that is affected by the action result of the player character 100 acquired by the acquisition unit 11B.

[0039] The effect control unit 11D has the function of controlling the generation of effects. Specifically, the effect control unit 11D uses the effect data acquired by the acquisition unit 11B to play sound effects from the speaker 21 via the external I / F 14 and display visual effects on the display 22. For example, when generating a grass-swirling effect, the effect control unit 11D generates footsteps as if walking on grass, originating from the feet of the player character 100, and displays an image of grass swirling at the feet of the player character 100. The effect control unit 11D may generate both sound effects and visual effects, or it may generate either one or the other. Furthermore, the effect control unit 11D may change the status of the player character 100 by referring to the effect information of the cell identified by the identification unit 11C.

[0040] The display control unit 11E has a function to change the appearance of game objects within a cell and display them accordingly. Specifically, the display control unit 11E refers to effect information from grid data 31 and changes the appearance of game objects within a cell to the appearance corresponding to the effect information and displays them accordingly. In this embodiment, the display control unit 11E refers to the density value of the effect information and changes the density of game objects representing grass (hereinafter also referred to as grass objects) placed within the cell and displays them accordingly.

[0041] The update unit 11F has the function of updating the value of the effect information. Specifically, the update unit 11F updates the value of the effect information of the cell identified by the identification unit 11C according to the action result of the player character 100 acquired by the acquisition unit 11B.

[0042] (action) Next, using Figures 4 and 5, we will explain the determination for generating the conventional effect and the determination for generating the effect in this embodiment.

[0043] Figure 4 is an explanatory diagram illustrating the conventional method of determining the occurrence of an effect. As shown in Figure 4, conventionally, the occurrence of an effect was determined by the positional relationship between, for example, the center point 110, which is the projection of the center of the player character 100 onto the ground of field F, and the bounding box 200, which indicates the placement location of the grass object. In other words, the determination of the occurrence of an effect involved trying to determine whether the center point 110 was inside or outside the bounding box 200 in three dimensions for each object, which could result in a slow determination process. In particular, in areas where multiple bounding boxes 200 overlapped, the determination of whether the center point 110 was inside or outside the multiple bounding boxes 200 was performed simultaneously, resulting in a high load on the effect determination process and an even slower determination process.

[0044] Figure 5 is an explanatory diagram illustrating the determination of effect occurrence in the first embodiment. Figure 5 shows the field F divided into regions corresponding to each cell. As shown in Figure 5, in this embodiment, the determination of effect occurrence is made based on the positional relationship between the center point 110 and the region on field F corresponding to cell C11. In other words, the determination of effect occurrence is limited to a two-dimensional inside / outside determination between the center point 110 and the region on field F corresponding to cell C11, which can be determined much faster than in the conventional method.

[0045] (Generation process) Figure 6 is a flowchart showing an example of the generation process flow according to the first embodiment. The generation process is the process of generating an effect on the player character 100. The generation process is realized by the CPU 11 of the information processing device 10 reading and executing the information processing program 30 stored in the storage 13 (similar to the processing of the information processing device 10 described later). As an example, the generation process is repeatedly executed when the player character 100 is displayed on field F.

[0046] In step S100 of Figure 6, the CPU 11 determines whether or not the player character 100 is moving. Specifically, the CPU 11 determines whether or not an input operation is being performed using the input device 23 that causes the player character 100 to move. If the CPU 11 determines that the player character 100 is moving (step S100: YES), it proceeds to step S101. On the other hand, if the CPU 11 determines that the player character 100 is not moving (step S100: NO), it remains in a waiting state until the player character 100 moves.

[0047] In step S101, the CPU 11 obtains the position information of the player character 100. For example, the CPU 11 obtains the in-game position coordinates of the player character 100.

[0048] In step S102, the CPU 11 identifies the cell to which the player character 100 is moving. Specifically, the CPU 11 identifies which cell contains the position information obtained in step S101. For example, the CPU 11 identifies the row and column numbers of the cell corresponding to the position information of the player character 100.

[0049] In step S103, the CPU 11 references the effect information of a cell identified from the grid data 31. Specifically, the CPU 11 references the effect information of a cell from the grid data 31 using the row number and column number of the cell identified in step S102. For example, the CPU 11 references the effect information E11 of cell C11 by specifying row number "1" and column number "1" (see Figure 2).

[0050] In step S104, the CPU 11 retrieves the effect data indicated by the referenced effect information. Specifically, the CPU 11 retrieves the effect data corresponding to the type value included in the effect information referenced in step S103 from the effect database 32. For example, the CPU 11 retrieves the effect data for the "grass swirling effect" indicated by "A" in "A, 0.8" set in effect information E11 from the effect database 32. Alternatively, the CPU 11 may retrieve the effect data for the "grass swirling effect" when the density value is "0.8" from the effect database 32.

[0051] In step S105, the CPU 11 generates an effect on the player character 100 related to the referenced effect information. Specifically, the CPU 11 uses the effect data acquired in step S104 to generate an effect on the player character 100 at the amount indicated by the density value "0.8". Then, the CPU 11 returns to step S100.

[0052] (Display processing) Figure 7 is a flowchart showing an example of the display processing flow according to the first embodiment. The display processing is the process of displaying game objects in the area on field F corresponding to each cell using grid data 31. For example, the display processing is executed when a new game object placed in the area on field F is to be displayed. Alternatively, the display processing may be executed after the update processing described later.

[0053] In step S200, the CPU 11 identifies the cell corresponding to the newly displayed area of ​​the game object. For example, the CPU 11 identifies the row and column numbers of the cell corresponding to the newly loaded area on field F.

[0054] In step S201, the CPU 11 refers to the effect information of a cell identified from the grid data 31. Specifically, the CPU 11 uses the row number and column number of the cell identified in step S200 to refer to the effect information of that cell from the grid data 31.

[0055] In step S202, the CPU 11 obtains a density value from the referenced effect information. For example, the CPU 11 obtains a density value of "0.8".

[0056] In step S203, CPU11 obtains the height of the area where the game object will be newly displayed. For example, CPU11 obtains the height coordinates of the area on the newly loaded field F.

[0057] In step S204, the CPU 11 displays the game object at the acquired height with the density indicated by the acquired density value. Specifically, the CPU 11 displays the game object at the height acquired in step S203 with the density indicated by the density value acquired in step S202. For example, the CPU 11 places and displays a grass object in the newly loaded area of ​​field F with a density corresponding to a density value of "0.8".

[0058] (Update process) Figure 8 is a flowchart showing an example of the update process flow according to the first embodiment. The update process updates the information of the cells set in the grid data 31 based on the results of the player character 100's actions. For example, the update process is executed when the player character 100 performs a predetermined action.

[0059] In step S300, the CPU 11 determines whether the player character 100 has performed a predetermined action. Specifically, the CPU 11 determines whether the player character 100 has performed an input operation using the input device 23 to perform the predetermined action. If the CPU 11 determines that the player character 100 has performed the predetermined action (step S300: YES), the process proceeds to step S301. On the other hand, if the CPU 11 determines that the player character 100 has not performed the predetermined action (step S300: NO), the update process ends.

[0060] In step S301, the CPU 11 obtains the result of a predetermined action. Specifically, the CPU 11 obtains the result of the predetermined action performed in step S300. For example, if the player character 100 makes a campfire, the CPU 11 obtains the result of the action, such as the disappearance of grass objects, the charring of the ground, and the display of campfire traces.

[0061] In step S302, the CPU 11 identifies the cell where the predetermined action was performed. Specifically, the CPU 11 identifies the cell corresponding to the area on field F corresponding to the predetermined action performed in step S300. For example, the CPU 11 identifies the cell corresponding to the area on field F where the bonfire was performed based on the position information of the player character 100 when the bonfire was performed. The CPU 11 may identify the cell indicated by the position information of the player character 100 as the cell where the predetermined action was performed, or it may identify a cell indicating a location far from the position information of the player character 100 as the cell where the predetermined action was performed. Furthermore, the CPU 11 may identify multiple cells as cells corresponding to the area on field F where the predetermined action was performed.

[0062] In step S303, the CPU 11 updates the effect information of the identified cell with effect information indicating the result of the action obtained in step S301. Specifically, the CPU 11 updates the effect information of the cell identified in step S302 with effect information indicating the result of the action obtained in step S301. For example, the CPU 11 updates the effect information of the cell where a bonfire was made to "0, 0" (i.e., "dust swirling effect"). Then, the CPU 11 terminates the update process.

[0063] (Summary of the first embodiment) In the first embodiment, the information processing device 10 generates an effect set for each cell obtained by dividing the plane corresponding to field F into predetermined sizes when the player character 100 moves across field F. Therefore, according to the information processing device 10 of this embodiment, the determination for generating an effect can be performed at high speed compared to the case where collision detection is performed between objects including characters.

[0064] In the first embodiment, the information processing device 10 generates an effect set for each cell obtained by dividing the plane corresponding to field F in the XY direction when the player character 100 moves through the area on field F corresponding to each cell. Therefore, according to the information processing device 10 of this embodiment, since the effect is generated corresponding to the area on field F that the player character 100 has passed through, the frequency of judgments required to generate an effect can be reduced compared to when collision detection is performed between objects.

[0065] In the first embodiment, the information processing device 10 references effect information set in cells corresponding to areas on the field F to which the player character 100 moves, from grid data 31 that allows cells to be identified by row number, column number, etc., and generates effects that occur on the player character 100. Therefore, according to the information processing device 10 of this embodiment, effect information can be referenced from row number and column number, and compared to cases where cells are not identified by row number and column number, effects that occur on the player character 100 can be generated at high speed.

[0066] In the first embodiment, the information processing device 10 generates an effect of the type represented by the type value of the effect information set in the cell corresponding to the area on the field F where the player character 100 moves. Therefore, according to the information processing device 10 of this embodiment, the type of effect generated for the player character 100 can be easily managed.

[0067] In the first embodiment, the information processing device 10 generates an effect whose generation amount is represented by the density value of the effect information set in the cell corresponding to the area on the field F in which the player character 100 moves. Therefore, according to the information processing device 10 of this embodiment, the generation amount of the effect generated on the player character 100 can be easily managed. Furthermore, even for the same type of effect, different effects can be generated depending on the density of the placed game objects.

[0068] The information processing device 10 of the first embodiment refers to the density value of the effect information of the cell corresponding to the area on the field F where a new game object is to be displayed, and changes the amount of game object to be displayed in that area. Therefore, according to the information processing device 10 of this embodiment, it is possible to ensure consistency between the effect generated on the player character 100 and the amount of game object to be displayed.

[0069] In the first embodiment, the information processing device 10 updates the effect information for each cell managed by the grid data 31 to effect information corresponding to the action results of the player character 100. Therefore, according to the information processing device 10 of this embodiment, the actions of the player character 100 are reflected in the effects generated for the player character 100, thus providing the player with a more natural game experience.

[0070] [Second Embodiment] The information processing device 10 of the second embodiment generates an effect on the player character 100 using grid data selected from a plurality of grid data 31. The differences from the first embodiment will be described below. Note that the other configurations are the same as in the embodiment described above, and a detailed explanation will be omitted.

[0071] Figure 9 is an explanatory diagram illustrating the grid data 31 according to the second embodiment. Note that, for illustrative purposes, Figure 9 describes a case where two grid data sets 31 are available, but the number of grid data sets 31 is not limited to the number shown in Figure 9.

[0072] As shown in Figure 9, the grid data 31 of the second embodiment includes first grid data 31A and second grid data 31B. Hereinafter, when it is not necessary to distinguish between first grid data 31A and second grid data 31B, they will be collectively referred to as grid data 31.

[0073] In this embodiment, the first grid data 31A manages effect information for each cell of the effects generated when the player character 100 moves at a height corresponding to the ground surface of field F. The second grid data 31B also manages effect information for each cell of the effects generated when the player character 100 moves at a height corresponding to the second floor of a building game object.

[0074] For example, in the first grid data 31A, cell C30 has effect information E30 set to "B, 0.6", indicating that the "effect of walking on a wooden floor" will occur at a density value of "0.6". Similarly, in the second grid data 31B, cell C30 has effect information E30 set to "D, 1.0". "D, 1.0" indicates that, for example, the "effect of walking on a metal floor" will occur at a density value of "1.0". In this way, by using multiple grid data 31, it is possible to manage the effect information for each cell so that different effects occur on the first floor and the second floor of a building.

[0075] Figure 10 is a block diagram showing an example of the functional configuration of the information processing device 10 of the second embodiment. As shown in Figure 10, the CPU 11 of the information processing device 10 of the second embodiment further includes a selection unit 11G as part of its functional configuration.

[0076] The selection unit 11G has the function of selecting one grid data 31 from a plurality of grid data 31. Specifically, the selection unit 11G selects one grid data 31 from a plurality of grid data 31 based on predetermined conditions. In this embodiment, the selection unit 11G selects either the first grid data 31A or the second grid data 31B depending on whether the height coordinates of the player character 100 exceed a predetermined height.

[0077] (Generation process) Figure 11 is a flowchart showing an example of the generation process flow according to the second embodiment.

[0078] In the generation process according to the second embodiment, the CPU 11 executes step S400 after step S102. In step S400, the CPU 11 executes a selection process, which will be described later. After executing the selection process, the CPU 11 proceeds to step S103. In the processes from step S103 onward, the CPU 11 refers to the effect information of the grid data 31 selected in the selection process of step S400 and generates an effect on the player character 100. Note that the processes from step S100 to step S105 are the same as in the first embodiment, so a detailed explanation is omitted.

[0079] (Selection process) Figure 12 is a flowchart showing an example of the selection process flow according to the second embodiment. The selection process is, for example, the process executed in step S400 (see Figure 11).

[0080] In step S500 of Figure 12, the CPU 11 obtains the height coordinates of the player character 100.

[0081] In step S501, the CPU 11 determines whether the height coordinates of the player character 100 have changed. Specifically, the CPU 11 compares the height coordinates of the player character 100 obtained in step S500 with the height coordinates of the player character 100 before movement to determine whether they have changed. If the CPU 11 determines that the height coordinates of the player character 100 have changed (step S501: YES), it proceeds to step S502. On the other hand, if the CPU 11 determines that the height coordinates of the player character 100 have not changed, it terminates the selection process. In other words, if the height coordinates of the player character 100 have not changed, the CPU 11 continues to use the grid data 31 that has already been selected in the processing from step S103 onward.

[0082] In step S502, the CPU 11 determines whether the height coordinates of the player character 100 exceed a predetermined height. Specifically, the CPU 11 determines whether the height coordinates of the player character 100 obtained in step S500 exceed the height corresponding to the second floor of the building game object. If the CPU 11 determines that the height coordinates of the player character 100 exceed the predetermined height (step S502: YES), the process proceeds to step S504. On the other hand, if the CPU 11 determines that the height coordinates of the player character 100 do not exceed the predetermined height (step S502: NO), the process proceeds to step S503.

[0083] In step S503, the CPU 11 selects the first grid data 31A. Then, the CPU 11 terminates the selection process.

[0084] In step S504, the CPU 11 selects the second grid data 31B. Then, the CPU 11 terminates the selection process.

[0085] (Summary of the second embodiment) In the second embodiment, the information processing device 10, when referencing grid data 31, references the grid data 31 selected from the first grid data 31A and the second grid data 31B based on whether the height coordinates of the player character 100 exceed a predetermined height. Therefore, according to the information processing device 10 of this embodiment, it is possible to generate an appropriate effect according to the hierarchical level in which the player character 100 is located.

[0086] (Modified version of the second embodiment) In the second embodiment, the information processing device 10 selected one grid data 31 from a plurality of grid data 31 based on whether the height coordinates of the player character 100 exceeded a predetermined height. In the modified version of the second embodiment, the information processing device 10 selects one grid data 31 from a plurality of grid data 31 based on the attributes of the player character 100 and the attributes of field F. The differences from the second embodiment will be described below. Note that the other configurations are the same as in the embodiments described above, and a detailed explanation will be omitted.

[0087] In the modified version of the second embodiment, the attributes of the player character 100 may specifically indicate the characteristics of the player character 100, such as the type of equipment the player character 100 is wearing (e.g., type of shoes), the type of player character 100 (e.g., human, animal, and machine), and the movement patterns of the player character 100 (e.g., crouching and mounted). Similarly, the attributes of the field F may specifically indicate the characteristics of the field F, such as the weather and season of the field F. Multiple grid data sets 31 are provided according to the attributes of the player character 100 and the attributes of the field F.

[0088] Figure 13 is a flowchart showing an example of the selection process flow according to a modified example of the second embodiment. The selection process is, for example, the process performed in step S400 (see Figure 11).

[0089] In step S600 of Figure 13, the CPU 11 obtains the attributes of the player character 100 and the attributes of field F. For example, the CPU 11 obtains that the player character 100 is mounted and that the weather in field F is rainy. Alternatively, the CPU 11 may obtain either the attributes of the player character 100 or the attributes of field F, or just one of them.

[0090] In step S601, the CPU 11 selects grid data 31 corresponding to the acquired attributes. Specifically, the CPU 11 selects grid data 31 corresponding to the attributes of the player character 100 and the attributes of field F acquired in step S600. For example, the CPU 11 selects grid data 31 corresponding to the case where the player character 100 is mounted and the weather in field F is rainy. Then, the CPU 11 terminates the selection process.

[0091] According to the information processing device 10 of the modified second embodiment, grid data 31 corresponding to the attributes of the player character 100 and the attributes of field F are selected. Therefore, according to the information processing device 10 of this embodiment, the characteristics of the player character 100 and the characteristics of field F can be precisely reflected in the effects generated for the player character 100.

[0092] [Other embodiments] In the above embodiment, the information processing device 10 generated effects based on data obtained from the effect database 32. However, the information processing device 10 is not limited to this and may generate effects by changing the status of the player character 100. For example, when the player character 100 moves through an area on field F where a poison swamp is displayed, the information processing device 10 may refer to the effect information of the cell corresponding to that area and change the status of the player character 100 to a poisoned state.

[0093] In the above embodiment, the information processing device 10 selected one grid data 31 from a plurality of grid data 31 based on the height coordinates of the player character 100, the attributes of the player character 100, and the attributes of field F. However, the information processing device 10 is not limited to this and may select grid data 31 based on conditions related to the actions of the player character 100. Specifically, the actions of the player character 100 are actions that trigger the player character 100 to enter an area different from field F, such as climbing stairs, flying, and warping. For example, when the information processing device 10 acquires that the player character 100 has performed the action of climbing stairs, it selects and refers to grid data 31 that manages effect information for the upper floor.

[0094] In the above embodiment, the information processing device 10 updated both the type value and the density value when updating the cell information set in the grid data 31 based on the results of the player character 100's actions. However, the information processing device 10 is not limited to this, and it is sufficient to update at least one piece of information from the cell information set in the grid data 31 based on the results of the player character 100's actions. For example, if the player character 100 performs the action of mowing grass on a grass object placed on field F, the information processing device 10 may update only the density value of the cell corresponding to the area where the grass object is placed to decrease.

[0095] Furthermore, the configuration of the information processing device 10 described in the above embodiment is merely an example, and may be modified as needed without departing from the main purpose.

[0096] Furthermore, the program processing flow described in the above embodiment is just one example, and unnecessary steps may be deleted, new steps added, or the processing order rearranged, as long as it does not deviate from the main purpose.

[0097] Furthermore, the various processes that the CPU 11 reads and executes in the above embodiment may be executed by various processors other than the CPU. Examples of such processors include PLDs (Programmable Logic Devices) such as FPGAs (Field-Programmable Gate Arrays) whose circuit configuration can be changed after manufacturing, and dedicated electrical circuits that are processors with circuit configurations specifically designed to execute specific processes, such as ASICs (Application Specific Integrated Circuits). In addition, the various processes may be executed by one of these various processors, or by a combination of two or more processors of the same or different types (for example, multiple FPGAs, and a combination of a CPU and an FPGA). More specifically, the hardware structure of these various processors is an electrical circuit that combines circuit elements such as semiconductor elements.

[0098] Furthermore, the operation of the processor in the above embodiment may not be performed by a single processor, but may be performed by multiple processors located in physically separate locations working together. Also, the order of the processor operations is not limited to the order described in the above embodiment, but may be changed as appropriate. [Explanation of Symbols]

[0099] 10 Information Processing Devices 11A Reception Desk 11B Acquisition Department 11C Specific part 11D Effect Control Unit 11E Display Control Unit 11F Update Department 11G Selection Section 21 speakers 22 displays 30 Information Processing Programs 31 Grid Data 31A First Grid Data 31B Second Grid Data 32 Effect Database 100 Player Characters 110 center point 200 bounding boxes F Field

Claims

1. On the computer, In a game where a player controls a character that moves on a three-dimensional field, When the character moves on the field, a predetermined effect is generated for each region obtained by dividing the plane corresponding to the field into predetermined sizes. An information processing program used to execute a process.

2. The aforementioned region is a region obtained by dividing the plane in a two-dimensional direction. To the aforementioned computer, The effect is generated when the character passes through the field corresponding to the region. An information processing program according to claim 1 for performing processing.

3. To the aforementioned computer, From structured data having effect information related to the effect set for each of the aforementioned regions, the effect is generated by referring to the effect information set for the region corresponding to the field that the character passes through. An information processing program according to claim 1 for performing processing.

4. The effect information has a first parameter relating to the type of the effect, When generating the aforementioned effect, the first parameter generates an effect of the type represented by the first parameter. An information processing program according to claim 3 for performing processing.

5. The aforementioned effect information has a second parameter relating to the occurrence of the effect, When generating the aforementioned effect, the effect corresponding to the second parameter is generated. An information processing program according to claim 3 for performing processing.

6. To the aforementioned computer, Referencing the second parameter, the appearance of the object placed in the field corresponding to the region is changed and displayed. An information processing program according to claim 5 for causing a process to be executed.

7. To the aforementioned computer, The effect information contained in the structured data is updated to effect information corresponding to the result of the character's actions in the field corresponding to the region. An information processing program according to claim 3 for performing processing.

8. When referring to the aforementioned structured data, the structured data selected from among multiple structured data based on predetermined conditions is referred to. An information processing program according to claim 3 for performing processing.

9. The above condition is a condition relating to the character's height coordinates. The information processing program according to claim 8.

10. The aforementioned conditions relate to at least one of the attributes of the character and the attributes of the field. The information processing program according to claim 8.

11. Computers In a game where a player controls a character that moves on a three-dimensional field, When the character moves on the field, a predetermined effect is generated for each region obtained by dividing the plane corresponding to the field into predetermined sizes. An information processing method that performs a process.

12. Equipped with a processor, The aforementioned processor, In a game where a player controls a character that moves on a three-dimensional field, When the character moves on the field, a predetermined effect is generated for each region obtained by dividing the plane corresponding to the field into predetermined sizes. Information processing device.

Citation Information

Patent Citations

  • Program, information storage medium and image generation system

    JP2010029398A