Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Webgame developing and analyzing method, editor and analyzer

A web game and editor technology, applied in the computer field, can solve problems such as difficult interface element management, low efficiency, and complicated web game development of web games

Active Publication Date: 2013-10-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] When developing web games with existing technologies, it is difficult to manage the interface elements of web games. For example, the creation of label elements needs to pay attention to the characteristics of resource sources, position placement, element movement, element hiding, etc., and requires the use of code calls by code developers CSS attributes can set various effects of interface elements, and artists cannot complete the development of the game interface alone, resulting in complex and low-efficiency development of web games

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
  • Webgame developing and analyzing method, editor and analyzer
  • Webgame developing and analyzing method, editor and analyzer
  • Webgame developing and analyzing method, editor and analyzer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0089] Such as figure 1 As shown, the present embodiment provides a web game development method, including the following steps:

[0090] 101. The editor saves the interface element input by the first user in an object customized by the editor, and packages the customized object to obtain an interface resource package;

[0091] 102. Generate an interface code having a function of converting a custom object into a DOM object corresponding to the custom object;

[0092] 103. Save the interface resource package, the interface code, and the logic code of the web game to obtain the web game.

[0093] This embodiment provides a method for developing a web game. By storing the interface elements of the web game in a custom object and packaging them to obtain an interface resource package, the interface elements and logic codes can be separated for easy management, and It can reduce development complexity and improve development efficiency.

Embodiment 2

[0095] The embodiment of the present invention provides a webpage game development method, which is further elaborated on the basis of Embodiment 1. It should be noted that, in this embodiment, each operation completed in the following method is specifically the development Personnel are implemented through a custom editor, and developers can include the first user and the second user.

[0096] In this embodiment, the first user may specifically be an artist, and the second user may specifically be a code developer.

[0097] see figure 2 , a web game development method, comprising the steps of:

[0098] 201. The editor receives the interface element input by the first user, and saves it in a custom object;

[0099] Wherein, the interface elements include text and pictures appearing in the interface of the web game, and may also include rectangular frames.

[0100] The rectangular frame is used to represent the part of the interface that needs to be redrawn when the game is...

Embodiment 3

[0150] This embodiment provides a web game analysis method. After the development of the web game is completed through the method shown in Embodiment 3, the user can access the web game through a browser.

[0151] Such as Figure 4 As shown, a web game analysis method includes the following steps:

[0152] 301. Access the URL of the web game to obtain a resource list of the web game;

[0153] Wherein, the resource list records the addresses of interface resource packs, interface codes and logic codes of the web game.

[0154] 302. Download the interface resource package, interface code and logic code according to the address in the above information list;

[0155] 203. Convert the custom object in the interface resource pack into the DOM object corresponding to the custom object through the interface code, and obtain the code supported by HTML;

[0156] In this embodiment, the code supported by HTML may be JavaScript.

[0157] 304. Analyze the above code to obtain the inte...

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 webgame developing and analyzing method, an editor and an analyzer, and belongs to the field of computers. The web game developing and analyzing method includes steps of the editor storing an interface element entered by a first user on a custom object of the editor, and packaging the custom object to obtain an interface resource bundle; generating an interface code capable of converting the custom object into a DOM (document object model) object corresponding to the custom object; storing the interface resource bundle, the interface code and a logical code of a webgame to obtain the webgame. By the webgame developing and analyzing method that the interface element of the webgame is stored in the custom object which is packaged to obtain the interface resource bundle, the interface element and the logical code can be separated, so that management is facilitated, development complexity can be reduced, and development efficiency is high.

Description

technical field [0001] The invention relates to the field of computers, in particular to a webpage game development and analysis method, an editor and an analysis device. Background technique [0002] Web games are also called web games, unprovoked online games, or web games for short. It is an online multiplayer interactive game based on a web browser. You don't need to download the client, just open the IE webpage to enter the game. Currently, CSS (Cascading Stylesheet, Cascading Style Sheet) 3+HTML (Hypertext Markup Language, Hypertext Markup Language) DOM (Document Object Model, Text Object Model) method is mainly used for the development of web game interface. [0003] When making the interface of web games, calling CSS properties through JavaScript can effectively control the layout, font, color, background and other effects of the page more precisely. CSS3 is an upgraded version of CSS technology. After the interface of the web game is completed, the developer write...

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 Applications(China)
IPC IPC(8): G06F9/44
Inventor 马亮罗春华郭成贺志强屠晓静
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products