logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Behaviour request: display fps

    Scheduled Pinned Locked Moved
    Comments & Feedback
    4
    8
    744
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DGames135D
      DGames135
      last edited by

      I would like to see a behaviour that would display the fos without debug options.

      1 Reply Last reply Reply Quote 0
      • MurtazaM
        Murtaza Admin
        last edited by

        May I ask why? What's the use case here?

        1 Reply Last reply Reply Quote 0
        • Jack8680J
          Jack8680
          last edited by

          @Murtaza I don't know what @DGames135 wants it for, but I would like some way to see fps in play mode when not playing from the editor because playing from the editor seems to cause more lag. For me an option in the pause menu would be fine though.

          MurtazaM 1 Reply Last reply Reply Quote 0
          • MurtazaM
            Murtaza Admin @Jack8680
            last edited by

            @Jack8680
            Your game shouldn't really be running any slower when running from the editor. Although parts of the editor are kept in memory, they're not actually running. So It won't affect performance. If you're using really large images (which is bad any ways!) you may cause a crash due to using up all the memory. But your FPS shouldn't change at all.

            By pause menu do you mean the hyperPad menu that quits and goes back to the editor/hub?

            Pause menu is an overlay/something you should create on your own.

            Other than seeing the performance of a hub game, or a game not launched from editor, I don't really see the purpose of having a behaviour to show fps.

            Jack8680J 1 Reply Last reply Reply Quote 0
            • T
              Thecheater887
              last edited by

              There is multiple ways to measure the FPS, ranging from every frame adding one to a counter, then every second updating a label, to moving an object, and getting its position.

              No, it's not the same, but it works nonetheless.

              MurtazaM 1 Reply Last reply Reply Quote 0
              • MurtazaM
                Murtaza Admin @Thecheater887
                last edited by Murtaza

                @Thecheater887
                Behaviours don't work on frames, they work on cpu cycles. So you won't get FPS that way. I don't think there is any way to get FPS with our current behaviours. But I could be wrong.

                T 1 Reply Last reply Reply Quote 0
                • Jack8680J
                  Jack8680 @Murtaza
                  last edited by

                  @Murtaza there is definitely a difference in performance in some projects, I'm not sure what it is caused by though, it doesn't happen in some others. I did mean the hyperPad menu button, and I don't need a behaviour, just some way to see fps while not editing but it's not that important to me... Lagometers worked by adding to a value on a timer 0 seconds and then getting that value every second and dividing 1 by it and resetting, but I don't think this was a direct measure of fps...

                  1 Reply Last reply Reply Quote 0
                  • T
                    Thecheater887 @Murtaza
                    last edited by

                    @Murtaza I was going off of the fact that it seems like your behaviors are run, then the screen updated, then repeat.

                    Not sure how that would work otherwise, but that's a different story for a different day,

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post