Comments (2)
Heya, I've found the issue.
In the current implementation of FastJEngine, getting the current fps value always returns 0.0 for the first 100 seconds because fpsLogIndex (index accessor for the fps log array I have) is always 1 value ahead of the actual current fps. When the first 100 seconds of FPS have been logged, the value will then always be 100 seconds behind.
In short, there was an off-by-one array accessing issue.
I'll go ahead and make the PR, and you should be able to properly see the fix in the next latest FastJ release 👍🏾
from fastj.
I'll look into the issue as soon as I can. Thank you for posting!
from fastj.
Related Issues (20)
- Delete all branches before 1.6.0
- Update logging example to match new API
- Update Example Program links HOT 2
- General Event Pipeline
- [Bug]: Sprite2D not constructing properly HOT 2
- Add "Other, please specify" option to FastJ version selection in forms
- [Source Code]: EngineConfigTests causing Ubuntu build fail HOT 1
- [Feature Request]: Delta Time
- Update template programs with slf4j dependencies HOT 1
- update macOS workflow to macOS 11 HOT 1
- [Source Code]: move static imports to bottom
- [Bug]: Audio Events not sent when an audio file finishes playing
- Remove engine crashes on Audio exceptions
- [Source Code]: Update engine logging instances HOT 2
- [Bug]: MemoryAudio playback positioning audio functions do not work if audio is not open HOT 1
- competing with fastj put my engine out of business HOT 2
- [Feature Request]: Mid-Game init() calls
- [Feature Request]: Implement addScenes() function HOT 2
- [Bug]: gameloop's first delta time is far too big
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastj.