Tag

physics engine

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 20, 2025 · Game Development

Building a Super Mario MVP with LeaferJS and Vue

This article demonstrates how to create a minimal Super Mario‑style platformer using JavaScript, LeaferJS for graphics rendering, and Vue for UI and map editing, covering background looping, scene management, sprite classes, a simple physics engine with gravity, collision detection, jumping, camera follow, scoring, and a basic victory condition.

LeaferJSSuper MarioVue
0 likes · 8 min read
Building a Super Mario MVP with LeaferJS and Vue
Architecture Development Notes
Architecture Development Notes
Dec 1, 2024 · Game Development

Building a Rust Physics Engine with SAT Collision Detection

This article walks through creating a Rust physics engine by implementing collision detection using the Separating Axis Theorem, covering point extraction, vector math, projection, overlap checks, and handling both rectangle‑rectangle and circle‑square collisions with complete code examples.

RustSATcollision detection
0 likes · 8 min read
Building a Rust Physics Engine with SAT Collision Detection
New Oriental Technology
New Oriental Technology
Jun 14, 2021 · Game Development

Resolving Mass‑Volume Discrepancy in 2D Physics Engines

This article analyzes the inconsistency between 2D physics engine mass calculations (mass = density × area) and real‑world physics (mass = density × volume), proposes measurement methods for volume, density, and mass, and presents three implementation strategies for correcting the discrepancy in nape and box2d engines.

2D simulationbox2dmass density
0 likes · 5 min read
Resolving Mass‑Volume Discrepancy in 2D Physics Engines
New Oriental Technology
New Oriental Technology
May 31, 2021 · Game Development

Storage and Synchronization of Rigid Bodies and Constraints in a Mechanical Engine

The article explains how mechanical equipment requires storing rigid‑body positions, rotations, velocities and inter‑object constraints, and how synchronizing these states between teacher and student clients ensures consistent simulation, contrasting this with the simpler handling of electrical equipment.

Constraintsgame developmentphysics engine
0 likes · 7 min read
Storage and Synchronization of Rigid Bodies and Constraints in a Mechanical Engine
New Oriental Technology
New Oriental Technology
Apr 12, 2021 · Game Development

Choosing and Evaluating 2D Physics Engines for Mechanics Experiments: Issues and Solutions

This article reviews the selection of a 2D physics engine for mechanics experiments, compares Box2D and Nape, details eight test scenarios highlighting precision, constraint, mass‑density, friction, and buoyancy problems, and proposes practical solutions to improve simulation accuracy and usability.

Constraintsbox2dbuoyancy
0 likes · 9 min read
Choosing and Evaluating 2D Physics Engines for Mechanics Experiments: Issues and Solutions