Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E Engel Simulator 2020
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Engel Simulator 2020
  • Engel Simulator 2020
  • Merge requests
  • !32

Merged
Created Dec 27, 2020 by neosam@neosamcccMaintainer

Framerate and movement fixed

  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 2

The Clock now returns a constant frame_delta for each frame. To do this, it must be updated once in the InGameState on each update.

This commit also fixes the diagonal movement speed by normalizing the movement vector.

Fixes #19 (closed) and #20 (closed)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: neosam/fixed-framerate