CN112843702A - Color adjusting method and device, electronic equipment and storage medium - Google Patents

Color adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112843702A
CN112843702A CN202110267845.7A CN202110267845A CN112843702A CN 112843702 A CN112843702 A CN 112843702A CN 202110267845 A CN202110267845 A CN 202110267845A CN 112843702 A CN112843702 A CN 112843702A
Authority
CN
China
Prior art keywords
color
control
adjusting
sub
designated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110267845.7A
Other languages
Chinese (zh)
Inventor
王翌希
胡志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110267845.7A priority Critical patent/CN112843702A/en
Publication of CN112843702A publication Critical patent/CN112843702A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu

Abstract

The application provides a color adjustment method, a color adjustment device, an electronic device and a storage medium, wherein the method comprises the following steps: responding to the operation of adjusting the color of the first designated part by using the first color currently set by the first color control, and adjusting the color of the first designated part into the first color; responding to the selection operation of the selection control corresponding to the second appointed part, and displaying a second adjustment control of the second appointed part; the color of the second designated portion is adjusted to the first color in response to the operation of adjusting the color of the second designated portion using the first color, and the method is advantageous in reducing the complexity of the operation when adjusting the colors of the first designated portion and the second designated portion to the same color, and in improving the efficiency in color adjustment.

Description

Color adjusting method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a color adjustment method and apparatus, an electronic device, and a storage medium.
Background
In the existing game, the degree of freedom of re-creation with the player is higher and higher for the virtual character and the virtual item in the game, and the player can adjust the appearance color of the virtual character or the virtual item according to the preference of the player.
At present, the appearance editing function of a virtual character or a virtual prop is made to be thinner and thinner, more and more parts of the virtual character or the virtual prop can be edited by a player, each part of the virtual character or the virtual prop which can be edited by the player is provided with an individual color control, the player can edit the color of the corresponding part individually through the color control, after finishing the color editing of one part, the player can edit the color of the other part continuously, when editing the color of the other part, the player needs to edit by using the color control corresponding to the part, taking the virtual character as an example, the player can edit the cheek part and the forehead part of the virtual character individually, when editing the color of the cheek part, the player needs to adjust the color of the cheek part by using the color control corresponding to the cheek part, after the color of the cheek portion is edited, the player can continue to edit the color of the forehead portion through the color control corresponding to the forehead portion, and if the player wants to edit the colors of a plurality of portions which can be independently edited into the same color, the player needs to edit the color of each portion from the initial color, so that the editing operation is complicated.
Disclosure of Invention
In view of the above, embodiments of the present application provide a color adjustment method, apparatus, electronic device, and storage medium to reduce the complexity of operations when editing colors of a plurality of separately editable portions into a same color.
In a first aspect, an embodiment of the present application provides a color adjustment method, where a terminal device provides a graphical user interface, and the graphical user interface displays a first color control, a selection control corresponding to each part of a virtual target, and a first adjustment control of a first designated part currently in an adjustable state in each part, where the first adjustment control includes a second color control, and the method includes:
responding to the operation of adjusting the color of the first designated part by using the first color currently set by the first color control, and adjusting the color of the first designated part to the first color;
responding to selection operation of a selection control corresponding to a second appointed part, and displaying a second adjustment control of the second appointed part, wherein the second adjustment control comprises a third color control;
adjusting the color of the second designated portion to the first color in response to the operation of adjusting the color of the second designated portion using the first color.
Optionally, before responding to the operation of adjusting the color of the first designated location using the first color currently set by the first color control, the method further comprises:
responding to the clicking operation of the first color control, and displaying a color setting control for setting colors, wherein the color setting control comprises a setting sub-control of at least one color attribute;
responding to the adjustment operation aiming at the target setting sub-control, and determining the set value of the target setting sub-control;
and generating the first color currently set by the first color control according to the set value.
Optionally, the adjusting the color of the first designated part to the first color in response to the operation of adjusting the color of the first designated part by using the first color currently set by the first color control includes:
adjusting the color of the first designated portion to the first color in response to a first sliding operation from the first color control to the second color control, wherein a starting position of the first sliding operation is located within a response area of the first color control and an ending position of the first sliding operation is located within a response area of the second color control;
the adjusting the color of the second designated location to the first color in response to the adjusting the color of the second designated location using the first color comprises:
and adjusting the color of the second designated part to be the first color in response to a second sliding operation from the first color control to the third color control, wherein the starting position of the second sliding operation is located in the response area of the first color control, and the ending position of the second sliding operation is located in the response area of the third color control.
Optionally, after adjusting the color of the second designated location to the first color, the method further comprises:
adjusting the colors of the first designated part and the second designated part to the second color in response to a setting operation for adjusting the first color to the second color.
Optionally, after adjusting the color of the second designated location to the first color, the method further comprises:
responding to the operation of adjusting the color of the first part through the first control, and adjusting the color of the first part into a third color;
adjusting a color of a second portion to a fourth color in response to a setting operation for adjusting the first color to the fourth color;
when the first part is the first designated part, the second part is the second designated part, and the first control is the first adjusting control; when the first part is the second designated part, the second part is the first designated part, and the first control is the second adjustment control.
Optionally, when the first designated location includes at least two first sub-locations, the adjusting the color of the first designated location to the first color in response to the operation of adjusting the first designated location using the first color currently set by the first color control includes:
adjusting the color of a first sub-target portion to the first color in response to an operation of adjusting the color of the first sub-target portion using the first color;
when the second designated location includes at least two second sub-locations, the adjusting the color of the second designated location to the first color in response to the adjusting the color of the second designated location using the first color comprises:
and adjusting the color of the second sub-target part to the first color in response to the operation of adjusting the color of the second sub-target part by using the first color.
Optionally, after adjusting the color of the second sub-target portion to the first color, the method further comprises:
adjusting the colors of the first and second sub-target portions to a fifth color in response to a setting operation for adjusting the first color to the fifth color.
Optionally, after adjusting the color of the second sub-target portion to the first color, the method further comprises:
responding to the operation of adjusting the color of the third sub-part through the first sub-control, and adjusting the color of the third sub-part into a sixth color;
adjusting a color of a fourth sub-part to a seventh color in response to a setting operation for adjusting the first color to the seventh color;
when the third sub-part is the first sub-target part, the fourth sub-part is the second sub-target part, and the first sub-control is an adjusting control of the first sub-target part; when the third sub-part is the second sub-target part, the fourth sub-part is the first sub-target part, and the first sub-control is an adjusting control of the second sub-target part.
Optionally, the virtual target includes a virtual character and a virtual prop.
In a second aspect, an embodiment of the present application provides a color adjustment apparatus, where a terminal device provides a graphical user interface, and the graphical user interface displays a first color control, a selection control corresponding to each portion of a virtual target, and a first adjustment control of a first designated portion of each portion, where the first designated portion is currently in an adjustable state, where the first adjustment control includes a second color control, and the apparatus includes:
an adjusting unit, configured to adjust the color of the first designated portion to a first color in response to an operation of adjusting the color of the first designated portion using the first color currently set by the first color control;
the display unit is used for responding to the selection operation of a selection control corresponding to a second appointed part and displaying a second adjustment control of the second appointed part, wherein the second adjustment control comprises a third color control;
the adjusting unit is further configured to adjust the color of the second designated portion to the first color in response to an operation of adjusting the color of the second designated portion using the first color.
Optionally, the display unit is further configured to:
before responding to the operation of adjusting the color of the first designated part by using the first color currently set by the first color control, responding to the click operation aiming at the first color control, and displaying a color setting control for setting the color, wherein the color setting control comprises a setting sub-control of at least one color attribute;
the device further comprises:
the determining unit is used for responding to the adjusting operation aiming at the target setting sub-control and determining the set value of the target setting sub-control;
the adjusting unit is further configured to generate the first color currently set by the first color control according to the setting value.
Optionally, when the adjusting unit is configured to adjust the color of the first designated part to the first color in response to an operation of adjusting the color of the first designated part using the first color currently set by the first color control, the adjusting unit includes:
adjusting the color of the first designated portion to the first color in response to a first sliding operation from the first color control to the second color control, wherein a starting position of the first sliding operation is located within a response area of the first color control and an ending position of the first sliding operation is located within a response area of the second color control;
the adjusting the color of the second designated location to the first color in response to the adjusting the color of the second designated location using the first color comprises:
and adjusting the color of the second designated part to be the first color in response to a second sliding operation from the first color control to the third color control, wherein the starting position of the second sliding operation is located in the response area of the first color control, and the ending position of the second sliding operation is located in the response area of the third color control.
Optionally, the adjusting unit is further configured to:
after adjusting the color of the second designated part to the first color, the colors of the first designated part and the second designated part are adjusted to the second color in response to a setting operation for adjusting the first color to the second color.
Optionally, the adjusting unit is further configured to:
after the color of the second designated part is adjusted to the first color, responding to the operation of adjusting the color of the first part through the first control, and adjusting the color of the first part to a third color; and adjusting the color of the second portion to a fourth color in response to a setting operation for adjusting the first color to the fourth color;
when the first part is the first designated part, the second part is the second designated part, and the first control is the first adjusting control; when the first part is the second designated part, the second part is the first designated part, and the first control is the second adjustment control.
Optionally, when the first designated location includes at least two first sub-locations, the adjusting unit, when configured to adjust the color of the first designated location to the first color in response to an operation of adjusting the first designated location using the first color currently set by the first color control, includes:
adjusting the color of a first sub-target portion to the first color in response to an operation of adjusting the color of the first sub-target portion using the first color;
when the second designated location includes at least two second sub-locations, the adjusting the color of the second designated location to the first color in response to the adjusting the color of the second designated location using the first color comprises:
and adjusting the color of the second sub-target part to the first color in response to the operation of adjusting the color of the second sub-target part by using the first color.
Optionally, the adjusting unit is further configured to:
after adjusting the color of the second sub-target portion to the first color, the colors of the first and second sub-target portions are adjusted to a fifth color in response to a setting operation for adjusting the first color to the fifth color.
Optionally, the adjusting unit is further configured to:
after the color of the second sub-target part is adjusted to the first color, responding to the operation of adjusting the color of a third sub-part through a first sub-control, and adjusting the color of the third sub-part to a sixth color; and adjusting a color of a fourth sub-part to a seventh color in response to a setting operation for adjusting the first color to the seventh color;
when the third sub-part is the first sub-target part, the fourth sub-part is the second sub-target part, and the first sub-control is an adjusting control of the first sub-target part; when the third sub-part is the second sub-target part, the fourth sub-part is the first sub-target part, and the first sub-control is an adjusting control of the second sub-target part.
Optionally, the virtual target includes a virtual character and a virtual prop.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory, the memory storing machine-readable instructions executable by the processor, the processor executing the machine-readable instructions when the electronic device is run to perform the steps of the method of the first aspect as described above.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps of the method of the first aspect.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the present application, the player may set a first color through the first color control, adjust the color of the first designated portion currently in an adjustable state to the first color after responding to the first color set by the player, and after the color adjustment of the first designated portion is completed, the player may switch the state of the second designated portion to the current adjustable state through the selection control, at this time, the player may adjust the color of the second designated portion, and when adjusting the color of the second designated portion, the color of the second designated portion may be adjusted through the first color set by the first color control, at this time, the color of the second designated portion may be adjusted to the first color, and by the above method, it is advantageous to reduce the complexity of the operation when adjusting the colors of the first designated portion and the second designated portion to the same color, meanwhile, the efficiency of color adjustment is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a schematic diagram of a graphical user interface provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a color adjustment method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another color adjustment method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another color adjustment method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another color adjustment method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a color adjustment apparatus according to a second embodiment of the present application;
fig. 7 is a schematic structural diagram of another color adjustment apparatus provided in the second embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the prior art, a player may adjust colors of different parts of a virtual target (including a virtual character and a virtual prop), when adjusting a color of one part of the virtual target, the color of the part may be adjusted by using a color adjustment control corresponding to the part, a color currently displayed by the color adjustment control of the part is a set initial color, the player may adjust the color of the part from the initial color, after the player has adjusted the color of the part, the color of another part may be adjusted, the another part also corresponds to the color adjustment control, the color currently displayed by the color adjustment control corresponding to the another part is also the set initial color, and the player also needs to adjust from the initial color when adjusting the color of the another part, if a player wants to adjust the colors of a plurality of parts to the same color, the player needs to perform a plurality of color adjustment operations, each of which is performed from an initial color, and the editing operation of the whole operation process is complicated in the process of adjusting the colors of a plurality of parts to the same color.
In order to solve the above problem, embodiments of the present application provide a color adjustment method, an apparatus, an electronic device, and a storage medium, where colors of different portions may be adjusted by using a color control, and after the color of one portion is adjusted, the color of the color control does not change, and a player may continue to adjust the color of a next portion by using the color displayed on the color control, so that multiple portions have the same color, and in a process of adjusting colors of multiple portions to the same color, the color displayed by the color control needs to be adjusted only once, which is beneficial to reducing operation complexity in a color adjustment process and improving efficiency in color adjustment.
The following is a detailed description of examples of the present application.
Example one
Fig. 1 is a schematic diagram of a graphical user interface provided in an embodiment of the present application, and as shown in fig. 1, a terminal device is used to provide the graphical user interface, where the graphical user interface displays a first color control 11, a selection control 12 corresponding to each part of a virtual object, and a first adjustment control 13 of a first designated part currently in an adjustable state in each part, where the first adjustment control 13 includes a second color control 131, and fig. 2 is a flowchart of a color adjustment method provided in the embodiment of the present application, and as shown in fig. 2, the method includes the following steps:
step 201, responding to the operation of adjusting the color of the first designated part by using the first color currently set by the first color control, and adjusting the color of the first designated part to the first color.
Step 202, responding to a selection operation of a selection control corresponding to a second designated part, and displaying a second adjustment control of the second designated part, wherein the second adjustment control comprises a third color control.
Step 203, responding to the operation of adjusting the color of the second designated part by using the first color, and adjusting the color of the second designated part to the first color.
Specifically, as shown in fig. 1, a selection control corresponding to each portion of a virtual object is displayed in a graphical user interface, different portions correspond to different selection controls, a player can determine a portion currently in an adjustable state through selection operation of the selection controls, when the player selects a selection control corresponding to a first designated portion, the first designated portion is in an adjustable state at this time, a first adjustment control for adjusting the first designated portion is displayed on the graphical user interface, the player can adjust the first designated portion (including adjustment of the shape, size, length, and the like of the first designated portion) after performing adjustment operation on the first adjustment control, the player can adjust the color of the first designated portion after performing adjustment operation on a second color control in the first adjustment control, and after adjusting the first designated portion, the player can select the selection control corresponding to the second designated part, the second designated part is in an adjustable state at the moment, a second adjustment control for adjusting the second designated part is displayed on the image user interface, the player can adjust the second designated part (including adjusting the shape, size, radian and the like of the second designated part) after adjusting the second adjustment control, the player can adjust the color of the second designated part after adjusting the third color control in the second adjustment control, and the player can independently adjust a certain part by the above mode.
As shown in fig. 1, taking a virtual target as a virtual character as an example, a triangle without a filling pattern represents a selection control corresponding to an eye, a circle with a filling pattern represents a selection control corresponding to a cheek, a square with a filling pattern represents a selection control corresponding to a forehead, after a player selects the selection control corresponding to the eye, the eye of the virtual character is in an adjustable state at this time, an adjustment control for adjusting the eye is displayed on a graphical user interface at this time, the player can perform an adjustment operation on the adjustment control, so as to achieve the purpose of setting the eye of the virtual character, the player can adjust attributes such as shape and size of the eye of the virtual character through the adjustment control, and the player can adjust the color of the eye of the virtual character through a color control in the adjustment control, after the player finishes adjusting the eyes of the virtual character, the player can perform selection operation on the selection control corresponding to the cheek, the cheek of the virtual character is in an adjustable state at the moment, an adjustment control for adjusting the cheek is displayed on the graphical user interface, the player can perform adjustment operation on the adjustment control, so that the adjustment of the attributes such as the size and the shape of the cheek of the virtual character is completed, and the player can adjust the color of the cheek of the virtual character through the color control in the adjustment control.
It should be noted that the property that can be adjusted at different positions is different, and therefore the adjustment content included in the adjustment control corresponding to different positions is also different, for example: attributes for which the eye can be adjusted may include: the shape of the eye, the position of the eye, the size of the pupil, the color of the pupil, and other attributes, where the adjustment control corresponding to the eye includes an eye shape adjustment control, an eye position adjustment control, a pupil size adjustment control, and a color control for adjusting the color of the pupil, the attribute that the cheek can be adjusted may include: the adjustment control corresponding to the cheek comprises a cheek radian adjustment control, a cheek fat-thin adjustment control and an adjustment control for adjusting the cheek color, and the adjustable attribute of the specific part can be set according to actual needs without specific limitation.
The first designated part and the second designated part are parts which can be independently adjusted, when the color of the first designated part and the color of the second designated part need to be adjusted to be the same color, a player can select and operate a selection control corresponding to the first designated part, at the moment, the first designated part is in an adjustable state, the player can operate a first color control displayed on a graphical user interface so as to adjust the color represented by the first color control, at the moment, the color of the first designated part can be changed along with the operation of the first color control, and when the current color of the first color control is set to be the first color, the color of the first designated part is also adjusted to be the first color, after the color of the first designated part is adjusted, the player can further operate other adjustment controls except the second color control in the first adjustment control, in order to enable adjustment of other attributes than color in the first designated location.
After the first designated portion is adjusted, the player may perform a selection operation on the selection control corresponding to the second designated portion, where the second designated portion is in an adjustable state, and the player may adjust the color of the second designated portion by using the first color set before the first color control, for example: the player can double click the first color control, the color of the second designated part is adjusted to be the second color at the moment, and after the color of the second designated part is also adjusted to be the first color, the player can operate other adjusting controls except the third color control in the second adjusting control so as to realize the adjustment of other attributes except the color in the second designated part.
Through the method, in the process of adjusting the colors of the first designated part and the second designated part to be the same, the same color can be used for adjusting the colors of the first designated part and the second designated part only by performing color adjustment operation on the first color control once, so that the first designated part and the second designated part have the same color.
In a possible embodiment, fig. 3 is a schematic flow chart of another color adjustment method provided in the first embodiment of the present application, and as shown in fig. 3, before performing step 201, the method further includes the following steps:
step 301, responding to the click operation of the first color control, and displaying a color setting control for setting a color, wherein the color setting control comprises a setting sub-control of at least one color attribute.
Step 302, responding to the adjustment operation aiming at the target setting sub-control, and determining the set value of the target setting sub-control.
And 303, generating the first color currently set by the first color control according to the set value.
Specifically, when the first designated portion and the second designated portion are set to be the same color, the color represented by the first color control may be adjusted before the states of the first designated portion and the second designated portion are switched to be adjustable, and after the first color control is clicked, the color setting control included in the first color control is displayed on the graphical user interface, where the color setting control is composed of a plurality of setting sub-controls for controlling color attributes, each setting sub-control is used to control one color attribute, and when the color attributes include three color attributes of saturation, darkness and reflectance, the setting sub-controls include a setting sub-control for adjusting saturation, a setting sub-control for adjusting darkness, and a setting sub-control for adjusting reflectance, and a player may perform an adjustment operation on each setting sub-control, and finishing the adjustment of the color attribute corresponding to the setting child control. After all the setting sub-controls are set, the first color can be obtained according to the setting values corresponding to the setting sub-controls, and after the first color is obtained, the player can use the first color control to respectively adjust the colors of the first designated part and the second designated part, so that the colors of the first designated part and the second designated part are adjusted to be the first color, and the first designated part and the second designated part have the same color.
It should be noted that the specific setting sub-control included in the first color control may be set according to actual needs, and is not specifically limited herein.
In one possible embodiment, when step 201 is performed, this can be achieved by:
and adjusting the color of the first designated part to be the first color in response to a first sliding operation from the first color control to the second color control, wherein the starting position of the first sliding operation is located in the response area of the first color control, and the ending position of the first sliding operation is located in the response area of the second color control.
Specifically, the first color can be obtained after the first color control is adjusted, at this time, the player can drag the first color control to the area where the second color control is located through the first sliding operation, and at this time, the color of the first designated portion can be adjusted to the first color.
The response area of the first color control may be an area where the first color control is located, and the response area of the second color control may be an area where the second color control is located.
It should be noted that, when the first color control is dragged, the first color control may move along with the dragging operation, or generate an identifier for representing the first color control, where the identifier moves along with the dragging operation, but the first color control does not move itself, and during the first sliding operation, the specific display mode of the graphical user interface may be set according to actual needs, where no specific limitation is made, and of course, the player may also adjust the color of the first designated portion to the first color through other operations, for example: the first color control is operated by double-clicking, and the specific operation mode is not limited in this respect.
In one possible embodiment, when performing step 203, this can be achieved by:
and adjusting the color of the second designated part to be the first color in response to a second sliding operation from the first color control to the third color control, wherein the starting position of the second sliding operation is located in the response area of the first color control, and the ending position of the second sliding operation is located in the response area of the third color control.
Wherein the response area of the third color control may be the area in which the third color control is located.
The detailed explanation of the color adjustment method of the second designated part refers to the related explanation of the color adjustment method of the first designated part, and is not explained in detail here.
In one possible embodiment, after step 203 is performed, the color of the first designated location and the second designated location is adjusted to the second color in response to a setting operation for adjusting the first color to the second color.
Specifically, the first color control is set to be a first color, then the color of the first designated portion and the color of the second designated portion are adjusted to be the first color through the first color control, the first designated portion and the second designated portion have a binding relationship, and the player can adjust the color represented by the first color control at this time to adjust the first color represented by the first color control to be a second color, and after the color represented by the first color control is adjusted to be the second color, the colors of the first designated portion and the second designated portion also change along with the change, that is: the player can realize the purpose of adjusting the colors of the first appointed part and the second appointed part synchronously after adjusting the first color control, so that the first appointed part and the second appointed part still have the same color after adjusting the colors of the first appointed part and the second appointed part, thereby being beneficial to reducing the operation complexity during color adjustment and simultaneously being beneficial to improving the efficiency during color adjustment.
In a possible embodiment, fig. 4 is a schematic flow chart of another color adjustment method provided in the first embodiment of the present application, and as shown in fig. 4, after step 203 is executed, the method may further include the following steps:
step 401, responding to an operation of adjusting the color of the first part through the first control, and adjusting the color of the first part to a third color.
Step 402, adjusting the color of the second portion to a fourth color in response to a setting operation for adjusting the first color to the fourth color.
When the first part is the first designated part, the second part is the second designated part, and the first control is the first adjusting control; when the first part is the second designated part, the second part is the first designated part, and the first control is the second adjustment control.
Specifically, after the first color control is set to the first color, and then the color of the first designated part and the color of the second designated part are adjusted to the first color by the first color control, the player completes the adjustment of the color of the first designated part and the color of the second designated part, in order to improve the freedom of the player in designing the virtual target, the player can also independently adjust the first designated part and the second designated part, taking the independent adjustment of the color of the first designated part as an example, the player can independently adjust the color of the first designated part to the third color by the second color control in the first adjustment control, at this time, the color of the second designated part is still the first color, at this time, if the player adjusts the first color represented by the first color control to the fourth color, the color of the second designated part is adjusted from the first color to the fourth color, the color of the first designated part is still the third color, further, after the first color control is set as the first color, and then the colors of the first designated part and the second designated part are adjusted to the first color by the first color control, the colors of the first designated part and the second designated part change synchronously with the color of the first color control, if the color of the first designated part is independently adjusted by the second color control, the color of the first designated part does not change synchronously with the color of the first color control, but the color of the second designated part still changes synchronously with the color of the first color control, if the color of the second designated part is independently adjusted by the third color control, the color of the second designated part does not change synchronously with the color of the first color control, the color of the first designated location remains changed in synchronization with the color of the first color control.
In a possible embodiment, when the first designated location comprises at least two first sub-locations, the color of the first sub-target location may be adjusted to the first color in response to an operation of adjusting the color of the first sub-target location using the first color when step 201 is performed; when the second designated part includes at least two second sub-parts, the color of the second sub-target part may be adjusted to the first color in response to an operation of adjusting the color of the second sub-target part using the first color when step 203 is performed.
Specifically, the first designated part is used for explanation, for a virtual target, multiple groups of symmetrical parts may be included in the virtual target, taking the virtual target as a virtual character as an example, two eyes of the virtual character form the first designated part, each eye can be used as a first sub-part, a player can independently adjust one eye through an adjustment control corresponding to each eye, taking the virtual target as a jacket prop as an example, two sleeves of the jacket prop form the first designated part, each sleeve can be used as a first sub-part, and the player can independently adjust one sleeve through an adjustment control corresponding to each sleeve.
Taking the first designated portion as two eyes as an example, the first adjusting control may include a first adjusting sub-control, a second adjusting sub-control, and a third adjusting sub-control, where the first adjusting sub-control is used to adjust the left eye separately, the second adjusting sub-control is used to adjust the right eye separately, the third adjusting sub-control adjusts two eyes, and the player may adjust the color of the left eye or the right eye using the first color, or adjust the color of two eyes using the first color synchronously, for example: the player can drag the first color control to the area where the first adjusting sub-control is located, the color of the left eye is adjusted to be the first color at the moment, the player can also drag the first color control to the area where the second adjusting sub-control is located, the color of the right eye is adjusted to be the first color at the moment, the player can also drag the first color control to the area where the third adjusting sub-control is located, the color of the two eyes is adjusted to be the first color at the moment, and the freedom degree of the player in adjusting the color of each part of the virtual target is improved by the aid of the method.
The explanation about the second designated location can refer to the above-mentioned explanation about the first designated location, and will not be described in detail here.
By the method, the colors of the first sub-target part and the second sub-target part can be adjusted to be the first color, so that the operation complexity of adjusting the first sub-target part and the second sub-target part to be the same color is reduced.
In one possible embodiment, after the color of the second sub-target portion is adjusted to the first color, the colors of the first and second sub-target portions are adjusted to the fifth color in response to a setting operation for adjusting the first color to the fifth color.
Specifically, after the colors of the first sub-target part and the second sub-target part are adjusted to the first color through the first color control, the colors of the first sub-target part and the second sub-target part change synchronously with the color represented by the first color control, that is: after the color represented by the first color control is adjusted to the fifth color from the first color, the colors of the first sub-target part and the second sub-target part are synchronously adjusted to the fifth color, so that the operation complexity in color adjustment is favorably reduced, and the efficiency in color adjustment is favorably improved.
In a possible embodiment, fig. 5 is a schematic flow chart of another color adjustment method provided in the first embodiment of the present application, and as shown in fig. 5, after adjusting the color of the second sub-target portion to the first color, the method may further include the following steps:
and step 501, responding to the operation of adjusting the color of the third sub-part through the first sub-control, and adjusting the color of the third sub-part into a sixth color.
Step 502, in response to a setting operation for adjusting the first color to a seventh color, adjusting the color of the fourth sub-portion to the seventh color.
When the third sub-part is the first sub-target part, the fourth sub-part is the second sub-target part, and the first sub-control is an adjusting control of the first sub-target part; when the third sub-part is the second sub-target part, the fourth sub-part is the first sub-target part, and the first sub-control is an adjusting control of the second sub-target part.
The related explanation of the content shown in fig. 5 can refer to the related explanation of the content shown in fig. 4, and will not be described in detail here.
In one possible embodiment, the virtual target includes a virtual character and a virtual prop.
It should be noted that the virtual character may include a virtual character, a virtual pet, a virtual monster, and the like, and the virtual prop may include a wearing virtual article, such as: clothing, footwear, etc., and may also include use-like virtual tools, such as: guns, weapons, etc., and the specific inclusion of virtual characters and virtual props is not specifically limited herein.
Example two
Fig. 6 is a schematic structural diagram of a color adjustment apparatus according to a second embodiment of the present application, where a terminal device provides a graphical user interface, and the graphical user interface displays a first color control, a selection control corresponding to each portion of a virtual object, and a first adjustment control of a first designated portion of each portion that is currently in an adjustable state, where the first adjustment control includes a second color control, as shown in fig. 6, the apparatus includes:
an adjusting unit 61, configured to adjust the color of the first designated location to a first color in response to an operation of adjusting the color of the first designated location using the first color currently set by the first color control;
the display unit 62 is configured to respond to a selection operation for a selection control corresponding to a second designated location, and display a second adjustment control of the second designated location, where the second adjustment control includes a third color control;
the adjusting unit 61 is further configured to adjust the color of the second designated area to the first color in response to an operation of adjusting the color of the second designated area using the first color.
In one possible embodiment, the display unit 62 is further configured to:
before responding to the operation of adjusting the color of the first designated part by using the first color currently set by the first color control, responding to the click operation aiming at the first color control, and displaying a color setting control for setting the color, wherein the color setting control comprises a setting sub-control of at least one color attribute;
fig. 7 is a schematic structural diagram of another color adjustment apparatus provided in the second embodiment of the present application, and as shown in fig. 7, the apparatus further includes:
a determining unit 63, configured to determine a set value of a target setting sub-control in response to an adjustment operation for the target setting sub-control;
the adjusting unit 61 is further configured to generate the first color currently set by the first color control according to the setting value.
In a possible embodiment, the adjusting unit 61, when being configured to adjust the color of the first designated part to the first color in response to the operation of adjusting the color of the first designated part using the first color currently set by the first color control, includes:
adjusting the color of the first designated portion to the first color in response to a first sliding operation from the first color control to the second color control, wherein a starting position of the first sliding operation is located within a response area of the first color control and an ending position of the first sliding operation is located within a response area of the second color control;
the adjusting the color of the second designated location to the first color in response to the adjusting the color of the second designated location using the first color comprises:
and adjusting the color of the second designated part to be the first color in response to a second sliding operation from the first color control to the third color control, wherein the starting position of the second sliding operation is located in the response area of the first color control, and the ending position of the second sliding operation is located in the response area of the third color control.
In a possible embodiment, the adjusting unit 61 is further configured to:
after adjusting the color of the second designated part to the first color, the colors of the first designated part and the second designated part are adjusted to the second color in response to a setting operation for adjusting the first color to the second color.
In a possible embodiment, the adjusting unit 61 is further configured to:
after the color of the second designated part is adjusted to the first color, responding to the operation of adjusting the color of the first part through the first control, and adjusting the color of the first part to a third color; and adjusting the color of the second portion to a fourth color in response to a setting operation for adjusting the first color to the fourth color;
when the first part is the first designated part, the second part is the second designated part, and the first control is the first adjusting control; when the first part is the second designated part, the second part is the first designated part, and the first control is the second adjustment control.
In a possible embodiment, when the first designated location includes at least two first sub-locations, the adjusting unit 61, when configured to adjust the color of the first designated location to the first color in response to the operation of adjusting the first designated location using the first color currently set by the first color control, includes:
adjusting the color of a first sub-target portion to the first color in response to an operation of adjusting the color of the first sub-target portion using the first color;
when the second designated location includes at least two second sub-locations, the adjusting the color of the second designated location to the first color in response to the adjusting the color of the second designated location using the first color comprises:
and adjusting the color of the second sub-target part to the first color in response to the operation of adjusting the color of the second sub-target part by using the first color.
In a possible embodiment, the adjusting unit 61 is further configured to:
after adjusting the color of the second sub-target portion to the first color, the colors of the first and second sub-target portions are adjusted to a fifth color in response to a setting operation for adjusting the first color to the fifth color.
In a possible embodiment, the adjusting unit 61 is further configured to:
after the color of the second sub-target part is adjusted to the first color, responding to the operation of adjusting the color of a third sub-part through a first sub-control, and adjusting the color of the third sub-part to a sixth color; and adjusting a color of a fourth sub-part to a seventh color in response to a setting operation for adjusting the first color to the seventh color;
when the third sub-part is the first sub-target part, the fourth sub-part is the second sub-target part, and the first sub-control is an adjusting control of the first sub-target part; when the third sub-part is the second sub-target part, the fourth sub-part is the first sub-target part, and the first sub-control is an adjusting control of the second sub-target part.
In one possible embodiment, the virtual target includes a virtual character and a virtual prop.
For the description of the principles of the second embodiment, reference may be made to the detailed description of the first embodiment, which is not repeated herein.
EXAMPLE III
Fig. 8 is a schematic structural diagram of an electronic device according to a third embodiment of the present application, including: a processor 801, a storage medium 802 and a bus 803, wherein the storage medium 802 stores machine-readable instructions executable by the processor 801, when the electronic device executes the color adjustment method, the processor 801 communicates with the storage medium 802 through the bus 803, and the processor 801 executes the machine-readable instructions to perform the method steps described in the first embodiment.
Example four
A fourth embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the method steps described in the first embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A color adjustment method is characterized in that a graphical user interface is provided through a terminal device, the graphical user interface displays a first color control, a selection control corresponding to each part of a virtual target, and a first adjustment control of a first appointed part currently in an adjustable state in each part, wherein the first adjustment control comprises a second color control, and the method comprises the following steps:
responding to the operation of adjusting the color of the first designated part by using the first color currently set by the first color control, and adjusting the color of the first designated part to the first color;
responding to selection operation of a selection control corresponding to a second appointed part, and displaying a second adjustment control of the second appointed part, wherein the second adjustment control comprises a third color control;
adjusting the color of the second designated portion to the first color in response to the operation of adjusting the color of the second designated portion using the first color.
2. The method of claim 1, wherein prior to the operation of adjusting the color of the first designated location in response to the first color currently set using the first color control, the method further comprises:
responding to the clicking operation of the first color control, and displaying a color setting control for setting colors, wherein the color setting control comprises a setting sub-control of at least one color attribute;
responding to the adjustment operation aiming at the target setting sub-control, and determining the set value of the target setting sub-control;
and generating the first color currently set by the first color control according to the set value.
3. The method of claim 1, wherein adjusting the color of the first designated location to the first color in response to adjusting the color of the first designated location using the first color currently set by the first color control comprises:
adjusting the color of the first designated portion to the first color in response to a first sliding operation from the first color control to the second color control, wherein a starting position of the first sliding operation is located within a response area of the first color control and an ending position of the first sliding operation is located within a response area of the second color control;
the adjusting the color of the second designated location to the first color in response to the adjusting the color of the second designated location using the first color comprises:
and adjusting the color of the second designated part to be the first color in response to a second sliding operation from the first color control to the third color control, wherein the starting position of the second sliding operation is located in the response area of the first color control, and the ending position of the second sliding operation is located in the response area of the third color control.
4. The method of claim 1, wherein after adjusting the color of the second designated location to the first color, the method further comprises:
adjusting the colors of the first designated part and the second designated part to the second color in response to a setting operation for adjusting the first color to the second color.
5. The method of claim 1, wherein after adjusting the color of the second designated location to the first color, the method further comprises:
responding to the operation of adjusting the color of the first part through the first control, and adjusting the color of the first part into a third color;
adjusting a color of a second portion to a fourth color in response to a setting operation for adjusting the first color to the fourth color;
when the first part is the first designated part, the second part is the second designated part, and the first control is the first adjusting control; when the first part is the second designated part, the second part is the first designated part, and the first control is the second adjustment control.
6. The method of claim 1, wherein when the first designated location includes at least two first sub-locations, the adjusting the color of the first designated location to the first color in response to the adjusting the first designated location using the first color currently set by the first color control comprises:
adjusting the color of a first sub-target portion to the first color in response to an operation of adjusting the color of the first sub-target portion using the first color;
when the second designated location includes at least two second sub-locations, the adjusting the color of the second designated location to the first color in response to the adjusting the color of the second designated location using the first color comprises:
and adjusting the color of the second sub-target part to the first color in response to the operation of adjusting the color of the second sub-target part by using the first color.
7. The method of claim 6, wherein after adjusting the color of the second sub-target site to the first color, the method further comprises:
adjusting the colors of the first and second sub-target portions to a fifth color in response to a setting operation for adjusting the first color to the fifth color.
8. The method of claim 6, wherein after adjusting the color of the second sub-target site to the first color, the method further comprises:
responding to the operation of adjusting the color of the third sub-part through the first sub-control, and adjusting the color of the third sub-part into a sixth color;
adjusting a color of a fourth sub-part to a seventh color in response to a setting operation for adjusting the first color to the seventh color;
when the third sub-part is the first sub-target part, the fourth sub-part is the second sub-target part, and the first sub-control is an adjusting control of the first sub-target part; when the third sub-part is the second sub-target part, the fourth sub-part is the first sub-target part, and the first sub-control is an adjusting control of the second sub-target part.
9. The method of claim 1, wherein the virtual target comprises a virtual character and a virtual prop.
10. A color adjustment device is characterized in that a graphical user interface is provided through a terminal device, the graphical user interface displays a first color control, a selection control corresponding to each part of a virtual target, and a first adjustment control of a first appointed part currently in an adjustable state in each part, wherein the first adjustment control comprises a second color control, and the device comprises:
an adjusting unit, configured to adjust the color of the first designated portion to a first color in response to an operation of adjusting the color of the first designated portion using the first color currently set by the first color control;
the display unit is used for responding to the selection operation of a selection control corresponding to a second appointed part and displaying a second adjustment control of the second appointed part, wherein the second adjustment control comprises a third color control;
the adjusting unit is further configured to adjust the color of the second designated portion to the first color in response to an operation of adjusting the color of the second designated portion using the first color.
11. An electronic device, comprising: a processor and a memory, the memory storing machine-readable instructions executable by the processor, the processor executing the machine-readable instructions to perform the steps of the method of any one of claims 1 to 9 when the electronic device is executed.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the method according to any one of claims 1 to 9.
CN202110267845.7A 2021-03-11 2021-03-11 Color adjusting method and device, electronic equipment and storage medium Pending CN112843702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110267845.7A CN112843702A (en) 2021-03-11 2021-03-11 Color adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110267845.7A CN112843702A (en) 2021-03-11 2021-03-11 Color adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112843702A true CN112843702A (en) 2021-05-28

Family

ID=75994180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110267845.7A Pending CN112843702A (en) 2021-03-11 2021-03-11 Color adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112843702A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214361A (en) * 2010-04-09 2011-10-12 索尼公司 Information processing device, method, and program
US20110252344A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Personalizing colors of user interfaces
CN109865283A (en) * 2019-03-05 2019-06-11 网易(杭州)网络有限公司 Virtual role face method of adjustment, device, electronic equipment and medium in game
CN110473277A (en) * 2019-07-24 2019-11-19 天脉聚源(杭州)传媒科技有限公司 Facial processing method, system and the storage medium of customized virtual role

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110252344A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Personalizing colors of user interfaces
CN102214361A (en) * 2010-04-09 2011-10-12 索尼公司 Information processing device, method, and program
CN109865283A (en) * 2019-03-05 2019-06-11 网易(杭州)网络有限公司 Virtual role face method of adjustment, device, electronic equipment and medium in game
CN110473277A (en) * 2019-07-24 2019-11-19 天脉聚源(杭州)传媒科技有限公司 Facial processing method, system and the storage medium of customized virtual role

Similar Documents

Publication Publication Date Title
US20180260994A1 (en) Expression animation generation method and apparatus for human face model
CN111161427A (en) Self-adaptive adjustment method and device of virtual skeleton model and electronic device
US20140043367A1 (en) Storage medium having stored therein image display program, image display apparatus, image display system, and image display method
CN108114467A (en) Switching method, device, processor and the terminal of reality-virtualizing game scene
US11978145B2 (en) Expression generation for animation object
CN110292778A (en) A kind of method and apparatus of game skill release
KR101398188B1 (en) Method for providing on-line game supporting character make up and system there of
CN111389003A (en) Game role control method, device, equipment and computer readable storage medium
CN113440848B (en) In-game information marking method and device and electronic device
US10628984B2 (en) Facial model editing method and apparatus
CN114377405A (en) Role image data-based generation method and device
CN112657195B (en) Virtual character image processing method, device, equipment and storage medium
CN112843702A (en) Color adjusting method and device, electronic equipment and storage medium
WO2023093428A1 (en) Interaction method and apparatus, computer device, and storage medium
US20230298253A1 (en) Appearance editing method and apparatus for virtual pet, terminal, and storage medium
JP7213791B2 (en) GAME PROGRAM, GAME DEVICE, GAME SYSTEM, AND GAME PROCESSING METHOD
US11620801B2 (en) Information-processing device, storage medium, information-processing system, and information-processing method
CN110992448B (en) Animation processing method, device, electronic equipment and storage medium
CN108961370A (en) A kind of cartoon optimization algorithm thumbing up effect
US20220249954A1 (en) Storage medium storing information processing program, information processing apparatus, information processing system, and information processing method
KR20140087070A (en) Apparatus and method for controlling items in online game
JP7101735B2 (en) Image generation program and image generation system
CN115272631A (en) Virtual face model processing method and related equipment
CN109035371A (en) A kind of animation enhancing algorithm thumbing up effect
CN113941143A (en) Virtual card processing method, nonvolatile storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination