Method, system and electronic device for implementing a 2D game physical gravity trajectory

By configuring the physical environment and object properties for 2D games, and using Newtonian mechanics to calculate acceleration and update position, the problem of idealized motion trajectories in existing technologies is solved, achieving accurate physical simulation and immersion, and is applicable to multiple platforms.

CN122273122APending Publication Date: 2026-06-26GUANGZHOU AIYOU INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU AIYOU INFORMATION TECH
Filing Date
2026-03-26
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing 2D game physics implementation methods lack comprehensive modeling of continuous force fields and medium resistance, resulting in overly idealized object motion trajectories that are difficult to support accurate physical feedback and efficient implementation. Furthermore, existing engines consume a lot of resources and are difficult to run smoothly on mobile devices or low-performance platforms.

Method used

By configuring physical environment attributes such as air resistance constant, gravitational acceleration constant, and horizontal wind force for the game scene, and configuring attributes such as mass, initial position, and velocity for physical objects, the acceleration is calculated using Newton's laws of motion, and the position and velocity are updated in each frame, storing a list of trajectories to present gravity trajectories that conform to real-world physical characteristics.

Benefits of technology

It achieves accurate simulation of motion trajectory under the combined effects of gravity, drag, and wind, improving the realism and immersion of the physical simulation, reducing computational complexity and resource consumption, and is suitable for mobile terminals and low-performance platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122273122A_ABST
    Figure CN122273122A_ABST
Patent Text Reader

Abstract

This invention provides a method, system, and electronic device for implementing 2D game physics gravity trajectory. The method includes the following steps: configuring physical environment attributes for the game scene; configuring initial physical attributes for physical objects in the game; calculating the acceleration of the physical object in the current frame based on the physical environment attributes, initial physical attributes, and the current velocity of the physical object; updating the position and velocity of the physical object in the update callback of each frame of the game based on the acceleration and frame time interval, and storing the updated position coordinates in the trajectory list; repeating the above steps until trajectory information composed of position coordinates of multiple consecutive frames is obtained; binding the current position coordinates of the physical object to the corresponding display element and displaying it on the device screen. This method can accurately simulate the motion trajectory under the combined action of gravity, drag, and wind in a real physical environment, improving the realism and immersion of the physics simulation.
Need to check novelty before this filing date? Find Prior Art