Position adjustment method and apparatus for operation control, terminal, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorYating GUO
Life of this patent
Estimating the term…
Abstract
A position adjustment method and apparatus for an operation control, a terminal, and a storage medium. The method includes: displaying a user interface of a game session based on a starting operation for the game session, switching a first operation control from a fixed state to an adjustable state based on a first state switching operation, adjusting, in the adjustable state, a display position of the first operation control based on an adjustment operation for the first operation control, and controlling, in the adjustable state, a virtual object in the game session to perform an action corresponding to the first operation control based on a trigger operation for the first operation control.
Claims20
A position adjustment method for an operation control, performed by a computer device, comprising:
- displaying, based on a starting operation for a game session, a user interface of a game session comprising a plurality of operation controls, the plurality of operation controls comprising a first operation control positioned at a start-up display position;
- detecting a switch operation on a state switching operation control;
- switching a state of the first operation control between an adjustable state and a fixed state based on the switch operation;
- based on the first operation control switching from the fixed state to the adjustable state, displaying a position adjustment control for adjusting a display position of the first operation control, and adjusting the display position of the first operation control based on an adjustment operation on the position adjustment control;
- and
- based on the first operation control switching from the adjustable state to the fixed state,
- detecting a current display position of the first operation control and transmitting the current display position to a server to set the current display position of the first operation control as the start-up display position.
A position adjustment apparatus for an operation control, comprising:
- at least one memory configured to store program code;
- and
- at least one processor configured to read the program code and operate as instructed by the program code, the program code comprising:
- interface display code configured to cause the at least one processor to display, based on a starting operation for a game session, a user interface of a game session comprising a plurality of operation controls, the plurality of operation controls comprising a first operation control positioned at a start-up display position;
- state switching code configured to cause the at least one processor to detect a switch operation on a state switching operation control, and switch a state of the first operation control between an adjustable state and a fixed state based on the switch operation;
- and
- position adjustment code configured to cause the at least one processor to:
- based on the first operation control switching from the fixed state to the adjustable state, display a position adjustment control for adjusting a display position of the first operation control, and adjust the display position of the first operation control based on an adjustment operation on the position adjustment control, and
- based on the first operation control switching from the adjustable state to the fixed state, detect a current display position of the first operation control and transmit the current display position to a server to set the current display position of the first operation control as the start-up display position.
A non-transitory computer-readable storage medium storing computer code that when executed by at least one processor causes the at least one processor to:
- display, based on a starting operation for a game session, a user interface of a game session comprising a plurality of operation controls, the plurality of operation controls comprising a first operation control positioned at a start-up display position;
- detect a switch operation on a state switching operation control;
- switch a state of the first operation control between an adjustable state and a fixed state based on the switch operation;
- based on the first operation control switching from the fixed state to the adjustable state,
- display a position adjustment control for adjusting a display position of the first operation control, and adjust the display position of the first operation control based on an adjustment operation on the position adjustment control;
- and
- based on the first operation control switching from the adjustable state to the fixed state, detect a current display position of the first operation control and transmit the current display position to a server to set the current display position of the first operation control as the start-up display position.
Dependencies are inferred from the claim text.