Information processing program, information processing method, and information processing device
By calculating patterns in advance based on capture status changes, the information processing program addresses the delay issue in generating game images, enhancing the system's responsiveness.
Patent Information
- Application Number
- JP2023200102
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-11-27
- Publication Date
- 2025-06-06
AI Technical Summary
Conventional technologies require a significant amount of time to calculate patterns for multiple regions in a game based on their capture status, leading to delays between receiving a request to generate an image and actually generating it.
An information processing program that acquires data on the capture status of multiple regions and calculates patterns in advance when the capture status changes, allowing for rapid image generation upon receiving a request.
This approach significantly reduces the time required to generate images with patterns corresponding to the capture status of multiple regions, improving the responsiveness of the game system.
Smart Images

Figure 2025086199000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an information processing program, an information processing method, and an information processing device. [Background technology]
[0002] Patent Document 1 discloses a war simulation game in which players give orders to their military forces to attack and defend territories. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2016-047124 A Summary of the Invention [Problem to be solved by the invention]
[0004] In a game in which a player progresses by capturing each of a plurality of areas divided into a virtual space, there is a need to generate an image in which each of the plurality of areas is drawn with a pattern according to the capture status. In order to meet such a need, a pattern according to the capture status was calculated after a request to generate an image was received. However, in the conventional technology, it takes time to calculate the pattern, and therefore a long time is required between receiving a request to generate an image and generating the image.
[0005] Therefore, the present disclosure aims to provide a program, method, and apparatus that can generate an image in which each of multiple regions is drawn with a pattern that corresponds to the acquisition situation in a short amount of time, compared to when a pattern is calculated after receiving a request to generate an image. [Means for solving the problem]
[0006] An information processing program according to a first aspect causes a computer to acquire acquisition data indicating the acquisition status of multiple areas in a game in which a virtual space is divided and in which the game progresses by acquiring each of the multiple areas, and, based on the acquisition data, calculates a pattern for rendering each of the multiple areas in accordance with the acquisition status when the acquisition status of at least any of the multiple areas changes, and, in response to a request to generate an image, generates an image in which each of the multiple areas is rendered with the pattern.
[0007] An information processing program according to a second aspect is the information processing program according to the first aspect, further comprising causing the computer to generate an image in which a target area included in a display range of the plurality of areas is rendered with the pattern.
[0008] An information processing program according to a third aspect is the information processing program according to the second aspect, further comprising causing the computer to paste and display the image in the virtual space.
[0009] An information processing program according to a fourth aspect is an information processing program according to the second or third aspect, which causes the computer to generate the image when the display range changes or the acquisition situation in the target area changes.
[0010] An information processing program according to a fifth aspect is an information processing program according to any one of the first to fourth aspects, which causes the computer to generate an image in which an acquired area that has been acquired among the multiple areas is drawn with the pattern.
[0011] An information processing program according to a sixth aspect is an information processing program according to the fifth aspect, which causes the computer to generate a first image in which the acquired areas for each of a number of forces to which a number of players belong are depicted in a first pattern according to the acquisition status of each of the multiple forces.
[0012] An information processing program according to a seventh aspect is an information processing program according to the sixth aspect, which causes the computer to generate a second image in which the acquired area of the player is depicted in a second pattern according to the acquisition status of the player.
[0013] An information processing program according to an eighth aspect is an information processing program according to the seventh aspect, which causes the computer to calculate the first pattern and the second pattern when the acquisition status in at least any of the multiple areas changes.
[0014] An information processing program according to a 9th aspect is the information processing program according to the 8th aspect, in which, when an operation is performed to switch from one of the first image and the second image to the other image, the other image is generated.
[0015] An information processing program according to a tenth aspect is an information processing program according to any one of the fifth to ninth aspects, which calculates the pattern for one acquired area such that, when the one acquired area is adjacent to another acquired area among the acquired areas, the edge portion of the one acquired area is painted.
[0016] An information processing program according to an eleventh aspect is an information processing program according to any one of the fifth to tenth aspects, which calculates the pattern for one acquired area such that, when the one acquired area is not adjacent to another acquired area among the acquired areas, the one acquired area is entirely painted.
[0017] An information processing method according to a twelfth aspect involves a computer acquiring acquisition data indicating the acquisition status of multiple areas in a game in which a virtual space is divided and the game progresses by acquiring each of the multiple areas, and, based on the acquisition data, calculating a pattern for rendering each of the multiple areas in accordance with the acquisition status when the acquisition status of at least any of the multiple areas changes, and, in response to a request to generate an image, generating an image in which each of the multiple areas is rendered with the pattern.
[0018] An information processing device according to a thirteenth aspect has a processor, which acquires acquisition data indicating the acquisition status of multiple areas in a game in which a virtual space is divided and in which the game progresses by acquiring each of the multiple areas, and based on the acquisition data, calculates a pattern for rendering each of the multiple areas in accordance with the acquisition status when the acquisition status of at least any of the multiple areas changes, and generates an image in which each of the multiple areas is rendered with the pattern in response to a request to generate an image. Effect of the Invention
[0019] According to the information processing program, information processing method, and information processing device disclosed herein, an image can be generated in which each of multiple regions is drawn with a pattern corresponding to the acquisition situation in a short time compared to when a pattern is calculated after receiving a request to generate an image. [Brief description of the drawings]
[0020] [Figure 1] 1 is a diagram showing an example of a schematic configuration of a game system 10 according to the present embodiment. [Diagram 2] 1 is a diagram illustrating an example of a hardware configuration of an information processing device 100 according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a diagram illustrating an example of a functional configuration of an information processing device 100 according to the present embodiment. [Figure 4] FIG. 2 is a diagram showing an example of a first image generated by the information processing device 100 according to the present embodiment. [Diagram 5]FIG. 2 is a diagram showing an example of data prepared in advance for the information processing device 100 according to the present embodiment to generate a first image. [Figure 6] FIG. 2 is a diagram showing an example of the flow of information processing executed by the information processing device 100 according to the present embodiment. [Figure 7] FIG. 4 is a diagram showing an example of a second image generated by the information processing device 100 according to the present embodiment. [Figure 8] FIG. 11 is a diagram showing an example of data prepared in advance for the information processing device 100 according to the present embodiment to generate a second image. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] Hereinafter, an example of an embodiment of the present disclosure will be described with reference to the drawings. In each drawing, the same or equivalent components and parts are given the same reference numerals. In addition, the dimensional ratios of the drawings are exaggerated for the convenience of explanation and may differ from the actual ratios.
[0022] FIG. 1 is a diagram showing an example of a schematic configuration of a game system 10 according to the present embodiment. Here, a game is a collection of activities and rules for playing or competing. A game is played, for example, by a player making full use of strategies and techniques to achieve a specific objective. A game is played to achieve various objectives, for example, a competitive objective such as winning, a combat objective such as defeating an enemy, an educational objective such as learning, and a narrative objective such as completing the progression of a scenario. A game may be competitive or non-competitive.
[0023] The game system 10 includes a communication means 20, a server device 30, and a terminal device 40. Hereinafter, a case will be described in which the game system 10 plays a game based on a historical territorial dispute, in which a player captures (makes a territory of) each of a plurality of areas 50 obtained by dividing a virtual space (such as a world map) by controlling bases provided in each of the areas. However, the present invention is not limited to this. The game system 10 may play any game that progresses by capturing each of a plurality of areas 50 obtained by dividing a virtual space.
[0024] The communication means 20 connects a plurality of computers so that they can communicate with each other. In this figure, the communication means 20 connects between the server device 30 and the terminal device 40. The communication means 20 may be the Internet, for example. However, the communication means 20 may be any means capable of connecting a plurality of computers so that they can communicate with each other, such as a LAN, a WAN, an intranet, etc.
[0025] The server device 30 executes processing according to the operation of the player by transmitting and receiving data to the terminal device 40, and provides the execution result to the terminal device 40. More specifically, the server device 30 may execute a process of downloading programs (applications) and the like to the terminal device 40, a login process for the player, a management process for various databases, and the like.
[0026] The server device 30 may be realized by cloud computing, for example. Although the figure shows an example in which the server device 30 is one device, the server device 30 may perform the above-mentioned processing in a distributed manner using a plurality of devices. Furthermore, the figure shows an example in which the game to be played is provided as a so-called online game, but the present invention is not limited to this. If the game to be played can be played offline, the game system 10 may not include the server device 30. That is, in the present disclosure, the server device 30 is not a required component.
[0027] The terminal device 40 is a device for playing a game that the player is to play. In the present figure, a case where the terminal device 40 is a smartphone is shown as an example. However, the terminal device 40 may be any device capable of playing a game that the player is to play, such as a mobile phone, a tablet terminal, a notebook computer, an all-in-one computer, a tablet computer, a portable game machine, or the like.
[0028] In the game system 10 in which a game progresses by acquiring each of the multiple regions 50 thus divided into the virtual space, the information processing device 100 according to the present embodiment reduces the time required to generate an image in which each of the multiple regions 50 is drawn in a pattern according to the acquisition status. This will be described in detail.
[0029] Hereinafter, a case where the terminal device 40 is the information processing device 100 according to the present embodiment will be described as an example. However, the present invention is not limited to this, and the server device 30 may be the information processing device 100 according to the present embodiment. That is, the information processing according to the present embodiment may be processed on the terminal side or on the network side.
[0030] 2 is a diagram showing an example of a hardware configuration of an information processing device 100 according to this embodiment. The information processing device 100 includes a processor 101, a read only memory (ROM) 102, a random access memory (RAM) 103, a storage 104, a communication interface 105, and a user interface 106. These components are connected to each other via a bus 109 so as to be able to communicate with each other.
[0031] The processor 101 executes various programs and controls each component. The ROM 102 stores various programs and various data. The RAM 103 temporarily stores programs or data as a working area. The storage 104 is composed of an HDD (Hard Disk Drive) or an SSD (Solid State Drive) and stores various programs including an operating system and various data.
[0032] In the information processing device 100 according to this embodiment, an information processing program is stored in the ROM 102 or the storage 104. The processor 101 reads the information processing program from the ROM 102 or the storage 104, and executes it using the RAM 103 as a working area, thereby controlling each component and executing various arithmetic processing in accordance with the information processing program.
[0033] The communication interface 105 is an interface for the information processing device 100 to communicate with other devices. The user interface 106 is an input / output interface for the information processing device 100 to exchange information with a user, i.e., a player. The user interface 106 may include a touch panel, a keyboard, a microphone, etc. as input devices, and may include a monitor, a speaker, etc. as output devices.
[0034] 3 is a diagram showing an example of the functional configuration of the information processing device 100 according to this embodiment. The information processing device 100 includes an acquisition unit 110, a calculation unit 120, a generation unit 130, and a display unit 140. These functional configurations are realized by the processor 101 reading out an information processing program from the ROM 102 or the storage 104, expanding it in the RAM 103, and executing it.
[0035] The acquisition unit 110 acquires acquisition data indicating the acquisition status of a plurality of areas 50 in a game that progresses by acquiring each of the plurality of areas 50 divided into a virtual space.
[0036] The calculation unit 120 calculates a pattern to be drawn in each of the multiple regions 50 according to the acquisition status when the acquisition status in at least one of the multiple regions 50 changes based on the acquisition data.
[0037] In response to a request to generate an image, the generating unit 130 generates an image in which each of the multiple regions 50 is rendered with a pattern.
[0038] The display unit 140 displays an image by pasting it into the virtual space.
[0039] FIG. 4 is a diagram showing an example of a first image generated by the information processing device 100 according to the present embodiment. As described above, the virtual space may be divided into a plurality of regions 50. Here, the regions 50 may be sections obtained by dividing the virtual space according to a predetermined rule. In this figure, a case where the region 50 is defined by a triangle is shown as an example. However, the region 50 may be defined by other convex polygons, such as a rectangle or a hexagon, that can tile the virtual space. Also, in this figure, only some regions 50(1) to 50(20), which are target regions included in the display range displayed on the screen of the terminal device 40, among the plurality of regions 50, are shown. However, the virtual space may be divided into a greater number of regions 50, for example, 1000 regions 50.
[0040] In this figure, the entire or edge portions of multiple areas 50 are drawn with a dot pattern, i.e., the painted areas 50(1), 50(3), 50(6), 50(7), 50(9), 50(10), 50(13), 50(14), 50(17) and 50(18) indicate areas that have been acquired by the first force (e.g., force P) to which the player belongs.
[0041] In addition, in this figure, among the multiple regions 50, regions 50(2), 50(4), 50(8), 50(11), 50(12), and 50(15), whose entirety or edges are drawn in a grid pattern, indicate acquired regions that have been acquired by a second force (e.g., force Q) to which another player who is hostile to the player belongs.
[0042] In addition, in this figure, among the multiple regions 50, regions 50(5), 50(16), 50(19), and 50(20) that are not drawn in any pattern indicate unacquired regions that have not been acquired by any power.
[0043] Note that "already acquired" does not only mean that it has been acquired in the past, but also means that the territory 50 is currently owned, that is, that it has become a territory. In other words, only one power has acquired each territory 50, and only one player has acquired each territory 50.
[0044] Also, in this figure, for convenience of explanation, an example is shown in which there are only two forces, a first force and a second force, but there may be more than two forces, for example, six forces.
[0045] Also, in this figure, for convenience of explanation, a case is shown as an example in which the acquired areas of different powers are drawn with different textures, such as a dot pattern for the acquired area of the first power and a grid pattern for the acquired area of the second power. However, this is not limited to this. The acquired areas of different powers may be drawn with different colors, such as a first color pattern for the acquired area of the first power and a second color pattern for the acquired area of the second power.
[0046] In this manner, the information processing device 100 generates an image in which the acquired regions among the plurality of regions 50 are depicted in a pattern. In particular, as shown in this figure, the information processing device 100 generates a first image in which the acquired regions of each of a plurality of powers to which a plurality of players belong are depicted in a first pattern according to the acquisition status of each of the plurality of powers.
[0047] In this case, if the entirety of the multiple continuous areas 50 is drawn in a pattern, the display may be too visually intense, causing stress to the player. Also, when mountains, rivers, buildings, etc. are displayed in the virtual space, the visibility of these objects may be reduced.
[0048] Therefore, for example, the information-processing device 100 draws non-contiguous area 50(1) of the acquired area that has been acquired by the first force in a dot pattern so that the entire area is filled in, while the information-processing device 100 regards contiguous areas 50(3), 50(6), 50(7), 50(9), 50(10), 50(13), 50(14), 50(17), and 50(18) as a single unit and draws them in a dot pattern so that their edges are filled in.
[0049] Similarly, the information-processing device 100 draws non-contiguous area 50(2) of the acquired area that has been acquired by the second force in a grid pattern so that the entire area is filled in, while the information-processing device 100 treats contiguous areas 50(4), 50(8), 50(11), 50(12), and 50(15) as a single unit and draws them in a grid pattern so that their edges are filled in.
[0050] In addition, in this figure, a case where the edge portion is drawn uniformly is shown as an example, but it may be drawn so that the color becomes more gradational as it approaches the edge.
[0051] In this case, when the regions 50(3), 50(6), 50(7), 50(9), 50(10), 50(13), 50(14), 50(17) and 50(18) are considered to be integrated, the pattern shapes of the region 50(3), the regions 50(6) and 50(7), the regions 50(9), 50(13), 50(14), 50(17) and 50(18) and the region 50(10) are different from each other. Similarly, when the regions 50(4), 50(8), 50(11), 50(12) and 50(15) are considered to be integrated, the pattern shapes of the regions 50(4) and 50(15) and the regions 50(8), 50(11) and 50(12) are different from each other. This will be described in detail.
[0052] In this figure, three reference numerals given within each region 50 indicate the vertices that constitute the region 50. For convenience of explanation, for the region 50 having a triangular shape convex to the left, the vertex located at the top right is designated as A, and the vertices are designated as B and C in the clockwise direction. As an example, for the region 50(1), the vertex located at the top right is designated as A1, and the vertices are designated as B1 and C1 in the clockwise direction. Also, for the region 50 having a triangular shape convex to the right, the vertex located at the top left is designated as A, and the vertices are designated as B and C in the counterclockwise direction. As an example, for the region 50(2), the vertex located at the top left is designated as A2, and the vertices are designated as B2 and C2 in the counterclockwise direction.
[0053] In this figure, for ease of explanation, different reference numbers are assigned to vertices that are the same point (for example, vertices A1 and A2, or vertices C2 and C3). However, the same reference number may be assigned to vertices that are the same point. Also, in this figure, for ease of explanation, reference numbers are assigned to only vertices related to some of the regions 50, but reference numbers may be assigned to vertices of other regions 50 in the same manner.
[0054] For example, when focusing on region 50(3), the edge portion along side A3B3 connecting vertices A3 and B3 and the edge portion along side C3A3 connecting vertices C3 and A3 are drawn with a dot pattern. On the other hand, when focusing on region 50(10), the edge portion corresponding to the interior angle of vertex A10 and the edge portion corresponding to the interior angle of vertex C10 are drawn with a dot pattern.
[0055] In this way, when the continuous area 50 among the acquired areas is regarded as a single unit and the edges are painted in a pattern, the shape of the pattern differs depending on the adjacency relationship with other acquired areas. If such a pattern is calculated after receiving a request to generate an image, the pattern calculation takes time, and there is a problem that it takes a long time from receiving a request to generate an image to generating the image.
[0056] Therefore, the information processing device 100 according to the present embodiment calculates such patterns in advance, thereby shortening the time required to generate an image in which each of the multiple regions 50 is drawn in a pattern according to the acquisition status. More specifically, the information processing device 100 prepares multiple patterns, for example, eight patterns, in advance, and determines in advance the ID of one pattern from among the IDs [1, 2, 3, 4, 5, 6, 7, 8] of the eight patterns (patterns that become the same shape when rotated are considered to be the same pattern) according to the adjacent relationship with other acquired regions, thereby shortening the time required to generate an image.
[0057] 5 is a diagram showing an example of data prepared in advance for the information processing device 100 according to the present embodiment to generate a first image. As an example, the region data of each region 50 may include side data, vertex data, coordinate data, force data, and pattern data.
[0058] The edge data is data indicating the ID of an edge connecting adjacent vertices among the vertices that make up each area 50. The vertex data is data indicating the ID of the vertices that make up each area 50. The coordinate data is data indicating the coordinates of the vertices that make up each area 50. The power data is data indicating the ID of a power that has acquired each area 50. The pattern data is data indicating the ID of a pattern to be drawn in each area 50 depending on the acquisition status.
[0059] As an example, in the area data of area 50(1), the side data may be [A1B1, B1C1, C1A1] indicating the IDs of side A1B1, side B1C1, and side C1A1, respectively. The vertex data may be [A1, B1, C1] indicating the IDs of vertices A1, B1, and C1, respectively. The coordinate data may be [(xA1, yA1), (xB1, yB1), (xC1, yC1)] indicating the coordinates of vertices A1, B1, and C1, respectively. The power data may be [P] indicating the ID of power P, which is the first power. The pattern data may be [1] indicating the ID of a pattern in which the entire area 50 is painted.
[0060] Similarly, in the area data of area 50(2), the side data may be [A2B2, B2C2, C2A2] indicating the IDs of side A2B2, side B2C2, and side C2A2, respectively. The vertex data may be [A2, B2, C2] indicating the IDs of vertices A2, B2, and C2, respectively. The coordinate data may be [(xA2, yA2), (xB2, yB2), (xC2, yC2)] indicating the coordinates of vertices A2, B2, and C2, respectively. The power data may be [Q] indicating the ID of power Q, which is the second power. The pattern data may be [1] indicating the ID of a pattern in which the entire area 50 is painted.
[0061] Similarly, in the area data of the area 50 (20), the side data may be [A20B20, B20C20, C20A20] indicating the IDs of the side A20B20, side B20C20, and side C20A20, respectively. The vertex data may be [A20, B20, C20] indicating the IDs of the vertices A20, B20, and C20, respectively. The coordinate data may be [(xA20, yA20), (xB20, yB20), (xC20, yC20)] indicating the coordinates of the vertices A20, B20, and C20, respectively. The power data may be [none] indicating that no power has been acquired. The pattern data may be [0] indicating that the area 50 is not painted with any pattern.
[0062] The same is true for the area data of the other areas 50. Pattern data [2] in the area data for area 50(3) and area 50(4) indicates the ID of a pattern in which the edges of two of the three sides are painted. Pattern data [3] in the area data for area 50(9) indicates the ID of a pattern in which the edges of one of the three sides are painted. Pattern data [4] in the area data for area 50(10) indicates the ID of a pattern in which the edges of two of the three vertices are painted.
[0063] In this figure, for ease of explanation, only region data for some of the target regions 50(1) to 50(20) is shown, but the information processing device 100 may similarly prepare region data for all regions 50 into which the virtual space is divided; for example, if the virtual space is divided into 1000 regions 50, then the information processing device 100 may similarly prepare region data for all 1000 regions 50.
[0064] The information processing device 100 according to the present embodiment may prepare such data in advance, for example, prior to generating an image. Then, by generating an image using the data prepared in advance in this manner, the time required to generate an image in which each of the multiple regions 50 is drawn in a pattern according to the acquisition status is reduced. This will be described in detail using a flow chart.
[0065] 6 is a diagram showing an example of the flow of information processing executed by the information processing device 100 according to this embodiment. This flow is executed by the processor 101 reading out an information processing program from the ROM 102 or the storage 104, expanding it in the RAM 103, and executing it. As an example, this flow may be started in response to a player logging in to the game.
[0066] In step S210, processor 101, as acquisition unit 110, acquires acquisition data indicating the acquisition status of a plurality of areas 50 in a game in which a player progresses by acquiring each of the plurality of areas 50 obtained by dividing a virtual space. For example, processor 101 may acquire the acquisition data from server device 30 via communication means 20 in cooperation with communication interface 105.
[0067] Here, the acquisition data may include data identifying a player who has acquired each of the multiple regions 50. Furthermore, the information processing device 100 may hold an affiliation table indicating which player belongs to which force. Such an affiliation table may be updated each time a player changes forces. Then, the processor 101 may recognize which force has acquired each region 50 by checking the acquisition data against the affiliation table. As a result, the processor 101 may recognize, for example, that force P, which is a first force, has acquired the regions 50(1), 50(3), 50(6), 50(7), 50(9), 50(10), 50(13), 50(14), 50(17), and 50(18), and force Q, which is a second force, has acquired the regions 50(2), 50(4), 50(8), 50(11), 50(12), and 50(15).
[0068] In step S220, the processor 101 determines whether the acquisition status has changed. If the processor 101 determines that the acquisition status has not changed (No) in comparison with the previously recognized acquisition status, the processor 101 returns the process to step S210. That is, the processor 101 repeatedly executes the acquisition process of the acquisition data.
[0069] On the other hand, when the processor 101 determines that the acquisition situation has changed (Yes) compared with the previously recognized acquisition situation, the processor 101 proceeds to step S230. Note that even when acquisition data is acquired for the first time in a state where acquisition data has not been acquired and there is no acquisition situation to compare with, the processor 101 may determine that the acquisition situation has changed.
[0070] In step S230, processor 101, as calculation unit 120, calculates a pattern to be drawn in accordance with the acquisition status of each of the multiple regions 50. In this way, a pattern is calculated when it is determined in step S220 that the acquisition status has changed, so processor 101 calculates a pattern to be drawn in each of the multiple regions 50 in accordance with the acquisition status when the acquisition status of at least one of the multiple regions 50 has changed based on the acquisition data.
[0071] First, the first force will be described. For example, the processor 101 may calculate the adjacency relationship between the acquired region 50(1) and the other acquired regions 50(3), 50(6), 50(7), 50(9), 50(10), 50(13), 50(14), 50(17), and 50(18) and determine the pattern data as [1] since the acquired region is not adjacent to any of the acquired regions. In this way, for example, the processor 101 may calculate a pattern for one acquired region among the acquired regions such that the entire acquired region is painted when the acquired region is not adjacent to any of the other acquired regions among the acquired regions 50. Also, for example, processor 101 may calculate the adjacency relationship between region 50(3), which is one acquired region, and other acquired regions 50(1), 50(6), 50(7), 50(9), 50(10), 50(13), 50(14), 50(17), and 50(18), and determine pattern data as [2] because region 50(3) is adjacent to region 50(7). In this way, for example, processor 101 may calculate a pattern for one acquired region among the acquired regions such that the edge portion of the one acquired region is painted when the acquired region is adjacent to another acquired region among the acquired regions. The same applies to the other regions 50(6), 50(7), 50(9), 50(10), 50(13), 50(14), 50(17), and 50(18).
[0072] Next, the second power will be described. For example, the processor 101 may determine the pattern data as [1] for the area 50(2), which is one acquired area, since the area 50(2) is not adjacent to any of the other acquired areas 50(4), 50(8), 50(11), 50(12), and 50(15) as a result of calculating the adjacency relationship between the area 50(2), which is one acquired area, and the other acquired areas 50(2), 50(8), 50(11), 50(12), and 50(15) as a result of calculating the adjacency relationship between the area 50(4), which is one acquired area, and the area 50(4) is adjacent to the area 50(8). The same applies to the other areas 50(8), 50(11), 50(12), and 50(15).
[0073] In this manner, for example, processor 101 may calculate a first pattern for rendering the acquired regions for each of a plurality of powers to which a plurality of players belong according to the acquisition status of each of the plurality of powers. This allows processor 101 to prepare data such as that shown in FIG. 5 in advance of generating an image.
[0074] In step S240, the processor 101 determines whether or not a request to generate an image has been received. For example, the processor 101 may determine that a request to generate an image has been received when the display range in the virtual space displayed on the screen of the terminal device 40 has changed. As one example, the processor 101 may determine that the display range in the virtual space has changed when the player performs an operation such as pinching in, pinching out, or scrolling via the user interface 106 (for example, a touch panel).
[0075] Furthermore, the processor 101 may determine that a request to generate an image has been received when the acquisition status has changed in a target area included in the display range of the multiple areas 50. In other words, even if there is an area 50 among the multiple areas 50 whose acquisition status has changed, if the area 50 is not a target area included in the display range, the processor 101 may not determine that a request to generate an image has been received.
[0076] If it is determined that a request to generate an image has not been received (No), the processor 101 returns the process to step S210 and continues the flow. That is, the processor 101 repeatedly executes the process of acquiring acquired data and the process of calculating a pattern. On the other hand, if it is determined that a request to generate an image has been received (Yes), the processor 101 advances the process to step S250.
[0077] In step S250, processor 101, as generation unit 130, generates an image in which each of multiple regions 50 is drawn with the pattern calculated in step S230 in response to a request to generate an image. In this way, an image is generated when it is determined in step S240 that an image generation request has been received, so processor 101 generates an image when the display range changes or the acquisition situation in the target region changes.
[0078] At this time, processor 101 may generate an image in which only the target region included in the display range among the multiple regions 50 is drawn in the pattern calculated in step S230. Therefore, processor 101 may extract only the target region included in the display range, here, region data of regions 50(1) to 50(20), from the region data of the multiple regions 50, i.e., the data shown in Fig. 5. Then, processor 101 may generate an image in which the acquired region that has been acquired among regions 50(1) to 50(20), which are the target regions, is drawn in the pattern calculated in step S230 based on the extracted region data.
[0079] In addition, when generating an image of each region 50, the processor 101 may generate the image by connecting a straight line image indicating the road corresponding to the side of each region 50 with a triangular image drawn in a pattern indicated by the pattern data.
[0080] As an example, when focusing on the area 50(1), the processor 101 may prepare road images corresponding to the sides A1B1, B1C1, and C1A1. In this case, if the road can be rendered in a plurality of ways, the processor 101 may prepare the road image in a manner selected from the plurality of variations. For example, it is assumed that the road can be rendered in three variations, (i) solid line (white), (ii) dotted line (white), and (iii) solid line (yellow), and that it is predefined that the side A1B1 is rendered in (i), the side B1C1 is rendered in (ii), and the side C1A1 is rendered in (iii). In this case, the processor 101 may prepare an image in which the side A1B1 is rendered in a white solid line, the side B1C1 is rendered in a white dotted line, and the side C1A1 is rendered in a yellow solid line, as the road image of the area 50(1).
[0081] Also assume that eight images in which triangles are respectively drawn in pattern shapes [1] to [8] have been stored in advance. In this case, processor 101 may extract, from the eight images, an image of [1], which is the pattern shape of area 50(1), i.e., an image in which the entire area 50 is painted. Processor 101 may then join the image of the road and the image of the triangle to generate an image of area 50(1). Processor 101 may generate one image by executing such image generation processing for each of areas 50(1) to 50(20), which are the target areas.
[0082] In step S260, the processor 101, as the display unit 140, pastes the image generated in step S250 into the virtual space and displays it. For example, the processor 101 may paste the image generated in step S250 into the virtual space displayed on the screen of the terminal device 40, for example, a world map, and display it on a monitor. As a result, a screen such as that shown in FIG. 1 may be displayed on the terminal device 40.
[0083] In step S270, processor 101 determines whether or not the player has logged out. If it is determined that the player has not logged out (No), processor 101 returns the process to step S210 and continues the flow. That is, processor 101 repeatedly executes the process of acquiring acquired data, the process of calculating a pattern, the process of generating an image, and the process of pasting an image. On the other hand, if it is determined that the player has logged out (Yes), processor 101 ends this flow.
[0084] Conventionally, in a game in which a virtual space is divided and each of the multiple regions 50 is acquired, there is a need to generate an image in which each of the multiple regions 50 is drawn in a pattern according to the acquisition status. In response to such a need, a pattern according to the acquisition status is calculated after a request to generate an image is received. However, in the conventional technology, since it takes time to calculate the pattern, there is a problem that it takes a long time from the request to generate an image to the generation of the image.
[0085] In contrast, the information processing device 100 according to the present embodiment acquires acquisition data indicating the acquisition status of the multiple regions 50, and calculates a pattern to be drawn in each of the multiple regions 50 according to the acquisition status when the acquisition status in at least one of the multiple regions 50 changes based on the acquisition data. In other words, the information processing device 100 according to the present embodiment calculates a pattern in advance, triggered by a change in the acquisition status in at least one of the multiple regions 50, that is, at a timing independent of the timing of generating an image. As a result, according to the information processing device 100 according to the present embodiment, an image in which each of the multiple regions 50 is drawn with a pattern according to the acquisition status can be generated in a short time compared to the case where a pattern is calculated after receiving a request to generate an image.
[0086] At this time, the information processing device 100 may generate an image in which a target area included in the display range of the multiple areas 50 is drawn with a pattern. As a result, the information processing device 100 can generate an image to be displayed on the screen in a short time compared to the case in which an image in which all of the multiple areas 50 are drawn with a pattern is generated.
[0087] Furthermore, the information processing device 100 may display an image generated in the virtual space by pasting it thereon. This allows the information processing device 100 to display a screen in which an image generated in the virtual space is superimposed, so that the player can easily recognize the acquisition status of each of the multiple regions 50 into which the virtual space is divided.
[0088] Furthermore, the information processing device 100 may generate an image when the display range has changed or when the acquisition status in the target area has changed. In other words, the information processing device 100 does not need to generate an image when the display range has not changed or when the acquisition status in the target area has not changed. As a result, the information processing device 100 can generate an image only when it is necessary for displaying on the screen. Therefore, according to the information processing device 100, even if there is an area 50 in which the acquisition status has changed among the multiple areas 50, if the area 50 is not a target area included in the display range, it is possible to perform only the pattern calculation process without performing the image generation process.
[0089] Furthermore, the information processing device 100 may generate an image in which an acquired area that has been acquired among the multiple areas is drawn in a pattern. In this way, the information processing device 100 allows the player to recognize whether the area 50 has been acquired or not, simply by checking whether it is drawn in a pattern.
[0090] Furthermore, the information processing device 100 may generate a first image in which the acquired territories of each of a plurality of powers to which a plurality of players belong are depicted in a first pattern according to the acquisition status of each of the plurality of powers. In this way, according to the information processing device 100, for example, when a game based on a historical territorial dispute in which a plurality of players are divided into a plurality of powers and acquire each of a plurality of territories 50 is played, a power map showing which power has established a territory can be provided to the player.
[0091] Although one embodiment has been described as an example, the above embodiment can be modified in various ways or applied to various uses. For example, in the above description, a case where the information processing device 100 generates a first image drawn in a first pattern according to the acquisition status of each of a plurality of forces is shown as an example. However, in addition to the power relationship, a player also has a need to check how much the player himself has contributed to his own power. In order to meet such a need, the information processing device 100 may generate a second image in which the acquired area of the player himself is drawn in a second pattern according to the acquisition status of the player himself.
[0092] Fig. 7 is a diagram showing an example of a second image generated by the information processing device 100 according to the present embodiment. In this figure, the same reference numerals are given to the same parts as in Fig. 4, and descriptions thereof will be omitted hereinafter except for the differences.
[0093] In this figure, among the multiple regions 50, regions 50(1), 50(3), 50(9), 50(10), and 50(13) whose entirety or edges are drawn with a dot pattern indicate acquired regions that have been acquired by the player himself / herself. Therefore, among the acquired regions that have been acquired by the first power to which the player himself / herself belongs, regions 50(6), 50(7), 50(14), 50(17), and 50(18) that are not listed here are acquired regions that have been acquired by other players belonging to the first power.
[0094] In the second image, similarly to the first image, the continuous areas 50 of the acquired areas are regarded as one unit and drawn in a pattern so that their edges are painted. That is, for example, the processor 101 regards the areas 50(9), 50(10), and 50(13) as one unit and draws them in a pattern so that their edges are painted. In this case, too, the shape of the pattern differs depending on the adjacency relationship with other acquired areas. That is, for example, the pattern shapes of the area 50(9) are different from those of the areas 50(10) and 50(13). And if such a pattern is calculated after receiving a request to generate an image, it takes time to calculate the pattern, so it takes a long time from receiving a request to generate an image to generating the image.
[0095] Therefore, the information processing device 100 pre-calculates such a second pattern in the same manner as the first pattern, thereby shortening the time required to generate an image in which each of the multiple regions 50 is drawn in a pattern according to the acquisition situation.
[0096] 8 is a diagram showing an example of data prepared in advance for the information processing device 100 according to the present embodiment to generate a second image. The same parts as those in FIG. 5 are given the same reference symbols, and descriptions thereof will be omitted hereinafter except for the differences.
[0097] The area data of each area 50 may include player data instead of or in addition to the power data. The player data may be data indicating whether the player who has acquired each area 50 is the player himself or another player.
[0098] As an example, in the area data of area 50(1), the player data may be [1] indicating that the acquired player is the player himself, whereas in the area data of area 50(2), the player data may be [0] indicating that the acquired player is not the player himself.
[0099] In the above description, the player data is represented by a binary value indicating whether the player who has acquired each area 50 is the player himself or another player, but the present invention is not limited to this. The player data may indicate the ID of the player who has acquired each area 50.
[0100] The information processing device 100 may prepare such data in advance, for example, prior to generating the second image. Then, by generating the second image using the data prepared in advance in this manner, the time required for generating the second image in which the player's acquired area among the multiple areas 50 is drawn in a second pattern according to the player's acquisition status may be shortened.
[0101] There is also a need to switch from one of the first image and the second image to the other image. In this case, assume that only one of the first pattern and the second pattern is calculated in advance. In that case, if a request to switch from one image to the other image is received and then the other pattern is calculated, it takes time to calculate the pattern, so that it takes a long time from the request to switch images to the generation of the other image.
[0102] Therefore, the processor 101 may calculate the second pattern in addition to the first pattern in step S230 of Fig. 6. That is, the processor 101 may calculate the first pattern and the second pattern when the acquisition situation in at least one of the multiple areas 50 changes.
[0103] 6, when an operation for switching from one of the first image and the second image to the other image is performed, processor 101 may determine that a request for generating an image has been received. At this time, processor 101 may determine that one image is to be switched to the other image when the player performs an operation for changing the check of a checkbox for switching images via user interface 106. Processor 101 may generate the other image in this manner, for example, when an operation for switching from one of the first image and the second image to the other image is performed.
[0104] In addition, in the above embodiments, the term "processor" refers to a processor in a broad sense, and includes general-purpose processors (e.g., CPU: Central Processing Unit, etc.) and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.).
[0105] In addition, the operations of the processor in the above embodiments may be performed not only by one processor, but also by multiple processors located at physically separate locations working together. The order of the operations of the processor is not limited to the order described in the above embodiments, and may be changed as appropriate.
[0106] Furthermore, the information processing device 100 in the present embodiment has been described as being configured from a single device as an example, but may be configured from a plurality of devices.
[0107] The processes performed by the information processing device 100 according to the above embodiment may be processes performed by software, may be processes performed by hardware, or may be processes that combine both. The processes performed by each unit of the information processing device 100 may be stored as a program in a storage medium and distributed.
[0108] Furthermore, the present disclosure is not limited to the above, and it goes without saying that various modifications can be made without departing from the spirit and scope of the present disclosure. [Explanation of symbols]
[0109] 10. Game System 20 Means of communication 30 Server device 40 Terminal Equipment 50 areas 100 Information processing device 101 Processor 102 ROM 103 RAM 104 Storage 105 Communication Interface 106 User Interface 109 Bus 110 Acquisition Department 120 Calculation Department 130 Generation part 140 Display section
Claims
1. On the computer, acquiring acquisition data indicating an acquisition status of a plurality of areas obtained by dividing a virtual space in a game in which the game progresses by acquiring each of the plurality of areas; calculating a pattern for rendering each of the plurality of regions according to an acquisition status when the acquisition status of at least one of the plurality of regions changes based on the acquisition data; generating an image in which each of the plurality of regions is rendered with the pattern in response to a request to generate an image; Information processing program.
2. The computer includes: generating an image in which a target area included in a display range of the plurality of areas is rendered with the pattern; The information processing program according to claim 1 .
3. The computer includes: pasting and displaying the image in the virtual space; The information processing program according to claim 2.
4. The computer includes: generating the image when the display range changes or when the acquisition situation in the target area changes; 4. The information processing program according to claim 2 or 3.
5. The computer includes: generating an image in which an acquired area among the plurality of areas is drawn with the pattern; The information processing program according to claim 1 .
6. The computer includes: generating a first image in which the acquired regions for each of a plurality of powers to which a plurality of players belong are depicted in a first pattern according to the acquisition status for each of the plurality of powers; The information processing program according to claim 5.
7. The computer includes: generating a second image in which the acquired area of the player is depicted in a second pattern according to the acquisition status of the player; 7. The information processing program according to claim 6.
8. The computer includes: calculating the first pattern and the second pattern when the acquisition status in at least one of the plurality of regions changes; The information processing program according to claim 7.
9. generating the other image when an operation of switching from one of the first image and the second image to the other image is performed; The information processing program according to claim 8.
10. calculating the pattern for one of the acquired regions such that an edge portion of the one acquired region is painted when the one acquired region is adjacent to another acquired region of the acquired regions; The information processing program according to any one of claims 5 to 9.
11. calculating the pattern for one of the acquired regions such that the one acquired region is entirely painted when the one acquired region is not adjacent to another acquired region of the acquired regions; The information processing program according to any one of claims 5 to 9.
12. The computer acquiring acquisition data indicating an acquisition status of a plurality of areas obtained by dividing a virtual space in a game in which the game progresses by acquiring each of the plurality of areas; calculating a pattern for drawing each of the plurality of regions according to an acquisition status when the acquisition status of at least one of the plurality of regions changes based on the acquisition data; generating an image in which each of the plurality of regions is rendered with the pattern in response to a request to generate an image; Information processing methods.
13. a processor, the processor comprising: acquiring acquisition data indicating an acquisition status of a plurality of areas obtained by dividing a virtual space in a game in which the game progresses by acquiring each of the plurality of areas; calculating a pattern for drawing each of the plurality of regions according to an acquisition status when the acquisition status of at least one of the plurality of regions changes based on the acquisition data; generating an image in which each of the plurality of regions is rendered with the pattern in response to a request to generate an image; Information processing device.
Citation Information
Patent Citations
Program, game system, control method, and recording medium
JP2016047124A