WO2022156367A1 - 数据生成控制方法、装置、电子设备及存储介质 - Google Patents

数据生成控制方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2022156367A1
WO2022156367A1 PCT/CN2021/134055 CN2021134055W WO2022156367A1 WO 2022156367 A1 WO2022156367 A1 WO 2022156367A1 CN 2021134055 W CN2021134055 W CN 2021134055W WO 2022156367 A1 WO2022156367 A1 WO 2022156367A1
Authority
WO
WIPO (PCT)
Prior art keywords
entrance
target
target level
entry
information
Prior art date
Application number
PCT/CN2021/134055
Other languages
English (en)
French (fr)
Inventor
张文迪
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2022156367A1 publication Critical patent/WO2022156367A1/zh

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/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Definitions

  • the present disclosure relates to the technical field of computer software, and in particular, to a data generation control method, apparatus, electronic device, and storage medium.
  • Embodiments of the present disclosure provide at least a data generation control method, apparatus, electronic device, and storage medium.
  • an embodiment of the present disclosure provides a data generation control method, including:
  • a target level entry channel with an entry effect is formed at the entry location.
  • the location of the entrance is determined by using the ground surface in the current first interaction scene, and based on the surface environment information at the location of the entrance, the entrance special effect data for the entrance of the target level is determined; and then based on the location of the entrance and the special effect of the entrance data, and generate a level entry channel with corresponding special effects.
  • the user's visual experience can be enriched, and different level entry experiences can be provided for the user, which improves the fun of interaction.
  • the location of the entrance corresponding to the target event on the ground surface of the first interaction scene is determined, include:
  • the target entity on the surface meets a preset trigger condition, it is determined that the target trigger event is detected; wherein, the target entity is an entity on the surface that carries the relevant card entry identifier;
  • the entry location is determined based on the coordinate location of the target entity on the surface.
  • the target trigger event when it is detected that the target entity on the surface satisfies a preset trigger condition, it is determined that the target trigger event is detected, that is, the user is required to perform a corresponding operation on the target entity (for example, by controlling a virtual Only when the character attacks the target entity or performs corresponding operations on the target entity through the screen) can the target entity be triggered, which improves the fun of the interaction.
  • the method before the detecting that the target entity on the surface meets a preset trigger condition, the method further includes:
  • the target entity for opening the entrance of the target level is placed on the surface.
  • the position of the target entity is random and can be placed according to the user's needs, which can better meet the needs of the user. User needs, and due to the randomness of the placement position, can bring different level entry experiences to users.
  • the determining of the entrance effect data for the entrance of the target level based on the surface environment information at the entrance position includes:
  • the entrance effect data for the entrance of the target level is determined.
  • the entrance special effect data for the entrance of the target level is determined based on the surface morphology information and/or the surface vegetation information at the entrance position, so that the special effect displayed by the determined entrance effect data can be related to the current surface. Matching, and then improve the user's visual experience.
  • determining the entrance special effect data for the entrance of the target level based on the surface morphology information and/or the surface vegetation information at the entrance position including:
  • the entrance effect data for the target level is determined.
  • the entrance special effect data for the target level is determined based on the area information of the entrance position, which can avoid the occurrence of loopholes at the entrance position due to the mismatch between the special effect data and the area of the entrance position.
  • the method further includes:
  • the target level model after forming the target level entrance channel with entrance special effects, it is necessary to determine the target level model from multiple preset level models, and splicing the target level model and the target level channel. In this way, the user The virtual character can be controlled to enter the second interaction scene corresponding to the target level model through the channel, giving the user a different experience.
  • the determining a target level model from a plurality of preset level models, and splicing the target level model with the target level channel includes:
  • the state information of the entrance position determine the splicing state information between the target level model and the target level channel; wherein, the state information includes the orientation information of the entrance position;
  • the target level model and the target level channel are spliced.
  • the splicing effect between the target level model and the target level channel can be improved.
  • determining an entrance position corresponding to the target event based on the ground surface in the current first interaction scenario includes:
  • the location of the entrance corresponding to the target event is determined based on the ground surface in the current first interaction scene.
  • the subsequent steps are performed only when the current interaction stage and the interaction scene meet the preset conditions, which can improve resource utilization.
  • the entrance to the target level includes an entrance to an underground cave or an entrance to an underground labyrinth.
  • the entrance of the target level includes the entrance of the underground cave or the entrance of the underground labyrinth, that is, the target level is all under the surface, and then in the process of generating the entrance channel of the target level, the effect of destroying the surface is formed, which enriches the User's visual experience.
  • an embodiment of the present disclosure provides a data generation control device, including:
  • an entrance location determination module configured to determine an entry location corresponding to the target event based on the ground surface in the current first interaction scene when a target trigger event is detected
  • a special effect data determination module used for determining the entrance special effect data for the entrance of the target level based on the surface environment information at the entrance position;
  • a level entrance generation module configured to form a target level entrance channel with corresponding entrance effect at the entrance position based on the entrance position and the entrance effect data.
  • the entrance location determination module is specifically configured to:
  • the target entity on the surface meets the preset trigger condition, it is determined that the target trigger event is detected; the target entity carries the relevant card entry identifier;
  • an entrance position corresponding to the coordinate position of the target entity is determined.
  • the entrance position determination module is further specifically configured to:
  • the target entity for opening the target level entrance is placed on the surface.
  • the special effect data determination module is specifically configured to:
  • the entrance effect data for the entrance of the target level is determined.
  • the special effect data determination module is specifically configured to:
  • entry effect data for the target level is determined.
  • the special effect data determination module is specifically configured to:
  • the level entry generation module is specifically used for:
  • a target level entrance channel with a corresponding entrance effect is formed at the entrance position.
  • the level entry generation module is specifically configured to:
  • the state information includes orientation information of the entrance location
  • a target level entrance channel with a corresponding entrance effect is formed at the entrance position.
  • the entrance location determination module is specifically configured to:
  • the location of the entrance corresponding to the target event is determined based on the ground surface in the current first interaction scene.
  • the entrance to the target level includes an entrance to an underground cave or an entrance to an underground labyrinth.
  • embodiments of the present disclosure provide an electronic device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processing A bus communicates between the processor and the memory, and when the machine-readable instructions are executed by the processor, the steps of the data generation control method according to the first aspect are executed.
  • embodiments of the present disclosure provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the data generation control method according to the first aspect is executed A step of.
  • FIG. 1 shows a flowchart of a data generation control method provided by an embodiment of the present disclosure
  • FIG. 2 shows a flowchart of a method for determining an entrance location based on a detected target trigger event provided by an embodiment of the present disclosure
  • FIG. 3 shows a schematic diagram of placing a target entity based on a current first interaction scene according to an embodiment of the present disclosure
  • FIG. 4 shows a schematic diagram of a target entity provided by an embodiment of the present disclosure after being triggered
  • FIG. 5 shows a schematic diagram of special effects of an entrance provided by an embodiment of the present disclosure when the surface environment is a desert
  • FIG. 6 shows a schematic diagram of forming a target level channel provided by an embodiment of the present disclosure
  • FIG. 7 shows a flowchart of a method for determining entry effect data for a target level entry provided by an embodiment of the present disclosure
  • FIG. 8 shows a flowchart of another data generation control method provided by an embodiment of the present disclosure.
  • FIG. 9 shows a flowchart of a method for forming an entrance channel of a target level with corresponding entrance special effects provided by an embodiment of the present disclosure
  • FIG. 10 shows a schematic diagram of a second interaction scenario provided by an embodiment of the present disclosure
  • FIG. 11 shows a schematic structural diagram of a data generation control apparatus provided by an embodiment of the present disclosure
  • FIG. 12 shows a schematic diagram of an electronic device provided by an embodiment of the present disclosure.
  • the present disclosure provides a data generation control method. First, when a target triggering event is detected, an entrance position corresponding to the target event is determined based on the ground surface in the current first interaction scenario; The surface environment information at the entrance position determines the entrance effect data for the entrance of the target level; then, based on the entrance position and the entrance effect data, a target level entrance channel with the corresponding entrance effect is formed at the entrance position.
  • the location of the entrance is determined by using the ground surface in the current first interaction scene, and a level entrance channel with corresponding special effects is generated based on the surface environment information at the location of the entrance. Provides different level entry experiences and enhances the fun of interaction.
  • the execution body of the data generation control method provided by the embodiment of the present disclosure is generally a computer device with a certain computing capability.
  • the computer device includes, for example, a terminal device or a server or other processing device, and the terminal device may be a mobile device, a user terminal, a terminal, a handheld device, a computing device, a vehicle-mounted device, a wearable device, and the like.
  • the data generation control method may be implemented by the processor calling computer-readable instructions stored in the memory.
  • the data generation control method includes the following S101-103:
  • the first interaction scene is described by taking a game scene as an example. Specifically, it may be a first interaction scene in which a user plays a game using an electronic device (such as a mobile phone, a desktop computer, and a notebook computer) installed with game software.
  • an electronic device such as a mobile phone, a desktop computer, and a notebook computer
  • the surface in the game scene refers to the virtual surface created in the game, which is similar to the surface in the real environment, and refers to the surface of the earth, which can be of different types, such as rock surface, sandy surface, muddy surface, water surface, etc.
  • Target trigger events include, but are not limited to, specific operations of the user based on the screen of the electronic device (such as double-click operations, double-click operations, etc.), and target-triggered operations for the target interaction object based on the target first interaction scene.
  • the entrance location refers to the location of the passage for entering other interaction scenes from the first interaction scene.
  • the target entity 20 is an entity on the surface that carries a relevant card entrance identification (“identification a” in FIG. 3 ).
  • identity a a relevant card entrance identification
  • the expression form of the level entry identifier is not limited, and may be characters, numbers, letters, icons, patterns, etc., as long as the target entity 20 can be distinguished from other entities.
  • the location where the level entry identifier is set on the target entity 20 is not limited, and can be set according to specific requirements.
  • the user can control the virtual character 10 to place the target entity 20 on the ground.
  • the target entity 20 may be created and placed on the ground by the virtual character 10, or it may be pre-created and stored in a preset location (such as in the backpack of the virtual character 10).
  • the user controls The virtual character 10 can remove the target entity 20 from the backpack and place it on the ground.
  • the virtual character refers to a fictional character image in the game.
  • the target entity 20 is a living body, such as various animals, various monsters, and the like. In other embodiments, the target entity 20 may also be some plants or inanimate objects (such as wood, stone, etc.), which are not limited herein.
  • the placement posture of the target entity 20 on the ground surface is not limited, for example, it can be standing, prone or supine on the ground surface, and can also be in a curled or stretched state.
  • the target entity 20 when the target entity 20 is attacked by the virtual character 10 and the received attack satisfies the preset standard, it is determined that the target entity 20 satisfies the preset trigger condition. For example, when the virtual character 10 shoots towards the target entity and the number of shots satisfies a preset number of times (for example, 5 times), it is determined that the target entity 20 satisfies the preset trigger condition. For another example, when the target entity 20 is attacked to a preset level (for example, the target entity 20 loses 2 drops of blood after being attacked), it is determined that the target entity 20 satisfies the preset trigger condition.
  • a preset number of times for example, 5 times
  • the target entity 20 when the target entity 20 is attacked to a preset level (for example, the target entity 20 loses 2 drops of blood after being attacked), it is determined that the target entity 20 satisfies the preset trigger condition.
  • S1013 Determine the entrance position based on the coordinate position of the target entity on the surface.
  • the entrance position 30 corresponding to the coordinate position of the target entity 20 may be determined based on the coordinate position of the target entity 20 on the ground surface.
  • a three-dimensional coordinate system corresponding to the interactive scene can be established when constructing the interactive scene.
  • a corresponding coordinate system can be established by taking any point on the ground surface as the coordinate origin, so that when the target entity 20 is placed at the corresponding position on the ground surface, the corresponding coordinate position can be determined. That is, the coordinate position of the target entity 20 on the ground surface is the lower virtual coordinate position of the game scene.
  • the entrance position 30 corresponds to the position of the target entity 30 , which means that the coordinate position of the target entity 20 on the ground surface and the coordinate range of the entrance position 30 on the ground surface at least partially overlap. That is, the coordinate range of the entrance position 30 may completely include the coordinate range of the target entity 20; it may also be that the coordinate range of the target entity 20 completely includes the coordinate range of the entrance position 30; or the coordinate range of the entrance position 30 may be the same as There is an intersection of the coordinate ranges of the target entity 20 .
  • the entry location 30 corresponds to the location of the target entity 30 , which means that there is a preset association relationship between the entry location 30 and the location of the target entity 30 .
  • the preset association relationship may be set according to specific actual needs, which is not limited herein.
  • the association relationship is that the entrance position 30 is located in the right front of the target entity 30 and the distance from the target entity 20 is greater than the preset distance.
  • a target triggering event when a target triggering event is detected, it is also judged whether the current interaction stage and the interaction scene meet the preset conditions; if the preset conditions are met, based on the ground surface of the current first interaction scene The entry position corresponding to the target event. In this way, it is avoided to perform the above steps in a scenario that does not meet the conditions, thereby improving the utilization of resources.
  • step S1011 may be omitted, and the target entity 20 may also be pre-placed on the ground, and the user does not need to control the avatar 10 to place it, but the user needs to control the avatar 10 to find these pre-placed objects. the target entity 20 and trigger it.
  • a plurality of target entities 20 may be preset at different positions on the ground surface to represent different entrance positions.
  • the target entity 20 carrying the relevant card entry identification can also be confused by placing other entities that do not carry the relevant card entry identification in advance, and the appearances of the other entities and the target entity are similar.
  • other entities that do not carry the relevant entry mark meet the preset trigger conditions other entities can only be made to die or disappear, and the corresponding target level will not be opened, which can not only increase the difficulty of the game to motivate users, but also It can further improve the fun of the game.
  • the surface environment information includes surface morphology information and/or surface vegetation information, and entry effect data for the entrance of the target level may be determined based on the surface morphology information and/or the surface vegetation information at the entry location.
  • the surface morphology information includes altitude information and terrain information; wherein, the terrain information refers to the undulating height and steepness of the surface morphology, including the absolute height and relative height difference of the surface morphology or the steepness of the slope.
  • the green special effect data similar to the color of the grass can be determined; and when the surface vegetation information is trees or flowers, the special effect data related to the color and content of the trees or flowers can be determined.
  • the special effect data related to the desert can be determined; if the current surface environment is a lake, it is determined that the special effect data with water is the entrance special effect data of the entrance of the target level. In this way, the displayed special effect can be matched with the current surface environment, and the visual effect of the special effect can be improved.
  • the corresponding special effect data may be determined only based on the surface morphological information or only the surface vegetation information, or the two factors may be combined to determine the corresponding special effect data, which is not limited here.
  • FIG. 5 it is a schematic diagram of the special effects of the entrance when the surface environment is a desert.
  • the special effect data related to the desert is determined based on the current surface environment, so that the entrance exhibits the effect of quicksand, and the surface sags during the flow of quicksand, thereby gradually forming a channel leading to the underground.
  • the quicksand exhibits the effect of slow subphase flow.
  • S103 Determine entry effect data for the target level according to the area information of the entry location.
  • the target level entrance includes an underground cave entrance or an underground labyrinth entrance.
  • a target level entrance channel S leading to the underground with the effect of destroying the surface can be formed.
  • the location of the entrance is determined by using the ground surface in the current first interaction scene, and based on the surface environment information at the location of the entrance, the entrance special effect data for the entrance of the target level is determined; and then based on the location of the entrance and the special effect of the entrance data, and generate a level entry channel with corresponding special effects.
  • the user's visual experience can be enriched, and different level entry experiences can be provided for the user, which improves the fun of interaction.
  • S1021 Determine area information of the entrance location based on the surface morphology information and/or surface vegetation information at the entrance location.
  • the area information of the entrance location is related to the surface morphology information and/or the surface vegetation information.
  • the area of a larger entrance location can be determined, that is, even if the entrance area is larger, it will not affect; if the current surface morphology information is jungle , and there are many vegetation in the jungle.
  • the area of the larger entrance is determined, more vegetation will be destroyed, and some vegetation cannot be destroyed. Therefore, it is necessary to determine the area of the smaller entrance. .
  • S1022 Determine entrance special effect data for the target level according to the area information of the entrance position.
  • the difference in the area information of the entrance position corresponds to different special data.
  • the area of the current entrance location is 10 square meters, and if the corresponding special effects displayed by the special effect data can only cover 8 square meters, it will lead to some entrance holes and no special effects, which will affect the user's visual experience. Therefore, according to the area information of the current entrance position, the special effect displayed by the entrance effect data of the determined target level needs to cover at least the entire entrance position.
  • the data generation control method includes the following S201-205:
  • step S201 is similar to step S101, and details are not repeated here.
  • step S202 is similar to step S102, and details are not repeated here.
  • step S203 is similar to step S103, and details are not repeated here.
  • the game will involve many different levels, so multiple level models are pre-established when the game is built, so that the corresponding game scene can be generated according to the pre-set level model during the game running. Therefore, in this embodiment, after the target level entry channel is formed, the target level model needs to be determined from a plurality of preset level models, and the target level model and the target level channel are spliced together.
  • this step may specifically include the following S2041-2043:
  • S2041 based on the current interaction scene, determine a target level model from a plurality of preset level models.
  • different target levels may be matched according to different current interaction scenes. For example, if the current interaction scene is a desert treasure hunt scene, the target level model corresponding to the scene can be determined; if the current interaction scene is a jungle exploration scene, the target level model corresponding to the scene can be determined.
  • S2042 according to the state information of the entrance position, determine the splicing state information between the target level model and the target level channel; wherein, the state information includes orientation information of the entrance position.
  • the orientation of the entrance position may be different, and the state of the target level model needs to be adjusted according to the orientation of the current entrance position.
  • the vector and the normal vector of the target level model are used to determine the splicing state information of the target level model, so that the target level model can be seamlessly connected to the entrance position.
  • the splicing state information includes splicing orientation information, splicing gap processing information, and the like.
  • the target level model can be spliced with the target level channel.
  • the user can enter the second interaction scene corresponding to the target level model, and then continue the game process under the second interaction scene. .
  • the writing order of each step does not mean a strict execution order but constitutes any limitation on the implementation process, and the specific execution order of each step should be based on its function and possible Internal logic is determined.
  • the embodiment of the present disclosure also provides a data generation control device corresponding to the data generation control method.
  • a data generation control device corresponding to the data generation control method.
  • the implementation of the apparatus reference may be made to the implementation of the method, and the repetition will not be repeated.
  • the data generation control apparatus includes:
  • an entrance location determination module 501 configured to determine an entrance location corresponding to the target event based on the ground surface in the current first interaction scene when a target trigger event is detected;
  • the special effect data determination module 502 is used for determining the entrance special effect data for the entrance of the target level based on the surface environment information at the entrance position;
  • the level entry generating module 503 is configured to form a target level entry channel with corresponding entry special effects at the entry location based on the entry location and the entry effect data.
  • the entrance position determination module 501 is specifically configured to:
  • the target entity on the surface meets the preset trigger condition, it is determined that the target trigger event is detected; the target entity carries the relevant card entry identifier;
  • an entrance position corresponding to the coordinate position of the target entity is determined.
  • the entrance position determination module 501 is further specifically configured to:
  • the target entity for opening the target level entrance is placed on the surface.
  • the special effect data determination module 502 is specifically configured to:
  • the entrance effect data for the entrance of the target level is determined.
  • the special effect data determination module 502 is specifically configured to:
  • entry effect data for the target level is determined.
  • the special effect data determination module 502 is specifically configured to:
  • the level entry generation module 503 is specifically used for:
  • a target level entry channel with a corresponding entry effect is formed at the entry location.
  • the level entry generation module 503 is specifically configured to:
  • the state information includes orientation information of the entrance location
  • a target level entrance channel with a corresponding entrance effect is formed at the entrance position.
  • the entrance position determination module 501 is specifically configured to:
  • the location of the entrance corresponding to the target event is determined based on the ground surface in the current first interaction scene.
  • the entrance to the target level includes an entrance to an underground cave or an entrance to an underground labyrinth.
  • a schematic structural diagram of an electronic device 700 provided by an embodiment of the present disclosure includes a processor 701 , a memory 702 , and a bus 703 .
  • the memory 702 is used to store the execution instructions, including the memory 7021 and the external memory 7022; the memory 7021 here is also called the internal memory, which is used to temporarily store the operation data in the processor 701 and the data exchanged with the external memory 7022 such as the hard disk,
  • the processor 701 exchanges data with the external memory 7022 through the memory 7021 .
  • the memory 702 is specifically used to store the application program code for executing the solution of the present application, and the execution is controlled by the processor 701 . That is, when the electronic device 700 is running, the processor 701 communicates with the memory 702 through the bus 703, so that the processor 701 executes the application code stored in the memory 702, thereby executing the method described in any of the foregoing embodiments.
  • the memory 702 may be, but not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), or Erasable Programmable Read-Only Memory (EPROM), Electrical Erasable Programmable Read-Only Memory (EEPROM), etc.
  • RAM Random Access Memory
  • ROM read only memory
  • PROM programmable read only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electrical Erasable Programmable Read-Only Memory
  • the processor 701 may be an integrated circuit chip with signal processing capability.
  • the above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC) , Field Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA Field Programmable Gate Array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 700 .
  • the electronic device 700 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • Embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the data generation control method in the above method embodiment are executed.
  • the storage medium may be a volatile or non-volatile computer-readable storage medium.
  • Embodiments of the present disclosure further provide a computer program product, where the computer program product carries program codes, and the instructions included in the program codes can be used to execute the steps of the data generation control method in the foregoing method embodiments.
  • the computer program product carries program codes
  • the instructions included in the program codes can be used to execute the steps of the data generation control method in the foregoing method embodiments.
  • the above-mentioned computer program product can be specifically implemented by means of hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium.
  • the computer software products are stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Toys (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Machine Translation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开提供了一种数据生成控制方法、装置、电子设备及存储介质,该数据生成控制方法包括:在第一交互场景检测到目标触发事件的情况下,确定第一交互场景的地表上与目标事件对应的入口位置;基于入口位置的地表环境信息,确定针对目标关卡入口的入口特效数据;基于入口位置以及入口特效数据,在入口位置形成具有入口特效的目标关卡入口通道。本申请实施例,能够提升交互的趣味性以及用户的体验感。

Description

数据生成控制方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请基于申请号为202110080282.0、申请日为2021年01月21日,名称为“数据生成控制方法、装置、电子设备及存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及计算机软件技术领域,具体而言,涉及一种数据生成控制方法、装置、电子设备和存储介质。
背景技术
随着互联网技术的发展,各种各样的特效展示效果层出不穷。例如,在互联网游戏中,通常会在游戏的不同阶段设定不同的关卡,以丰富用户的视觉体验。然而,现有的游戏中,玩家进入不同的关卡的方式大致相同,这导致玩家在进入不同的关卡时的体验大致相同,进而降低了游戏的趣味性和体验感。
发明内容
本公开实施例至少提供一种数据生成控制方法、装置、电子设备及存储介质。
第一方面,本公开实施例提供了一种数据生成控制方法,包括:
在第一交互场景检测到目标触发事件的情况下,确定所述第一交互场景的地表上与所述目标事件对应的入口位置;
基于所述入口位置的地表环境信息,确定针对目标关卡入口的入口特效数据;
基于所述入口位置以及所述入口特效数据,在所述入口位置形成具有入口特效的目标关卡入口通道。
本公开实施例中,通过当前第一交互场景下的地表来确定入口位置,并基于入口位置处的地表环境信息,确定针对目标关卡入口的入口特效数据;然后基于该入口位置以及所述入口特效数据,生成具有相应特效的关卡入口通道。如此,可以丰富用户的视觉体验,并为用户提供不同的关卡入口体验,提升了交互的趣味性。
根据第一方面,在一种可能的实施方式中,所述在第一交互场景检测到目标触发事件的情况下,确定所述第一交互场景的地表上与所述目标事件对应的入口位置,包括:
在检测到所述地表上的目标实体满足预设的触发条件下,确定检测到所述目标触发事件;其中,所述目标实体为所述地表上携带有关卡入口标识的实体;
基于所述目标实体在所述地表上的坐标位置,确定所述入口位置。
本公开实施例中,在检测到所述地表上的目标实体满足预设的触发条件下,确定检测到所述目标触发事件,也即,需要用户对目标实体进行相应的操作(比如通过控制虚拟角色对目标实体进行攻击或者通过屏幕对目标实体进行相应的操作),才能触发该目标实体,提高了交互的趣味性。
根据第一方面,在一种可能的实施方式中,所述检测到所述地表上的目标实体满足预设的触发条件之前,还包括:
响应针对所述目标实体的放置操作,在所述地表上放置用于打开所述目标关卡入口的所述目标实体。
本公开实施例中,由于该目标实体是响应针对所述地表的目标实体的放置操作而放置的,也即,该目标实体的位置具有随机性,可以根据用户的需求而放置,可以更好满足用户需求,且由于放置位置的随机性,可以为用户带来不同的关卡入口体验。
根据第一方面,在一种可能的实施方式中,所述基于所述入口位置处的地表环境信息,确定针对目标关卡入口的入口特效数据,包括:
基于所述入口位置处的地表形态信息和/或地表植被信息,确定针对目标关卡入口的入口特效数据。
本公开实施例中,基于所述入口位置处的地表形态信息和/或地表植被信息,确定针对目标关卡入口的入口特效数据,可以使得所确定的入口特效数据所展示的特效与该当前地表相匹配,进而提升用户的视觉体验。
根据第一方面,在一种可能的实施方式中,所述基于所述入口位置处的地表形态信息和/或地表植被信息,确定针对目标关卡入口的入口特效数据,包括:
基于所述入口位置处的地表形态信息和/或地表植被信息,确定所述入口位置的面积信息;
根据所述入口位置的面积信息,确定针对所述目标关卡的入口特效数据。
本公开实施例中,基于所述入口位置的面积信息,确定针对所述目标关卡的入口特效数据,可以避免因特效数据与入口位置的面积不匹配,而导致入口位置处存在漏洞的情况发生。
根据第一方面,在一种可能的实施方式中,在形成具有入口特效的目标关卡入口通道之后,所述方法还包括:
从多个预设的关卡模型中确定目标关卡模型,并将所述目标关卡模型与所述目标关卡通道进行拼接;
在虚拟角色移动至所述目标关卡通道的尽头时,展现与所述目标关卡模型对应的第二交互场景。
本公开实施例中,在形成具有入口特效的目标关卡入口通道之后还需要从多个预设的关卡模型中确定目标关卡模型,并将目标关卡模型与所述目标关卡通道进行拼接,如此,用户可以控制虚拟角色通过该通道进入与该目标关卡模型对应的第二交互场景,给用户以不同的体验。
根据第一方面,在一种可能的实施方式中,所述从多个预设的关卡模型中确定目标关卡模型,并将所述目标关卡模型与所述目标关卡通道进行拼接,包括:
基于当前交互场景,从多个预设关卡模型中确定目标关卡模型;
根据所述入口位置的状态信息,确定所述目标关卡模型与所述目标关卡通道之间的拼接状态信息;其中,所述状态信息包括所述入口位置的朝向信息;
按照所述拼接状态信息,将所述目标关卡模型与所述目标关卡通道进行拼接。
本公开实施例中,可以提高目标关卡模型与所述目标关卡通道之间的拼接效果。
根据第一方面,在一种可能的实施方式中,所述在检测到目标触发事件的情况下,基于当前第一交互场景下的地表确定与所述目标事件对应的入口位置,包括:
在检测到目标触发事件的情况下,判断当前交互阶段以及交互场景是否满足预设条件;
若满足所述预设条件,基于当前第一交互场景下的地表确定与所述目标事件对应的入口位置。
本公开实施例中,只有在当前交互阶段以及交互场景满足预设条件的情况下,才执行后续步骤,可以提高资源利用率。
根据第一方面,在一种可能的实施方式中,所述目标关卡入口包括地下洞穴入口或者地下迷宫入口。
本公共开实施中,由于目标关卡入口包括地下洞穴入口或者地下迷宫入口,也即该目标关卡均在地表之下,进而在生成该目标关卡入口通道的过程中,形成破坏地表的效果,丰富了用户的视觉体验。
第二方面,本公开实施例提供了一种数据生成控制装置,包括:
入口位置确定模块,用于在检测到目标触发事件的情况下,基于当前第一交互场景下的地表确定与所述目标事件对应的入口位置;
特效数据确定模块,用于基于所述入口位置处的地表环境信息,确定针对目标关卡入口的入口特效数据;
关卡入口生成模块,用于基于所述入口位置以及所述入口特效数据,在所述入口位置处形成具有相应入口特效的目标关卡入口通道。
根据第二方面,在一种可能的实施方式中,所述入口位置确定模块具体用于:
在检测到所述地表上的目标实体满足预设的触发条件下,确定检测到所述目标触发事件;所述目标实体携带有关卡入口标识;
基于所述目标实体位于所述地表的坐标位置,确定与所述目标实体的坐标位置相对应的入口位置。
根据第二方面,在一种可能的实施方式中,所述入口位置确定模块还具体用于:
响应针对所述地表的目标实体的放置操作,在所述地表上放置用于打开所述目标关卡入口的所述目标实体。
根据第二方面,在一种可能的实施方式中,所述特效数据确定模块具体用于:
基于所述入口位置处的地表形态信息和/或地表植被信息,确定针对目标关卡入口的入口特效数据。
根据第二方面,在一种可能的实施方式中,所述特效数据确定模块具体用于:
基于所述入口位置处的地表形态信息和/或地表植被信息,确定所述入口位置的面积信息;
基于所述入口位置的面积信息,确定针对所述目标关卡的入口特效数据。
根据第二方面,在一种可能的实施方式中,所述特效数据确定模块具体用于:
基于所述入口位置处的地表环境信息,确定针对所述入口位置的目标关卡模型以及针对所述目标关卡入口的入口特效数据;
所述关卡入口生成模块具体用于:
基于所述入口位置、所述目标关卡模型以及所述入口特效数据,在所述入口位置处形成具有相应入口特效的目标关卡入口通道。
根据第二方面,在一种可能的实施方式中,所述关卡入口生成模块具体用于:
基于所述地表形态信息,确定所述入口位置的状态信息;所述状态信息包括所述入口位置的朝向信息;
基于所述入口位置的状态信息,确定所述目标关卡模型的拼接状态信息;
基于所述入口位置的状态信息、所述目标关卡模型的拼接状态信息以及所述入口特效数据,在所述入口位置处形成具有相应入口特效的目标关卡入口通道。
根据第二方面,在一种可能的实施方式中,所述入口位置确定模块具体用于:
在检测到目标触发事件的情况下,判断当前交互阶段以及第一交互场景是否满足预设条件;
若满足所述预设条件,基于当前第一交互场景下的地表确定与所述目标事件对应的入口位置。
根据第二方面,在一种可能的实施方式中,所述目标关卡入口包括地下洞穴入口或者地下迷宫入口。
第三方面,本公开实施例提供了一种电子设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如第一方面所述的数据生成控制方法的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如第一方面所述的数据生成控制方法的步骤。
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。
附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。
图1示出了本公开实施例所提供的一种数据生成控制方法的流程图;
图2示出了本公开实施例所提供的一种基于检测到的目标触发事件确定入口位置的方法流程图;
图3示出了本公开实施例所提供的一种基于当前第一交互场景放置目标实体后的示意图;
图4示出了本公开实施例所提供的一种目标实体被触发后的示意图;
图5示出了本公开实施例所提供的一种为地表环境为沙漠时的入口的特效示意图;
图6示出了本公开实施例所提供的一种形成目标关卡通道的示意图;
图7示出了本公开实施例所提供的一种确定针对目标关卡入口的入口特效数据的方法流程图;
图8示出了本公开实施例所提供的另一种数据生成控制方法的流程图;
图9示出了本公开实施例所提供的一种形成具有相应入口特效的目标关卡入口通道的方法流程图;
图10示出了本公开实施例所提供的一种第二交互场景的示意图;
图11示出了本公开实施例所提供的一种数据生成控制装置的结构示意图;
图12示出了本公开实施例所提供的一种电子设备的示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
本文中术语“和/或”,仅仅是描述一种关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。
随着互联网技术的发展,各种各样的特效展示效果层出不穷。例如,在互联网游戏中,通常会在游戏的不同阶段设定不同的关卡,以丰富用户的视觉体验。然而,现有的游戏中,玩家进入不同的关卡的方式大致相同,这导致玩家在进入不同的关卡时的体验大致相同,进而降低了游戏的趣味性和体验感。
基于上述研究,本公开提供了一种数据生成控制方法,首先在检测到目标触发事件的情况下,基于当前第一交互场景下的地表确定与所述目标事件对应的入口位置;然后基于所述入口位置处的地表环境信息,确定针对目标 关卡入口的入口特效数据;接着基于所述入口位置以及所述入口特效数据,在所述入口位置处形成具有相应入口特效的目标关卡入口通道。本公开实施例中,通过当前第一交互场景下的地表来确定入口位置,并基于入口位置处的地表环境信息生成具有相应特效的关卡入口通道,如此,可以丰富用户的视觉体验,并为用户提供不同的关卡入口体验,提升了交互的趣味性。
为便于对本实施例进行理解,首先对本公开实施例所公开的一种数据生成控制方法进行详细介绍,本公开实施例所提供的数据生成控制方法的执行主体一般为具有一定计算能力的计算机设备,该计算机设备例如包括:终端设备或服务器或其它处理设备,终端设备可以为移动设备、用户终端、终端、手持设备、计算设备、车载设备、可穿戴设备等。在一些可能的实现方式中,该数据生成控制方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。
参见图1所示,为本公开实施例提供的一种数据生成控制方法的流程图,该数据生成控制方法包括以下S101~103:
S101,在第一交互场景检测到目标触发事件的情况下,确定所述第一交互场景的地表上与所述目标事件对应的入口位置。
本实施方式中,第一交互场景以游戏场景为例来进行说明,具体地,可以是用户使用安装有游戏软件的电子设备(比如手机、台式电脑、笔记本电脑)进行游戏的第一交互场景。
其中,游戏场景中的地表是指在游戏所虚构的虚拟地表,其与现实环境中的地表类似,是指地球的表面,可以具有不同的类型,比如岩石地表、沙质地表、泥质地表、水质地表等。
目标触发事件包括但不限于用户基于电子设备的屏幕的特定操作(比如双击操作、连击操作等)、以及基于目标第一交互场景下的针对目标交互对象的目标触发操作等。
此外,入口位置是指用于从第一交互场景进入其他交互场景的通口的位置。
具体地,参见图2所示,针对上述S101,在在第一交互场景检测到目标触发事件的情况下,确定所述第一交互场景的地表上与所述目标事件对应的入口位置时,可以包括以下S1011~1013:
S1011,响应针对所述目标实体的放置操作,在所述地表上放置用于打开所述目标关卡入口的所述目标实体。
示例性地,参见图3所示,本实施方式中,所述目标实体20为所述地表上携带有关卡入口标识(如图3中的“标识a”)的实体。应理解,关卡入口标识的表现形式不做限定,可以是文字、数字、字母、图标、图案等,只要能将目标实体20与其他实体进行区分即可。此外,该关卡入口标识设置于目标实体20上的位置也不限定,可以根据具体需求而进行设定。
在该第一交互场景下,用户可以控制虚拟角色10放置目标实体20于地表上。其中,该目标实体20可以是虚拟角色10创建后放置于地表上的,也可以是预先创建好的并存放于预设位置(比如虚拟角色10的背包内),在需要出现的时候,用户控制虚拟角色10将该目标实体20从背包内移出并放置于地表上即可。其中,虚拟角色是指游戏中虚构的人物形象。
本实施方式中,目标实体20为具有生命的活体,例如可以是各类动物、各类怪兽等。其他实施方式中,目标实体20也可以是一些植物或者没有生命的物体(比如木头、石头等),在此不做限定。
另外,目标实体20在地表的放置姿态不做限定,例如,可以站立、俯卧或仰卧于地表上,还可以是蜷缩或者舒展的状态。
S1012,在检测到所述地表上的目标实体满足预设的触发条件下,确定检测到所述目标触发事件。
示例性地,参见图4所示,在目标实体20受到虚拟角色10的攻击,且所接收的攻击满足预设标准时,确定目标实体20满足预设的触发条件。例如,当虚拟角色10朝向目标实体射击,且射击次数满足预设次数(比如5次)时,确定目标实体20满足预设的触发条件。又例如,还可以是目标实体20受到攻击的程度达到预设程度(比如目标实体20受到攻击后损失2滴血)时,确定目标实体20满足预设的触发条件。
S1013,基于所述目标实体在所述地表上的坐标位置,确定所述入口位置。
示例性地,可以基于目标实体20位于地表的坐标位置,确定与所述目标实体20的坐标位置相对应的入口位置30。具体地,由于每个交互场景均是预先构建好的,因此可以在构建交互场景时建立与该交互场景相对应的三维坐标系。例如,可以以地表上的任意一点为坐标原点建立相应的坐标系,如 此,当目标实体20放置于地表的相应位置后,即可确定与之相对应的坐标位置。也即,该目标实体20位于地表的坐标位置为该游戏场景的下虚拟坐标位置。
本实施方式中,入口位置30与目标实体30的位置相对应,是指目标实体20位于地表的坐标位置与入口位置30位于地表上的坐标范围至少部分重合。也即,可以是入口位置30的坐标范围完全包含所述目标实体20的坐标范围;还可以是目标实体20的坐标范围完全包含入口位置30的坐标范围;也可以是入口位置30的坐标范围与目标实体20的坐标范围存在交集。
应理解,其他实施方式中,入口位置30与目标实体30的位置相对应,是指入口位置30与目标实体30的位置之间存在预设的关联关系。其中,该预设的关联关系可以根据具体的实际需求而设定,在此不做限定。例如,该关联关系为入口位置30位于目标实体30的右前方,且与目标实体20之间的距离大于预设距离。
此外,需要说明的是,在游戏的过程中,只有在特定的阶段以及特定的游戏场景下,才存在目标关卡。例如,在游戏的第一阶段是没有目标关卡的,此时,即使检测到目标触发事件,但不需要执行后续步骤。又或者,虽然在特定的阶段,但当前的游戏场景(比如岩石场景)并未设置目标关卡,也不需要执行后续步骤。
因此,在一些实施方式中,在检测到目标触发事件的情况下,还判断当前交互阶段以及交互场景是否满足预设条件;若满足所述预设条件,基于当前第一交互场景下地表确定与所述目标事件对应的入口位置。如此,以避免在不符合条件的场景下执行上述步骤,进而可以提高资源的利用率。
另外,在另一些实施方式中,步骤S1011可以省略,目标实体20也可以是预先放置在地表上的,不需要用户控制虚拟角色10来放置,但需要用户控制虚拟角色10去发现这些预先放置好的目标实体20,并进行触发。
可以理解,地表上可能存在多个实体,比如可以是各类动物(恐龙、老虎、狮子等),但只有其中部分携带有关卡入口标识,因此需要用户去发现携带有关卡入口标识的目标实体20,进而对其触发,使其满足预设的触发条件,即可启动进入目标关卡的流程。
例如,为了增加游戏的趣味性,可以将多个目标实体20预先设置在地表的不同位置处,以代表不同的入口位置。此外,还可以通过预先放置未携带有关卡入口标识的其他实体来对携带有关卡入口标识的目标实体20进行混淆,且其他实体和目标实体的外貌相似。但在未携带有关卡入口标识的其他实体满足预设的触发条件时,只能使得其他实体死亡或者消失,而并不会打开相应的目标关卡,如此不仅可以提升游戏的难度来激发用户,还可以进一步提高游戏的趣味性。
S102,基于所述入口位置处的地表环境信息,确定针对目标关卡入口的入口特效数据。
示例性地,地表环境信息包括地表形态信息和/或地表植被信息,可以基于所述入口位置处的地表形态信息和/或地表植被信息,确定针对目标关卡入口的入口特效数据。其中,地表形态信息包括海拔信息和地势信息;其中,地势信息是指地表形态起伏的高低与险峻的态势,包括地表形态的绝对高度和相对高差或坡度的陡缓程度。
具体地,在地表形态较为险峻时,可以确定视觉效果较为刺激的特效数据;而当地表形态较为平缓时,则可确定视觉效果较为平缓的特效数据,如此可以使得所确定的特效数据的展示效果与地表形态相匹配,进一步提升用户的视觉体验。
在地表植被信息为青草时,则可以确定与青草颜色相近的绿色特效数据;而当地表植被信息为树木或者花朵事,则可以确定与树木或者花朵的颜色以及内容相关的特效数据。例如,当地表环境为沙漠的情况下,可以确定与该沙漠相关的特效数据;若当前地表环境为湖面,则确定有水的特效数据针对目标关卡入口的入口特效数据。如此可以使得所展示的特效与当前地表环境相匹配,提高特效的视觉效果。
应理解,在确定特效数据时,可以只依据地表形态信息也可以只依据地表植被信息,也可以结合二者的因素共同确定相应的特效数据,在此不做限定。
参见图5所示,为地表环境为沙漠时的入口的特效示意图。本实施方式中,基于当前地表环境确定与沙漠相关的特效数据,使得该入口呈现流沙的效果,在流沙流动的过程中地表发生下陷,进而逐渐形成通向地下的通道。 此外,由于此处的地表形态较为平缓,该流沙呈现可以缓慢的相下流动的效果。
S103,根据所述入口位置的面积信息,确定针对所述目标关卡的入口特效数据。
示例性地,所述目标关卡入口包括地下洞穴入口或者地下迷宫入口。如此,参见图6所示,基于该地表上的入口位置以及入口特效数据,可以形成破坏地表的效果的通向地下的目标关卡入口通道S。
本公开实施例中,通过当前第一交互场景下的地表来确定入口位置,并基于入口位置处的地表环境信息,确定针对目标关卡入口的入口特效数据;然后基于该入口位置以及所述入口特效数据,生成具有相应特效的关卡入口通道。如此,可以丰富用户的视觉体验,并为用户提供不同的关卡入口体验,提升了交互的趣味性。
针对上述S102,在基于所述入口位置的地表环境信息,确定针对目标关卡入口的入口特效数据时,如图7所示,可以包括以下S1021~1022:
S1021,基于所述入口位置处的地表形态信息和/或地表植被信息,确定所述入口位置的面积信息。
示例性地,所述入口位置的面积信息与地表形态信息和/或地表植被信息相关。例如,若当前地表形态信息为沙漠,该沙漠上没有植被,因此可以确定较大的入口位置的面积,也即,即使将入口面积较大,也不会有影响;若当前地表形态信息为丛林,而丛林里面的植被较多,此时若确定较大的入口位置的面积,则会破坏较多的植被,且有些植被是不能被破坏的,因此,则需要确定较小的入口位置的面积。
S1022,根据所述入口位置的面积信息,确定针对所述目标关卡的入口特效数据。
可以理解,入口位置的面积信息的不同对应不同的特下数据。例如,若当前的入口位置的面积为10㎡,而若特效数据所展示的相应的特效只能覆盖8㎡,则会导致部分入口漏洞,没有特效,进而影响用户的视觉体验。因此,需要根据当前入口位置的面积信息,使得所确定的目标关卡的入口特效数据所展示的特效至少覆盖全所述入口位置。
参见图8所示,为本公开实施例提供的另一种数据生成控制方法的流程图,该数据生成控制方法包括以下S201~205:
S201,在检测到目标触发事件的情况下,基于当前第一交互场景下的地表确定与所述目标事件对应的入口位置。
其中,步骤S201与步骤S101类似,在此不再赘述。
S202,基于所述入口位置的地表环境信息,确定针对目标关卡入口的入口特效数据。
其中,步骤S202与步骤S102类似,在此不再赘述。
S203,基于所述入口位置以及所述入口特效数据,在所述入口位置形成具有入口特效的目标关卡入口通道。
其中,步骤S203与步骤S103类似,在此不再赘述。
S204,从多个预设的关卡模型中确定目标关卡模型,并将所述目标关卡模型与所述目标关卡通道进行拼接。
可以理解,在实际应用中,游戏会涉及到很多不同关卡,因此才构建游戏时会预先建立多个关卡模型,以便在游戏运行中根据预先设定好的关卡模型生成对应的游戏场景即可。因此,本实施方式中,在形成目标关卡入口通道后,需要从多个预设的关卡模型中确定目标关卡模型,并将所述目标关卡模型与所述目标关卡通道进行拼接。
示例地,参见图9所示,该步骤具体可以包括以下S2041~2043:
S2041,基于当前交互场景,从多个预设关卡模型中确定目标关卡模型。
示例性地,为了使得交互场景之间的过渡顺畅,以及为用户提供不同的体验,可以根据当前交互场景的不同匹配不同的目标关卡。例如,若当前交互场景为荒漠寻宝场景,则可以确定与该场景相对应的目标关卡模型;若当前交互场景为丛林探险场景,则可以确定与该场景相对应的目标关卡模型。
S2042,根据所述入口位置的状态信息,确定所述目标关卡模型与所述目标关卡通道之间的拼接状态信息;其中,所述状态信息包括所述入口位置的朝向信息。
示例地,由于地表形态可能是水平的,也可能是一个倾斜的表面,因此,入口位置的朝向可能不同,需要针对当前入口位置的朝向调整目标关卡模型的状态,例如,可以通过入口位置的法向量以及目标关卡模型的法向量来确 定目标关卡模型的拼接状态信息,以使得目标关卡模型可以和入口位置无缝衔接。其中,所述拼接状态信息包括拼接朝向信息、拼接缝隙处理信息等。
S2043,按照所述拼接状态信息,将所述目标关卡模型与所述目标关卡通道进行拼接。
示例性地,按照所述拼接状态信息,将所述目标关卡模型与所述目标关卡通道进行拼接即可。
S205,在虚拟角色移动至所述目标关卡通道的尽头时,展现与所述目标关卡模型对应的第二交互场景。
示例地,参见图10所示,用户控制虚拟角色通过目标关卡通道S(参图6)后,即可进入目标关卡模型所对应的第二交互场景,进而继续该第二交互场景下的游戏进程。
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。
基于同一技术构思,本公开实施例中还提供了与数据生成控制方法对应的数据生成控制装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述数据生成控制方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。
参照图11所示,为本公开实施例提供的一种数据生成控制装置500的示意图,该数据生成控制装置包括:
入口位置确定模块501,用于在检测到目标触发事件的情况下,基于当前第一交互场景下的地表确定与所述目标事件对应的入口位置;
特效数据确定模块502,用于基于所述入口位置处的地表环境信息,确定针对目标关卡入口的入口特效数据;
关卡入口生成模块503,用于基于所述入口位置以及所述入口特效数据,在所述入口位置处形成具有相应入口特效的目标关卡入口通道。
在一种可能的实施方式中,所述入口位置确定模块501具体用于:
在检测到所述地表上的目标实体满足预设的触发条件下,确定检测到所述目标触发事件;所述目标实体携带有关卡入口标识;
基于所述目标实体位于所述地表的坐标位置,确定与所述目标实体的坐标位置相对应的入口位置。
在一种可能的实施方式中,所述入口位置确定模块501还具体用于:
响应针对所述地表的目标实体的放置操作,在所述地表上放置用于打开所述目标关卡入口的所述目标实体。
在一种可能的实施方式中,所述特效数据确定模块502具体用于:
基于所述入口位置处的地表形态信息和/或地表植被信息,确定针对目标关卡入口的入口特效数据。
在一种可能的实施方式中,所述特效数据确定模块502具体用于:
基于所述入口位置处的地表形态信息和/或地表植被信息,确定所述入口位置的面积信息;
基于所述入口位置的面积信息,确定针对所述目标关卡的入口特效数据。
在一种可能的实施方式中,所述特效数据确定模块502具体用于:
基于所述入口位置处的地表环境信息,确定针对所述入口位置的目标关卡模型以及针对所述目标关卡入口的入口特效数据;
所述关卡入口生成模块503具体用于:
基于所述入口位置、所述目标关卡模型以及所述入口特效数据,在所述入口位置处形成具有相应入口特效的目标关卡入口通道。
在一种可能的实施方式中,所述关卡入口生成模块503具体用于:
基于所述地表形态信息,确定所述入口位置的状态信息;所述状态信息包括所述入口位置的朝向信息;
基于所述入口位置的状态信息,确定所述目标关卡模型的拼接状态信息;
基于所述入口位置的状态信息、所述目标关卡模型的拼接状态信息以及所述入口特效数据,在所述入口位置处形成具有相应入口特效的目标关卡入口通道。
在一种可能的实施方式中,所述入口位置确定模块501具体用于:
在检测到目标触发事件的情况下,判断当前交互阶段以及第一交互场景是否满足预设条件;
若满足所述预设条件,基于当前第一交互场景下的地表确定与所述目标事件对应的入口位置。
在一种可能的实施方式中,所述目标关卡入口包括地下洞穴入口或者地下迷宫入口。
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。
基于同一技术构思,本公开实施例还提供了一种电子设备。参照图12所示,为本公开实施例提供的电子设备700的结构示意图,包括处理器701、存储器702、和总线703。其中,存储器702用于存储执行指令,包括内存7021和外部存储器7022;这里的内存7021也称内存储器,用于暂时存放处理器701中的运算数据,以及与硬盘等外部存储器7022交换的数据,处理器701通过内存7021与外部存储器7022进行数据交换。
本申请实施例中,存储器702具体用于存储执行本申请方案的应用程序代码,并由处理器701来控制执行。也即,当电子设备700运行时,处理器701与存储器702之间通过总线703通信,使得处理器701执行存储器702中存储的应用程序代码,进而执行前述任一实施例中所述的方法。
其中,存储器702可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。
处理器701可能是一种集成电路芯片,具有信号的处理能力。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备700的具体限定。在本申请另一些实施例中,电子设备700可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中的数据生成控制方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。
本公开实施例还提供一种计算机程序产品,该计算机程序产品承载有程序代码,所述程序代码包括的指令可用于执行上述方法实施例中的数据生成控制方法的步骤,具体可参见上述方法实施例,在此不再赘述。
其中,上述计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分 或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。

Claims (12)

  1. 一种数据生成控制方法,其特征在于,包括:
    在第一交互场景检测到目标触发事件的情况下,确定所述第一交互场景的地表上与所述目标事件对应的入口位置;
    基于所述入口位置的地表环境信息,确定针对目标关卡入口的入口特效数据;
    基于所述入口位置以及所述入口特效数据,在所述入口位置形成具有入口特效的目标关卡入口通道。
  2. 根据权利要求1所述的方法,其特征在于,所述在第一交互场景检测到目标触发事件的情况下,确定所述第一交互场景的地表上与所述目标事件对应的入口位置,包括:
    在检测到所述地表上的目标实体满足预设的触发条件下,确定检测到所述目标触发事件;其中,所述目标实体为所述地表上携带有关卡入口标识的实体;
    基于所述目标实体在所述地表上的坐标位置,确定所述入口位置。
  3. 根据权利要求2所述的方法,其特征在于,所述检测到所述地表上的目标实体满足预设的触发条件之前,还包括:
    响应针对所述目标实体的放置操作,在所述地表上放置用于打开所述目标关卡入口的所述目标实体。
  4. 根据权利要求1所述的方法,其特征在于,所述基于所述入口位置处的地表环境信息,确定针对目标关卡入口的入口特效数据,包括:
    基于所述入口位置处的地表形态信息和/或地表植被信息,确定针对目标关卡入口的入口特效数据。
  5. 根据权利要求4所述的方法,其特征在于,所述基于所述入口位置处的地表形态信息和/或地表植被信息,确定针对目标关卡入口的入口特效数据,包括:
    基于所述入口位置处的地表形态信息和/或地表植被信息,确定所述入口位置的面积信息;
    根据所述入口位置的面积信息,确定针对所述目标关卡的入口特效数据。
  6. 根据权利要求1所述的方法,其特征在于,在形成具有入口特效的目标关卡入口通道之后,所述方法还包括:
    从多个预设的关卡模型中确定目标关卡模型,并将所述目标关卡模型与所述目标关卡通道进行拼接;
    在虚拟角色移动至所述目标关卡通道的尽头时,展现与所述目标关卡模型对应的第二交互场景。
  7. 根据权利要求6所述的方法,其特征在于,所述从多个预设的关卡模型中确定目标关卡模型,并将所述目标关卡模型与所述目标关卡通道进行拼接,包括:
    基于当前交互场景,从多个预设关卡模型中确定目标关卡模型;
    根据所述入口位置的状态信息,确定所述目标关卡模型与所述目标关卡通道之间的拼接状态信息;其中,所述入口位置的状态信息包括所述入口位置的朝向信息;
    按照所述拼接状态信息,将所述目标关卡模型与所述目标关卡通道进行拼接。
  8. 根据权利要求1-7任一所述的方法,其特征在于,所述在第一交互场景检测到目标触发事件的情况下,确定所述第一交互场景的地表上与所述目标事件对应的入口位置,包括:
    在所述第一交互场景检测到目标触发事件的情况下,判断当前交互阶段以及交互场景是否满足预设条件;
    若满足所述预设条件,确定所述第一交互场景的地表上与所述目标事件对应的入口位置。
  9. 根据权利要求1所述的方法,其特征在于,所述目标关卡入口包括地下洞穴入口或者地下迷宫入口。
  10. 一种数据生成控制装置,其特征在于,所述装置包括:
    入口位置确定模块,用于在检测到目标触发事件的情况下,基于当前第一交互场景下的地表确定与所述目标事件对应的入口位置;
    特效数据确定模块,用于基于所述入口位置处的地表环境信息,确定针对目标关卡入口的入口特效数据;
    关卡入口生成模块,用于基于所述入口位置以及所述入口特效数据,在所述入口位置处形成具有相应入口特效的目标关卡入口通道。
  11. 一种电子设备,其特征在于,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如权利要求1-9任一所述的数据生成控制方法的步骤。
  12. 一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如权利要求1-9任一所述的数据生成控制方法的步骤。
PCT/CN2021/134055 2021-01-21 2021-11-29 数据生成控制方法、装置、电子设备及存储介质 WO2022156367A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110080282.0A CN112791409A (zh) 2021-01-21 2021-01-21 数据生成控制方法、装置、电子设备及存储介质
CN202110080282.0 2021-01-21

Publications (1)

Publication Number Publication Date
WO2022156367A1 true WO2022156367A1 (zh) 2022-07-28

Family

ID=75810993

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/134055 WO2022156367A1 (zh) 2021-01-21 2021-11-29 数据生成控制方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN112791409A (zh)
WO (1) WO2022156367A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112791409A (zh) * 2021-01-21 2021-05-14 北京字跳网络技术有限公司 数据生成控制方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7887057B1 (en) * 2008-07-22 2011-02-15 Mary Ann Brodie Hiker board game system
CN108421255A (zh) * 2018-02-05 2018-08-21 腾讯科技(深圳)有限公司 场景图像的展示方法和装置、存储介质、电子装置
CN111135579A (zh) * 2019-12-25 2020-05-12 米哈游科技(上海)有限公司 一种游戏软件的交互方法、装置、终端设备及存储介质
CN111701238A (zh) * 2020-06-24 2020-09-25 腾讯科技(深圳)有限公司 虚拟画卷的显示方法、装置、设备及存储介质
CN112148189A (zh) * 2020-09-23 2020-12-29 北京市商汤科技开发有限公司 一种ar场景下的交互方法、装置、电子设备及存储介质
CN112791409A (zh) * 2021-01-21 2021-05-14 北京字跳网络技术有限公司 数据生成控制方法、装置、电子设备及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340704B (zh) * 2020-02-25 2023-08-22 网易(杭州)网络有限公司 地图的生成方法、装置、存储介质和电子装置
CN111729306B (zh) * 2020-06-24 2024-06-04 网易(杭州)网络有限公司 游戏角色的传送方法、装置、电子设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7887057B1 (en) * 2008-07-22 2011-02-15 Mary Ann Brodie Hiker board game system
CN108421255A (zh) * 2018-02-05 2018-08-21 腾讯科技(深圳)有限公司 场景图像的展示方法和装置、存储介质、电子装置
CN111135579A (zh) * 2019-12-25 2020-05-12 米哈游科技(上海)有限公司 一种游戏软件的交互方法、装置、终端设备及存储介质
CN111701238A (zh) * 2020-06-24 2020-09-25 腾讯科技(深圳)有限公司 虚拟画卷的显示方法、装置、设备及存储介质
CN112148189A (zh) * 2020-09-23 2020-12-29 北京市商汤科技开发有限公司 一种ar场景下的交互方法、装置、电子设备及存储介质
CN112791409A (zh) * 2021-01-21 2021-05-14 北京字跳网络技术有限公司 数据生成控制方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN112791409A (zh) 2021-05-14

Similar Documents

Publication Publication Date Title
WO2022022281A1 (zh) 一种游戏数据处理方法、装置、计算机及可读存储介质
CN111714886B (zh) 虚拟对象的控制方法、装置、设备以及存储介质
WO2022048333A1 (zh) 虚拟对象动态变化方法、装置、设备及存储介质
CN110801629B (zh) 虚拟对象生命值提示图形的显示方法、装置、终端及介质
JP7137719B2 (ja) 仮想オブジェクトの選択方法、装置、端末及びプログラム
WO2022037529A1 (zh) 虚拟对象的控制方法、装置、终端及存储介质
WO2022156367A1 (zh) 数据生成控制方法、装置、电子设备及存储介质
JP2023543519A (ja) 仮想アイテムの投入方法、装置、端末、及びプログラム
WO2023130618A1 (zh) 一种游戏中的交互方法、装置、电子设备及存储介质
US20200197812A1 (en) Information processing system, storage medium, information processing apparatus and information processing method
KR102549301B1 (ko) 멀티플레이어 게임에서 장거리 객체의 타겟팅 개선
CN107832000A (zh) 信息处理方法、装置、电子设备及存储介质
WO2022237079A1 (zh) 虚拟对象的控制方法、装置、计算机设备及存储介质
JP2024509719A (ja) 連絡先情報表示方法、装置、電子機器、及びコンピュータープログラム
CN112221135B (zh) 画面显示方法、装置、设备以及存储介质
CN113018862A (zh) 虚拟对象的控制方法、装置、电子设备及存储介质
US20230285855A1 (en) Virtual scene display method and apparatus, terminal, and storage medium
WO2023024880A1 (zh) 虚拟场景中的表情显示方法、装置、设备以及介质
CN115779441A (zh) 增益虚拟物品发送方法、装置、移动终端和存储介质
CN114832371A (zh) 控制虚拟角色移动的方法、装置、存储介质及电子装置
CN111228806B (zh) 虚拟操作对象的控制方法和装置、存储介质及电子装置
CN112843682B (zh) 数据同步方法、装置、设备及存储介质
WO2023231557A9 (zh) 虚拟对象的互动方法、装置、设备、存储介质及程序产品
CN112843713B (zh) 一种视野中心点的确定方法、装置、设备及介质
KR102611729B1 (ko) 멀티플레이어 온라인 비디오 게임의 복수의 객체 중 개별 객체의 타겟팅 개선

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21920743

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31-10-2023)