Game program and game device

The game program and device manage music playback in games by using timers with variable or fixed speeds to adjust playback based on character-object distances, improving musical transitions and gameplay.

JP7590651B2Active Publication Date: 2024-11-27CAPCOM CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021022524
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-16
Publication Date
2024-11-27
Estimated Expiration
2041-02-16

AI Technical Summary

Technical Problem

The effect of music playback in games is influenced by how it starts and stops, including temporary suspensions, which current methods do not effectively manage.

Method used

A game program and device that utilize a timer with variable or fixed counting speed to control music playback based on distance thresholds between characters and objects, adjusting playback start and stop conditions to enhance musical transitions.

Benefits of technology

Provides a method for starting and ending music playback in games, allowing for seamless musical transitions and enhanced gameplay experiences by varying playback modes based on character-object distances.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007590651000001
    Figure 0007590651000001
  • Figure 0007590651000002
    Figure 0007590651000002
  • Figure 0007590651000003
    Figure 0007590651000003
Patent Text Reader

Abstract

To provide a method to start and end replaying music, in a game executed using a computer.SOLUTION: A computer is made to function as: a game advancement unit that advances a game; a replay unit that replays music; and a timer that can vary speed of counting. The replay unit stops replaying the music when a predetermined stop condition is satisfied during the replay of the music. The timer starts counting when the stop condition is satisfied. When a restart condition for restarting the replay of the music is satisfied, the replay unit replays the music in a mode according to whether or not a count value of the timer is equal to or less than a first threshold value. When a distance between a character and an object is greater than a second threshold value, the speed is faster than that when the distance is equal to or less than the second threshold value.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a game program and a game device. [Background technology]

[0002] Some games executed using a computer include effects that are produced by playing music (see, for example, Patent Document 1). The music that is played is, for example, BGM (background music). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2013-057862 A Summary of the Invention [Problem to be solved by the invention]

[0004] In games, the effect of the production changes depending on how the music starts and ends (including temporarily pausing it).

[0005] It is an object of the present invention to provide a method for starting and ending the playback of music in a game executed using a computer. Note that, in this case, "ending playback" is a concept that includes a temporary stop of playback. [Means for solving the problem]

[0006] A first aspect of the present invention provides a computer comprising: a game progression unit that places characters and objects in a virtual space and progresses the game; a playback unit that plays music; A timer that can change the counting speed; and make it work. the playback unit stops playback of the music when a predetermined stop condition is met during playback of the music, The timer starts counting in response to the establishment of the stop condition, when a restart condition for restarting the playback of the music piece is satisfied, the playback unit plays the music piece in a manner corresponding to whether or not a count value of the timer is equal to or less than a first threshold value; The speed is greater when the distance between the character and the object is greater than a second threshold value than when the distance is equal to or less than the second threshold value. The game program is characterized by the above.

[0007] Also, a second aspect provides a computer comprising: a game progression unit that places characters and objects in a virtual space and progresses the game; a playback unit that plays music; A timer with a fixed counting speed, and make it work. the playback unit stops playback of the music when a predetermined stop condition is met during playback of the music, The timer starts counting in response to the establishment of the stop condition, when a restart condition for restarting the playback of the music piece is satisfied, the playback unit plays the music piece in a manner corresponding to whether or not a count value of the timer is equal to or less than a first threshold value; The first threshold is smaller when the distance between the character and the object is greater than a second threshold than when the distance is equal to or smaller than the second threshold. The game program is characterized by the above.

[0008] In the game program of the first or second aspect, the stop condition is satisfied when the distance between the character and the object is equal to or greater than a third threshold, and is not satisfied when the distance is smaller than the third threshold; The restart condition may be satisfied when the distance between the character and the object is equal to or smaller than a fourth threshold, and may be unsatisfied when the distance is greater than the fourth threshold.

[0009] In the above aspect, the reproducing unit includes: When the count value of the timer is equal to or less than the first threshold value, if the restart condition is satisfied, the music piece is played back from the point where the playback was stopped or from a point close to the point where the playback was stopped; When the count value of the timer is greater than the first threshold, if the restart condition is met, the music may be played back from the beginning.

[0010] A third aspect of the present invention is a game device comprising: a storage unit that stores the game program according to any one of the above aspects; A control unit that executes the game program; The present invention relates to a game device comprising: Effect of the Invention

[0011] According to the present invention, it is possible to provide a method for starting and ending the playback of music in a game executed using a computer. [Brief description of the drawings]

[0012] [Figure 1] FIG. 2 is a block diagram showing the configuration of the game device. [Diagram 2] 13 illustrates an example of the positional relationship between the player character and the monster at time T=0. [Diagram 3] 1 illustrates an example of the positional relationship between the player character and the monster at time T=1. [Figure 4] 13 illustrates an example of the positional relationship between the player character and the monster at time T=2. [Diagram 5] 13 illustrates an example of the positional relationship between the player character and the monster at time T=3. [Figure 6] 13 illustrates an example of the positional relationship between the player character and the monster at time T=4. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] [Embodiment 1] Hereinafter, a game program and a game device according to an embodiment of the present invention will be described with reference to the drawings.

[0014] The game program described in this embodiment is executed on a game device such as a personal computer, PlayStation (registered trademark), XBox (registered trademark), PlayStation Vita (registered trademark), or Nintendo Switch (registered trademark).

[0015] The game described in this embodiment is set in a three-dimensional game space (hereinafter, virtual space). The virtual space is displayed as an image on a display. In the virtual space, objects representing terrain such as rock walls, caves, and rivers are provided. Various objects such as buildings and trees are also provided on the terrain objects.

[0016] This game is an action game in which a player character is operated by a user (here, a player) to move around in a three-dimensional virtual space and fight against enemy characters, which are non-player characters. In this game, the player characters may form groups to fight against enemy characters. Examples of non-player characters in this game include monsters that fight against the player characters.

[0017] A user can play a game online with other users via a communication network (not shown). A user can also play a game individually without using a communication network.

[0018] In this game, background music may be played during the game's progression. In this game, there are multiple types of monsters as non-player characters. Each monster has its own music (background music). For example, when a monster approaches the player character, the monster's theme music (hereinafter sometimes referred to as battle music) is played.

[0019] <Configuration of the Game Device> 1 is a block diagram showing the configuration of a game device 5 according to this embodiment. The game device 5 executes a predetermined game based on a user's operation. The game device 5 has a display 61, a speaker 62, and a controller 63 either externally connected or built-in.

[0020] In the game device 5, for example, the game progresses based on the installed game program and game data. Note that the game devices 5 can also communicate data with each other using a communication network (not shown) or a short-range wireless communication device (not shown).

[0021] The game device 5 has a network interface 51, a graphics processing unit 52, an audio processing unit 53, an operation unit 54, a storage unit 55, and a control unit 56. The network interface 51, the graphics processing unit 52, the audio processing unit 53, the operation unit 54, and the storage unit 55 are electrically connected to the control unit 56 via a bus 59.

[0022] The network interface 51 is communicatively connected to the communication network in order to transmit and receive various data to and from, for example, the game device 5 and an external server device (not shown).

[0023] The graphics processing unit 52 renders game images including the player character and various objects related to the game space in a moving image format according to game image information output from the control unit 56. The graphics processing unit 52 is connected to a display 61. The game images are displayed on the display 61 as a game screen.

[0024] The audio processing unit 53 reproduces and synthesizes digital game sounds according to instructions from the control unit 56. The audio processing unit 53 is connected to a speaker 62. The reproduced and synthesized game sounds are output from the speaker 62.

[0025] The operation unit 54 is connected to the controller 63, and transmits and receives data related to operation inputs to and from the controller 63. For example, a user inputs operation signals to the game device 5 by operating operators (not shown) such as buttons provided on the controller 63.

[0026] The storage unit 55 is composed of a HDD, a RAM, a ROM, etc. The storage unit 55 can store game programs and game data. The storage unit 55 also stores other account information received from other game devices 5, etc.

[0027] The control unit 56 is configured with a microcomputer including a CPU and a semiconductor memory. The control unit 56 controls the operation of the game device 5. For example, the control unit 56 executes a game program to operate the graphics processing unit 52, the audio processing unit 53, etc.

[0028] The audio processing unit 53 reproduces game sounds (hereinafter, sometimes simply referred to as sounds) by executing predetermined software (for example, a game program or a program associated therewith). The audio processing unit 53 performs sound image localization when reproducing the sounds. To perform sound image localization, the audio processing unit 53 sets a virtual sound receiving point (hereinafter, virtual microphone L) where the sounds are heard in the virtual space. In this example, the virtual microphone L is set near the player character. The virtual microphone L moves in conjunction with the movement of the player character.

[0029] In this game, acoustic effects are produced so that sounds appear as if they are coming from a sound source (virtual sound source) existing in the virtual space. The audio processor 53 outputs the sound coming from the virtual sound source (such as a player character) to the speaker 62 in an acoustic representation as if the sound was collected by a virtual microphone L. The virtual microphone L is a virtual listener, and is the reference point for sound image localization by the audio processor 53.

[0030] The audio processing unit 53 starts and stops the reproduction of music in response to instructions from the control unit 56. Digital data (audio data) on which the music is based is stored in the storage unit 55 as game data.

[0031] In this game, BGM appropriate for each scene is played according to the actions, positions, and states of each character in the virtual space. As mentioned above, each monster in this game has its own BGM (theme song).

[0032] <Functional configuration of the control section> The control unit 56 executes the game program, thereby functioning as a game progression unit 562, a playback unit 563, a timer 564, and a speed management unit 565.

[0033] The game progression unit 562 progresses the game in response to signals input from the operation unit 54. At that time, the game progression unit 562 moves the player character in the virtual space in response to operations by the user. The game progression unit 562 also moves the non-player characters in the virtual space.

[0034] The playback unit 563 plays various music pieces when a predetermined condition (described later) is met. When a situation arises in which it is necessary to play music, the playback unit 563 selects music pieces appropriate to the situation. For example, when a player character is in a battle state with a monster, the playback unit 563 selects music pieces appropriate for the battle (battle music). In this embodiment, a battle music piece (theme music) to be selected for each monster (non-player character) is determined in advance.

[0035] The playback unit 563 transmits information specifying the selected piece of music to the audio processing unit 53. Furthermore, the playback unit 563 instructs the audio processing unit 53 to start playing back the piece of music.

[0036] Regarding the theme song, when a predetermined condition for starting music playback (hereinafter referred to as a start condition) is satisfied, the playback unit 563 instructs the audio processing unit 53 to start playing the theme song. In this embodiment, the success or failure of the start condition is determined according to the distance D between the player character and the non-player character (monster).

[0037] Specifically, the playback unit 563 determines that the start condition is met when the distance D between the monster and the player character is smaller than a predetermined threshold (hereinafter referred to as playback upper limit Th4) (D<playback upper limit Th4). In other words, the start condition is met when the non-player character NPC enters inside a virtual sphere (or virtual circle) with the player character at the center and a radius of the playback upper limit Th4. Hereinafter, the playback upper limit Th4 may be referred to as a fourth threshold.

[0038] When the start condition is met, the playback unit 563 selects the music (theme music) associated with the monster as the music to be played back, and instructs the audio processing unit 53 to start playing the selected music.

[0039] Furthermore, the playback unit 563 instructs the audio processing unit 53 to stop playing the music when a predetermined condition for stopping playing the music (hereinafter, referred to as the stop condition) is met. The success or failure of the stop condition is determined according to the distance D between the player character and the non-player character (monster).

[0040] Specifically, the playback unit 563 determines that the stop condition is met when the distance D between the player character and the monster for which the theme music is being played is equal to or greater than a predetermined threshold (hereinafter, referred to as a stop lower limit Th3) (D≧stop lower limit Th3). Hereinafter, the stop lower limit Th3 may be referred to as a third threshold. In this embodiment, it is assumed that the stop lower limit Th3=the playback upper limit Th4.

[0041] When the cancellation condition is met, the playback unit 563 instructs the audio processing unit 53 to perform so-called cross-fade processing on the battle music and the background music (music for non-battle). The audio processing unit 53 performs cross-fade processing on the battle music and the music for non-battle in response to the instruction from the playback unit 563. Specifically, the audio processing unit 53 fades out the battle music and fades in the background music.

[0042] When playback unit 563 instructs to stop playback of a song, it records the position at which playback of the song is to be stopped in storage unit 55. Here, the end of the bar that is first reached after the stop condition is met is set as the "stop position."

[0043] When a predetermined condition (hereinafter, referred to as a restart condition) is satisfied after the playback of the theme song is stopped, the playback unit 563 restarts the playback of the stopped theme song. In this embodiment, the playback unit 563 judges whether the restart condition is satisfied based on the distance D between the monster corresponding to the stopped theme song and the player character. More specifically, the playback unit 563 judges that the restart condition is satisfied when the distance between the monster corresponding to the stopped theme song and the player character is smaller than a playback upper limit value Th4 (fourth threshold value).

[0044] When resuming the reproduction of the theme song (music), the reproduction unit 563 reproduces the music in a mode according to whether or not the timer count value C is equal to or less than a predetermined timer threshold value Th1 (first threshold value). The timer threshold value Th1 is set to, for example, 10 seconds. In this embodiment, the reproduction modes include a mode in which reproduction is started from the middle of the music (hereinafter referred to as the "restart position") (hereinafter referred to as the first mode), and a mode in which reproduction is started from the beginning of the music (for example, the intro) (hereinafter referred to as the second mode).

[0045] When the count value C is equal to or less than the timer threshold value Th1, and the restart condition is met, the playback unit 563 plays the theme song in the first manner. That is, the playback unit 563 restarts the playback of the song from the restart position. Here, the "restart position" is the "stop position."

[0046] Furthermore, when the count value C is greater than the timer threshold value Th1, if the restart condition is met, the playback unit 563 plays back the theme song in the second manner. That is, the playback unit 563 plays back the song from the beginning.

[0047] The timer 564 is a timer (counter) whose counting speed can be changed. The timer 564 counts according to the counting speed set by the speed management unit 565. The timer 564 starts counting in response to the establishment of a stop condition. The timer 564 ends the count and resets the count value C when either the resume condition or the start condition is established.

[0048] The speed management unit 565 sets the count speed in the timer 564. The speed management unit 565 writes the count speed to be set in a predetermined variable. The timer 564 reads the value of the variable (count speed) and performs counting at the read count speed.

[0049] The speed management unit 565 determines the counting speed according to the distance D between the player character and the monster (non-player character). Specifically, when the distance D is greater than the setting change threshold Th2 (D>setting change threshold Th2), the speed management unit 565 sets the counting speed to be higher than when the distance D is equal to or less than the setting change threshold Th2 (D≦setting change threshold Th2).

[0050] <Example of operation> The game progresses when the control unit 56 executes the game program. The user can move the player character in the virtual space. Also, in the virtual space, the non-player character NPC (monster M1) moves in accordance with the progress of the game.

[0051] Figures 2 to 6 are diagrams explaining the operation of this game program. Figures 2 to 6 show a portion of the virtual space VS. The circles shown in these figures represent the playback upper limit Th4, the stop lower limit Th3, etc. Figures 2 to 6 show the operation of the player character PC and the monster M1 (in other words, the change in the game state) in chronological order.

[0052] 2 to 6 show the relative positional relationship between the player character PC and the monster M1. While the game situation changes from FIG. 2 to FIG. 6, at least one of the player character PC and the monster M1 moves in the virtual space VS. In other words, even if the player character PC is depicted at the center of the figures in FIG. 2 to FIG. 6, the player character PC is not necessarily stationary in the virtual space VS.

[0053] FIG. 2 illustrates the positional relationship between the player character PC and the monster M1 at time T=0. The unit of time is arbitrary (same below). FIG. 2 shows the scene where the monster M1 first appears in front of the player character PC. In this game, a battle between the player character PC and the monster M1 begins in this state.

[0054] The playback unit 563 checks the distance D between the player character PC and the monster M1. In the example of Fig. 2, the distance D = D0. In the state of Fig. 2, D0 < playback upper limit value Th4 is established. Therefore, at time T = 0, the start condition is established.

[0055] If the start condition is met, the playback unit 563 selects the theme song (battle song) associated with the monster M1 as the song to be played. The playback unit 563 instructs the audio processing unit 53 to play the selected theme song from the beginning (e.g., the intro). The audio processing unit 53 plays the theme song (battle song) from the beginning in accordance with the instruction of the playback unit 563.

[0056] FIG. 3 illustrates the positional relationship between the player character PC and the monster M1 at time T = 1. FIG. 3 shows a scene where the monster M1 starts to flee from the player character PC.

[0057] The playback unit 563 checks the distance D between the player character PC and the monster M1. In the example of FIG. 3, the distance D = D1. D1 has the following relationship with the setting change threshold Th2 and the playback upper limit value Th4.

[0058] Playback upper limit value Th4 < D1 < Setting change threshold Th2 As can be seen from the above formula, in the state of FIG. 3, the stop condition is satisfied. When the stop condition is satisfied, the playback unit 563 determines the stop position of the playback.

[0059] The playback unit 563 records the determined stop position in the storage unit 55. Also, the playback unit 563 instructs the audio processing unit 53 to perform cross-fade processing for the theme song (battle song) and the BGM. The audio processing unit 53 fades out the battle song and fades in the BGM in response to the instruction of the playback unit 563.

[0060] Also, since the stop condition is satisfied, the timer 564 starts counting. At this stage, it is assumed that the speed control unit 565 sets the counting speed to a predetermined initial value.

[0061] FIG. 4 illustrates the positional relationship between the player character PC and the monster M1 at time T = 2. FIG. 4 shows a state where the fleeing monster M1 immediately returns to the vicinity of the player character PC. Here, "immediately returns" is the time when the count value C < timer threshold Th1 is satisfied. In this game, in this state, the battle between the player character PC and the monster M1 is performed again.

[0062] The playback unit 563 checks the distance D between the player character PC and the monster M1. In the example of FIG. 4, the distance D = D2. In the state of FIG. 4, D2 < playback upper limit value Th4 holds. That is, at time T = 2, the restart condition is satisfied. And since the count value C < timer threshold value Th1 holds, the music playback mode is the first mode.

[0063] Therefore, at time T = 2, the playback unit 563 instructs the audio processing unit 53 to play the theme music according to the first mode. That is, the playback unit 563 instructs the audio processing unit 53 to play the theme music of the monster M1 from the restart position.

[0064] Specifically, the audio processing unit 53 fades in the theme music of the monster M1 from the restart position and fades out the BGM being played (for example, the one that started playing at T = 1). That is, the audio processing unit 53 performs a crossfade process on the theme music of the monster M1 and the BGM.

[0065] Note that at time T = 2, since the restart condition is satisfied, the timer 564 ends the count and resets the count value C.

[0066] FIG. 5 illustrates the positional relationship between the player character PC and the monster M1 at time T = 3. FIG. 5 shows a state where the monster M1 has run far away from the player character PC.

[0067] The playback unit 563 checks the distance D between the player character PC and the monster M1. In the example of FIG. 5, the distance D = D3. In the state of FIG. 5, the playback upper limit value Th4 < D3. That is, at time T = 3, the stop condition is satisfied.

[0068] Therefore, the playback unit 563 records the pause position of the theme song in the storage unit 55. Also, the playback unit 563 instructs the audio processing unit 53 to perform cross-fade processing for the theme song (battle song) and the BGM. In response to the instruction from the playback unit 563, the audio processing unit 53 fades out the battle song and fades in the BGM.

[0069] Also, in the state of FIG. 5, the setting change threshold Th2 < D3. That is, at time T = 3, the condition for changing the count speed is satisfied. Therefore, the speed management unit 565 sets a larger count speed than when the distance D is less than or equal to the setting change threshold Th2. In this example, the speed management unit 565 sets the count speed to be larger than the count speed at T = 1 and larger than the count speed at T = 2.

[0070] At T = 3, since the pause condition is satisfied, the timer 564 starts counting. At this stage, the count speed of the timer 564 is larger than the count speed at T = 1 and larger than the count speed at T = 2.

[0071] FIG. 6 illustrates the positional relationship between the player character PC and the monster M1 at time T = 4. FIG. 6 shows a state where the monster M1 has returned near the player character PC. In this game, in this state, the battle between the player character PC and the monster M1 is performed again.

[0072] In the example of FIG. 6, D4 satisfies D4 < playback upper limit value Th4. That is, in the state of FIG. 6, the restart condition is satisfied. Also, as a result of increasing the count speed of the timer 564 at time T = 3, at time T = 4, it is assumed that the count value C already satisfies the count value C > timer threshold Th1.

[0073] From the above, the playback unit 563 instructs the audio processing unit 53 to play back the theme song according to the second aspect. That is, the playback unit 563 instructs the audio processing unit 53 to play back the theme song of the monster M1 from the beginning.

[0074] Furthermore, at time T=4, D4 satisfies D4<setting change threshold Th2. Therefore, the speed management unit 565 resets the count speed. Specifically, the speed management unit 565 sets the count speed to a value slower than the count speed set at T=3. At time T=4, the restart condition is met, so the timer 564 ends counting and resets the count value C.

[0075] To summarize the above, the present invention is a game program which causes a computer to function as a game progression unit 562 which places characters and objects in a virtual space and progresses a game, a playback unit 563 which plays music, and a timer 564 which can change the counting speed, wherein the playback unit 563 stops the playback of the music when a predetermined stop condition is met during the playback of the music, and the timer 564 starts counting in response to the establishment of the stop condition, and when a resume condition for resuming the playback of the music is met, the playback unit 563 plays the music in a manner depending on whether the count value of the timer is equal to or less than a timer threshold value Th1 (first threshold value), and wherein the speed is faster when a distance D between the player character PC (character) and the non-player character NPC (object) is greater than a setting change threshold value Th2 (second threshold value) than when the distance D is equal to or less than the second threshold value.

[0076] Effects of this embodiment As described above, according to this embodiment, the speed of the timer 564 is varied according to the distance D. This configuration changes the timing at which the music playback restart mode (first mode and second mode) switches. That is, this embodiment can easily produce a variety of effects. This embodiment can provide a method for starting and ending music playback in a game executed using a computer. Note that "ending playback" here is a concept that also includes a temporary stop of playback.

[0077] [Embodiment 2] A timer with a fixed counting speed can also be used as the timer 564. In this case, instead of varying the counting speed of the timer 564, by varying the timer threshold value Th1, it is possible to achieve the same effect as in the first embodiment.

[0078] Specifically, when the distance D between the player character PC and the non-player character NPC is greater than a predetermined threshold (also referred to here as the setting change threshold Th2 (second threshold)), the timer threshold Th1 is set smaller than when the distance D is equal to or smaller than the setting change threshold Th2.

[0079] This also makes it possible to produce the same effect as in embodiment 1. That is, this embodiment also provides a method for starting and ending the playback of music in a game executed using a computer.

[0080] [Other embodiments] In each embodiment, the player character PC may be replaced with a character operated by AI (Artificial Intelligence).

[0081] Similarly, in each embodiment, the non-player character NPC can be replaced with an object in a virtual space, or with various characters. For example, the non-player character NPC can be replaced with a player character operated by another user during multiplayer play, an object defined as a stationary object in the virtual space, etc. Examples of objects defined as stationary objects include rocks and trees provided in the virtual space.

[0082] Various definitions can be adopted for the "stop position." For example, the playback position of the music at the timing when the playback unit 563 instructs playback to be stopped can be the "stop position." The "stop position" may be the timing when a predetermined time (e.g., several seconds) has elapsed since the playback unit 563 instructs playback to be stopped. Also, the "stop position" may be the playback position at the timing when the volume of the music falls below a predetermined value due to fade-out processing.

[0083] The restart position of a piece of music is not limited to the "stop position". The restart position does not have to be exactly the point where the music was stopped, but may be "near" the "stop position". For example, the start or end of the measure that includes the stop position may be the "restart position", or a few seconds before the stop position may be the "restart position".

[0084] The method of changing the count speed (changing based on the result of comparison with the threshold) is an example. The count speed may be changed continuously according to the distance D, for example. Specifically, it is considered that the count speed is determined as a function of the distance D. When determining the count speed as a function of the distance D, the function is defined such that the count speed increases as the distance D increases.

[0085] The lower limit Th3 of the stoppage and the upper limit Th4 of the playback may be different from each other. Similarly, the thresholds for the start condition and the restart condition may be different from each other.

[0086] The game is not limited to one that is performed in a three-dimensional virtual space. The game may be one that is performed in a two-dimensional virtual space. Furthermore, the game is not limited to an action game. Each embodiment can be applied to any game in which music is played.

[0087] Various calculation methods can be used for the distance D between the character and the object. The distance D is not limited to the straight-line distance. For example, if there is an obstacle such as a wall between the character and the object, the distance D may be a route (path) that goes around the obstacle.

[0088] The thresholds and timer counting speeds described in the above embodiment may be set differently depending on the type and state (e.g., angry or sleeping state) of the object (e.g., monster). Also, the thresholds and timer counting speeds may be set differently for each quest (task within the game) or may be set differently depending on the game situation.

[0089] The game program may be implemented as a game program for a so-called online game. When the game program is for an online game, the processing performed by the control unit 56 may be performed on the server side, or may be shared between the server side and the client (game device 5).

[0090] The effects of the present invention can be achieved even when these other embodiments are adopted. In addition, this embodiment can be combined with other embodiments, and other embodiments can be combined with each other as appropriate. [Explanation of symbols]

[0091] 5. Gaming Devices 55 Storage section 56 Control Unit (Computer) 562 Game Progression Department 563 Playback Department 564 Timer NPC Non-player character (object) PC Player Character (Character) Th1 Timer threshold (first threshold) Th2 Setting change threshold (second threshold) Th3 Lower limit of stop (third threshold) Th4 Regeneration upper limit (fourth threshold)

Claims

1. Computer, a game progression unit that places characters and objects in a virtual space and progresses the game; a playback unit that plays music; A timer that can change the speed of counting time; and make it work. the playback unit stops playback of the music when a predetermined stop condition is met during playback of the music, The timer starts counting in response to the establishment of the stop condition, when a restart condition for restarting the playback of the music piece is satisfied, the playback unit plays the music piece in a manner corresponding to whether a count value of the timer is equal to or less than a first threshold value; the speed is greater when the distance between the character and the object is greater than a second threshold value than when the distance is equal to or less than the second threshold value, and the speed increases as the distance between the character and the object increases; The reproducing unit is When the count value of the timer is equal to or less than the first threshold value, if the restart condition is satisfied, the music piece is played back from the point where the playback was stopped or from a point close to the point where the playback was stopped; When the count value of the timer is greater than the first threshold value, if the restart condition is met, the music piece is played from the beginning. A game program characterized by:

2. Computer, a game progression unit that places characters and objects in a virtual space and progresses the game; a playback unit that plays music; A timer with a fixed counting speed. and make it work. the playback unit stops playback of the music when a predetermined stop condition is met during playback of the music, The timer starts counting in response to the establishment of the stop condition, when a restart condition for restarting the playback of the music piece is satisfied, the playback unit plays the music piece in a manner corresponding to whether a count value of the timer is equal to or less than a first threshold value; the first threshold is smaller when the distance between the character and the object is greater than the second threshold than when the distance is equal to or smaller than the second threshold, and becomes smaller as the distance between the character and the object increases; The reproducing unit is When the count value of the timer is equal to or less than the first threshold value, if the restart condition is satisfied, the music piece is played back from the point where the playback was stopped or from a point close to the point where the playback was stopped; When the count value of the timer is greater than the first threshold value, if the restart condition is met, the music piece is played from the beginning. A game program characterized by:

3. In the game program according to claim 1 or 2, the stop condition is satisfied when the distance between the character and the object is equal to or greater than a third threshold, and is not satisfied when the distance is smaller than the third threshold; The restart condition is satisfied when the distance between the character and the object is equal to or smaller than a fourth threshold, and is not satisfied when the distance is greater than the fourth threshold. A game program characterized by:

4. A storage unit that stores the game program according to any one of claims 1 to 3; A control unit that executes the game program; A game device comprising:

Citation Information

Patent Citations

  • Computer readable recording medium, game controlling method and game device

    JP2001009150A

  • Game apparatus, method for controlling the same, and program

    JP2012183174A

  • Game program and game device

    JP2013057862A

  • Information processing method and program for causing computer to execute information processing method

    JP2018092656A

  • Game program and game system

    JP2018201786A