Character control device, character control method, recording medium and program
Abstract
A formation information storage unit stores formation information regulating a formation which characters should form. A character control unit turns off assessment of contact between allies when the characters are to formate and, based on formation information, assembles the respective characters in respective positions. Then, after the characters are assembled, the character control unit turns contact assessment back on. Further, when the characters are to attack, the character control unit moves front row characters toward enemy characters and makes back row characters follow the front row characters, while maintaining a certain amount of space therebetween. Then, when a front row character is destroyed, a back row character replaces the destroyed character.
Claims
exact text as granted — not AI-modified1 . A character control device comprising:
a character storage unit that stores character information of a plurality of characters arranged in a virtual space, the character information including a current position and regulated occupied areas for each of the plurality of characters; a formation storage unit that stores formation information regulating a formation to be formed by each of the plurality of characters, the formation information including a position in the formation assigned to each of the plurality of characters; a contact assessment unit that assesses a contact between the plurality of characters by comparing the current position and the regulated occupied areas of each of the plurality of characters; a character control unit that minutely moves the positions of characters for which said the contact was identified assessed after determining a sequential movement for each of the plurality of characters based on the contact assessment; and an image generation unit that sequentially generates images of each of the plurality of characters moving, wherein the character control unit further comprises an assembling control unit that, based on the formation information, changes respective sizes of the respective occupied areas to sizes less than a standard and assembles each of the plurality of characters to the position in the formation, based on the formation information, in a state where the respective sizes of said respective occupied areas have changed to sizes less than standard only when the each of the plurality of characters is assembled to the position in the formation, and the image generation unit sequentially generates images of each of the plurality of characters assembled by the assembling control unit.
2 . A character control method using a character storage unit and a formation storage unit, wherein
the character storage unit stores character information of a plurality of characters arranged in a virtual space, the character information including a current position and regulated occupied areas for each of the plurality of characters, the formation storage unit stores formation information regulating a formation to be formed by each of the plurality of characters, the formation information including a position in the formation assigned to each of the plurality of characters, and the character control method comprising: a contact assessment step for assessing a contact between the plurality of characters by comparing the current position and the regulated occupied areas of each of the plurality of characters; a character control step for minutely moving the positions of characters for which said the contact was identified assessed after determining a sequential movement for each of the plurality of characters based on the contact assessment; and an image generation step for sequentially generating images of each of the plurality of characters moving, wherein the character control step further comprises an assembling control step for, based on the formation information, changing respective sizes of the respective occupied areas to sizes less than a standard and assembles each of the plurality of characters to the position in the formation, based on the formation information, in a state where the respective sizes of said respective occupied areas have changed to sizes less than standard only when the each of the plurality of characters is assembled to the position in the formation, and in the image generation step, images of each of the plurality of characters assembled in the assembling control step are sequentially generated.
3 . A non-transitory recording medium that has recorded a program for controlling a computer to function as: a character storage unit that stores character information of a plurality of characters arranged in a virtual space, the character information including a current position and regulated occupied areas for each of the plurality of characters;
a formation storage unit that stores formation information regulating a formation to be formed by each of the plurality of characters, the formation information including a position in the formation assigned to each of the plurality of characters; a contact assessment unit that assesses a contact between the plurality of characters by comparing the current position and the regulated occupied areas of each of the plurality of characters; a character control unit that minutely moves the positions of characters for which said the contact was identified assessed after determining a sequential movement for each of the plurality of characters based on the contact assessment; and an image generation unit that sequentially generates images of each of the plurality of characters moving, wherein the character control unit further comprises an assembling control unit that, based on the formation information, changes respective sizes of the respective occupied areas to sizes less than a standard and assembles each of the plurality of characters to the position in the formation, based on the formation information, in a state where the respective sizes of said respective occupied areas have changed to sizes less than standard only when the each of the plurality of characters is assembled to the position in the formation, and the image generation unit sequentially generates images of each of the plurality of characters assembled by the assembling control unit.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.