GithubHelp home page GithubHelp logo

Comments (6)

PalmliX avatar PalmliX commented on May 30, 2024 1

I vote for re-writing it as it is, because I'd like to make weapons, and its hard to know how a weapon's idle or other animations should look if it's moving around like crazy when you walk. So maybe for now just do the "quick fix" of re-writing it for 60hz, so we can least test new weapons out. Same kind of thing for footstep sounds actually, it will be easier to test new sounds if the playback is "correct" in-game.

I definitely see the point of coming up with a new system that is not hardcoded to 60hz (or whichever), which totally makes sense for actual content (model animations etc.) but for the viewbobs and footsteps, I feel like its not as big a deal to hard code it for 60hz because that is not likely to change, or need changing?

from polyhedron-engine.

WatIsDeze avatar WatIsDeze commented on May 30, 2024

So far I suddenly got caught up in old bugs related to not being able to do this twice: gamemap name ; gamemap name; because the second time it could not find a spawn point.

The point being, the entire game mode stuff was a little messed up. Currently looks fixed to almost perfection. Did fix some 60hz things here and there, but the viewbob and footstep is still a big @#!@$@#$% on how to even do that. Maybe just rewrite it as is anyway?

from polyhedron-engine.

WatIsDeze avatar WatIsDeze commented on May 30, 2024

I vote for re-writing it as it is, because I'd like to make weapons, and its hard to know how a weapon's idle or other animations should look if it's moving around like crazy when you walk. So maybe for now just do the "quick fix" of re-writing it for 60hz, so we can least test new weapons out. Same kind of thing for footstep sounds actually, it will be easier to test new sounds if the playback is "correct" in-game.

I definitely see the point of coming up with a new system that is not hardcoded to 60hz (or whichever), which totally makes sense for actual content (model animations etc.) but for the viewbobs and footsteps, I feel like its not as big a deal to hard code it for 60hz because that is not likely to change, or need changing?

You're correct, from what I can tell we'll stick to 60hz, if for whatever reason that fails, 40hz will do. Speaking off, I got told animations are best made at 30fps anyhow. @Paril knows more about this.

from polyhedron-engine.

WatIsDeze avatar WatIsDeze commented on May 30, 2024

Currently in the process of moving over some functions that should not all belong in PlayerClient and/or GameMode but in World instead, however it is very likely the bob/footstep issue would then be resolved.

That leaves us then only still with the animations to cover. Deathmatch modes seem to play fine, and so does single player. Save/Load can not be done yet until serialization is made use of.

from polyhedron-engine.

WatIsDeze avatar WatIsDeze commented on May 30, 2024

BobMove + Footsteps are on. Most of this takes place in void GameModeName::ClientEndServerFrame(), and PlayerClient::SetEvent.

I'd like to add in ClientEndServerFrameas a method to the client's class instead, to perhaps spare some extra lines of code in the gamemode classes.

from polyhedron-engine.

WatIsDeze avatar WatIsDeze commented on May 30, 2024

Going to open various new ones with more specific matters.

from polyhedron-engine.

Related Issues (18)

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.