RuggeroVisintin / RuggeroVisintin/SparkEngineWeb

framerate agnostic Engine

Open
#79 0 comments 0 reactions 1 assignee View on GitHub

@RuggeroVisintin is already working on this.

Since Jan 28, 2024.

ecs engine enhancement physx
Dominant language
TypeScript
Stars
9
Forks
2
Avg merge
2m
Merged PRs (30d)
1

Description

AS A GAME Dev
I WANT Movements of the objects to be framerate agnostic
SO THAT when the framerate changes the world speed remains the same


It can implemented by keeping track of the delta time between the previous frame and the current frame and multiplying the velocity by the delta time. This way the velocity becomes independent of the engine framerate.

velocity = velocity * deltatime

  • Framerate agnostic position update
  • Framerate agnostic physx simulation

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.