A Customizable Animation Display Method
A display method and custom technology, applied in instruments, software design, computing, etc., can solve problems such as unevenness, inability to respond to buttons, touch screen and other messages, inefficiency, etc., to achieve high efficiency, gorgeous animation effects, and performance. Good results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0050]The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0051] The self-definable animation display method of the present invention firstly encapsulates thread creation and loop logic based on the SurfaceView control, and abstracts the two steps of drawing and calculation, and then maintains all element objects of the interface in the sub-controls, and then draws, In the operation, the drawing and operation of the child elements are executed cyclically, so that each child element independently performs its own position and change calculation, and independently draws itself in the parent control canvas. class diagram such as figure 1 shown, including:
[0052] The BaseGameView class inherits from the SurfaceView class and implements the Runnable and SurfaceHolder.Callback interfaces at the same time.
[0053] The BaseGameView class uses the surfaceCreated interface callback to create threads, uses the surfaceChang...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

