A realization method of game backend multilingual development

An implementation method and language development technology, applied in the direction of creating/generating source code, software design, etc., to avoid performance consumption and improve flexibility

Active Publication Date: 2022-02-11
深圳易帆互动科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the object of the present invention is to provide a method for implementing multilingual development of game backends, to solve various disadvantages of existing game backend multilingual development, and to reduce the performance consumption of multilingual development that requires conversion or two-way communication ;Improve the performance of game logic; solve the problem of different data structures between different languages ​​and the problem of collaboration between different developers; improve the flexibility of game backend configuration changes with business changes

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
  • A realization method of game backend multilingual development
  • A realization method of game backend multilingual development
  • A realization method of game backend multilingual development

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] see Figure 1-Figure 3 , the present embodiment provides a method for implementing game backend multilingual development, including C++, golang language, lua language, python language and a third-party SDK, including the following steps:

[0031] A kind of implementation method of game backend multilingual development, it is characterized in that, comprises: C++, golang language, lua language, python language, intermediate file and third-party SDK, comprise the steps:

[0032] Step 1. Use C++ to embed the python language interpreter and lua language interpreter, and package them into an extension module of golang to form a C++ cross-language collaborative module;

[0033] Step 2, develop the network layer and web service of the game server through the golang language, wherein the game server includes game data structures and various events;

[0034] Step 3, define intermediate files through the game data structure and various events in step 2;

[0035] Specifically, t...

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

The invention discloses a method for realizing game back-end multi-language development, comprising: C++, golang language, lua language, python language, intermediate files and a third-party SDK, including the following steps: using C++ to embed python language interpreter and lua language Interpreter, packaged as an extension module of golang, constitutes a C++ cross-language collaborative module; develops the network layer and web services of the game server through the golang language; redefines the data structure of the game server through intermediate files, and generates multilingual unified data structures and events Configuration to achieve consistent multi-language data structure; develop game logic through lua language; call python language to process third-party SDK collaboration logic. Information transmission between different languages ​​is carried out through the event system of the C++ cross-language collaborative module, which makes the game back-end multi-language development more convenient and fast, improves development efficiency, and greatly saves development costs.

Description

technical field [0001] The invention relates to a method for realizing multilingual development, in particular to a method for realizing multilingual development of a game backend. Background technique [0002] General large-scale game development is by no means a simple matter of using a certain language. The development of a large-scale game requires a huge team to use various languages ​​and tools to complete it. Multilingual development has become a necessary means. Multilingual development has the following advantages: different development languages ​​have different characteristics, which can greatly reduce the development cost in special fields; each development language has its unique advantages, and a targeted development language is adopted for different needs , can build better technical products. However, multi-language mixed development also has such disadvantages: the same data structure has different implementation methods between different development langua...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/20G06F8/30
Inventor 涂伟汪平庄元
Owner 深圳易帆互动科技有限公司
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