It’s been a while since I last worked on Transcendence, but I’ve finally got around to updating the game to run at 60 fps. I think everything is working correctly but George appears quite busy at the moment, so if anyone else wants to test the feature you can find the PR here:
https://github.com/kronosaur/TranscendenceDev/pull/100
Update physics to support 60fps
-
- Militia Lieutenant
- Posts: 107
- Joined: Thu Apr 07, 2011 9:05 pm
My mods on github: https://github.com/gcabbage/TranscendenceMods
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Haha, we were literally just looking at that PR...
Unfortunately we did make some changes to missile OnMove to add a ton of new features the expanded universe dev team needs. That PR for that isnt up yet but should be going up sometime this weekend. Fortunately I dont think it should be all that big of a pain to merge.
Unfortunately we did make some changes to missile OnMove to add a ton of new features the expanded universe dev team needs. That PR for that isnt up yet but should be going up sometime this weekend. Fortunately I dont think it should be all that big of a pain to merge.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
-
- Militia Lieutenant
- Posts: 107
- Joined: Thu Apr 07, 2011 9:05 pm
As long as only physics / movement occurs in OnMove it should be fine.
The main point of the PR is to get all the Physics updates (movement, collision detection) to occur together. The UpdatePhysics side now accepts a variable time step – which would normally be 2 s (at 30 fps) or 1 s (at 60 fps), or 0.25/0.125 s if we’re in slow motion. However, it could take any value if we wanted to support other frame rates or time acceleration factors. AI updates etc occur in UpdateBehavior which does all the “game tick” stuff.
> expanded universe dev team needs
Is there a separate issue tracker for this, or just Trans Dev on ministry? I don’t have a lot of spare time, but occasionally I’ll have a look for something that doesn’t look too complicated to implement...
The main point of the PR is to get all the Physics updates (movement, collision detection) to occur together. The UpdatePhysics side now accepts a variable time step – which would normally be 2 s (at 30 fps) or 1 s (at 60 fps), or 0.25/0.125 s if we’re in slow motion. However, it could take any value if we wanted to support other frame rates or time acceleration factors. AI updates etc occur in UpdateBehavior which does all the “game tick” stuff.
> expanded universe dev team needs
Is there a separate issue tracker for this, or just Trans Dev on ministry? I don’t have a lot of spare time, but occasionally I’ll have a look for something that doesn’t look too complicated to implement...
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
All the onMove stuff is just new versions of the existing targeting & proximity detection code for missiles
---
The Expanded Universe team is currently just using the standard Transcendence Dev category on ministry for posting those issues.
Unfortunately they cant be closed by us, George has to do that since hes the 'owner' of that development space, so instead comments are being added to track PR status (open/merged).
---
The Expanded Universe team is currently just using the standard Transcendence Dev category on ministry for posting those issues.
Unfortunately they cant be closed by us, George has to do that since hes the 'owner' of that development space, so instead comments are being added to track PR status (open/merged).
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Mind taking a look at the latest merges? It looks like its compatible.
Talked w/ George today about what would be involved in getting yours in - sounds like the plan will be to have it on a second branch for additional testing (probably there will be a public build for that?)
Talked w/ George today about what would be involved in getting yours in - sounds like the plan will be to have it on a second branch for additional testing (probably there will be a public build for that?)
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
-
- Militia Lieutenant
- Posts: 107
- Joined: Thu Apr 07, 2011 9:05 pm
Looking at your changes I would not expect and problems either. I've updated the branch and it appears to be working correctly from a quick run test.
I agree it's ready for wider testing - unless George has changed his mind about how the core loop should work (the original ticket is 8 years old!)
I agree it's ready for wider testing - unless George has changed his mind about how the core loop should work (the original ticket is 8 years old!)
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
It seemed like george was still in agreement with his prior ideas
I'll try to notify him that its updated during the stream this week, since he will be on vacation after that till early jan
I'll try to notify him that its updated during the stream this week, since he will be on vacation after that till early jan
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>