Giter Club home page Giter Club logo

Comments (5)

Kromster80 avatar Kromster80 commented on May 22, 2024

Placing TKMEdit will not magically add the required functionality.

from kam_remake.

TehPlayer14 avatar TehPlayer14 commented on May 22, 2024

Unless there would be a spectator bot that could record whole map or each player view

from kam_remake.

Kromster80 avatar Kromster80 commented on May 22, 2024

Replays work a little bit different than that.

There's the initial game state (savegame.bas) and a list of all player commands (savegame.rpl) that guide the games state.

With this system to get to the 60min timestamp the replay needs to go through 60_60_10 ticks of the game and apply all the commands in the order. Which is a LOT of processing for the CPU.

Another case is when you want to rewind back (e.g. from 60min to 50min). The game has no mechanism of recording previous states or reverse-applying them. So with the current design the replay needs to start anew and fast forward to 50min.

from kam_remake.

vqw avatar vqw commented on May 22, 2024

This is what I was thinking about - restarting replay and fast forwarding (x 10000) in the case of rewinding back and only FF when going forward.
During this operation we can stop rendering etc.

Still the CPU will be heavy loaded but maybe we can optimize it in some cases.

from kam_remake.

Kromster80 avatar Kromster80 commented on May 22, 2024

This feature needs more planning before starting to work on it.

from kam_remake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.