Похожие чаты

Maybe someone here can help me answer this. I currently

work on my Player Interactions with the World.

The player presses the Button "Hunt" which is possible everywhere but currently i focus on forest's. What i had in mind is basically this:

Button Press sends Information to "ActionController" with the Information "I want to hunt". The ActionController 'looks' then around which Forest ist nearest to the player to make sure the correct Forest's Stats are altered.

Then, the ActionScript sends the Information to the "HuntMechanic" which calculates everything. Lets say, it gives back "Yup. Succees. Gratulations you are not hungry anymore".


Those are three Steps because i dont want every script be so unbelievable big and instead focussing on "everything just does one thing and nothing else". Would that be a good approach or would there be better ways/more efficient ways.

When does one notice a change in fps, or when is to expect "there is too much to do and produces micro stuttering" or something like that?

1 ответов

15 просмотров

Well you can just show the fps on the screen with various other stats. The other method would be to use profiling methods your game engine/framework provides. If it doesn't provide any, you can use an external profiler with or without a debugger.

Похожие вопросы

Обсуждают сегодня

Ну вот просто даже давайте вот как. Какой нибудь конкретный кейс, можете в пример привести, где бч работает и приносит прикладную пользу, а не просто что бы было? Не крипту.
Alexander Andreev
22
Всем привет! Имеется функция: function IsValidChar(ch: UTF8Char): Boolean; var i: Integer; ValidChars: AnsiString; begin ValidChars := 'abcdefghijklmnopqrstuvwxyzABCDE...
Евгений
44
For all those that keep asking why no pump? why this ? and why that...? Please close ur ewt chart and open 2 others - TOTAL (total mc) and BTC.D (btc dominance). Maybe BTC a...
Inn3r_G
19
"Since pnut can flip FTM easily, I'm swapping my FTM to pnut and hoping for a easy x5-x10" Perfect recipe for disaster. NFA but chances are, you'll end up as exit liquidity ...
C. A.
7
AMD status update? No longer in the plan but something might be around the corner later on Chinese partner? No longer in the plan. This market does not seem to be the top ...
Ben
6
да кстати заметил всюда почему то всех сюда прёт, ни в одном чате столько ботов не прёт как сюда.. Может чота надо доработать?
REDis
15
Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
I get confused when people talk about the ‘bull market’ and the ‘next bull market’ as if anyone really has a clue what’s really going on in the world. First of all - there i...
Shah
1
> Копаем глубже > Следующий момент был, когда я спросил его, знает ли он JavaScript. Он ответил, что его учили работать с C#. Я тоже в университете писал на C#, но даже там мн...
Oleg Volkov
4
Добрый день, подскажите, пожалуйста, по проблеме. Сегодня на работе утром обнаружилось что по рдп подключиться не получается к серверу 2022. В серверную зашел - на системно...
srv
19
Карта сайта