Method and apparatus for generating dynamic route

A route and dynamic technology, applied in the field of computer science, can solve problems such as inflexibility, game wear, and characters are difficult to move and operate, and achieve the effect of improving operating efficiency

Active Publication Date: 2019-01-25
SHENZHEN IDREAMSKY TECH
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is not flexible enough. When the objects in the scene change, such as disappearing or moving, it is difficult for the characters to perform the moving operation.
In

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for generating dynamic route
  • Method and apparatus for generating dynamic route
  • Method and apparatus for generating dynamic route

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present application are described below with reference to the drawings in the embodiments of the present application.

[0029] see figure 1 , figure 1 It is a schematic flowchart of a method for generating a dynamic route provided by the embodiment of the present application.

[0030] S101. Obtain a scene map, coordinates of an initial location, and coordinates of a destination.

[0031] This application can generate a dynamic route for the controlled object in the game. There will be obstacles and areas that the controlled object cannot pass through in the scene map of the game, and the scene maps of different games are different. Therefore, before generating the route, the scene map of the game needs to be obtained. When the player clicks the destination on the map, the position of the controlled object is set as the initial position. Get the coordinates of the initial location and the coordinates of the destination at the same time. It should ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A method and apparatus for generating a dynamic route are disclosed. The method includes obtaining a scene map, a coordinate of an initial position and a coordinate of a destination, wherein the scenemap comprises one or more plates of the same size; carrying out connection detection on the plates in the scene map, matching the connection triggers of any two plates in the plates, and determiningthe connected plates; determining one or more first paths from the starting coordinates to the target coordinates from the connected plates; and selecting a dynamic route from the one or more first routes, wherein the dynamic route is the first route with the shortest path. A corresponding device is also disclosed. By judging the matching of the connection trigger to complete the judgment of the connection of any two blocks in the scene map, and then according to the connection of all blocks in the scene map, real-time and accurate generation of dynamic route.

Description

technical field [0001] The present application relates to the field of computer science and technology, in particular to a method and device for generating a dynamic route. Background technique [0002] Thanks to the rapid development of the mobile phone industry, computer hardware and network communications, mobile games and online games have also developed rapidly. Mobile games and online games have brought a lot of entertainment to people. At the same time, more and more mobile games and online games have emerged as the times require. Among them, 2.5D games are one of the most popular types of games. [0003] Different from 3D games, 2.5D games will not produce far and near viewing angle differences according to the distance between objects in the scene and the position of the camera due to the perspective of the object in the game, that is, the orthogonal viewing angle. In the existing technology, in order to solve the problem of generating the route of the controlled o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): A63F13/56A63F13/60
CPCA63F13/56A63F13/60
Inventor 黄淮
Owner SHENZHEN IDREAMSKY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products