Comments (2)
Stamina has multiple aspects to it. Of course, there is the global "running out of air" state. But each muscle has its own temporary store of oxygen/energy which it can use for some amount of time. That means that each muscle could be tracked independently. There's also a several categories of muscle fibers, which each use an/aerobic respiration and are used at different times.
This adds even more complexity to the game. Anaerobic respiration, for example, probably depletes hunger more quickly due to being less efficient. This means that running and sprinting could have slightly different stamina trackers. It also means that in one Cubyz day, it could make sense to split up work by muscle group. (Aside: sleep quality aiding stamina recovery could encourage players to build temporary shelters at night while exploring to allow for more optimal performance the next day)
On the topic of exercise, even more complexity could be made from simulating muscle growth. Cubyz could even consider the quality of sleep, or the amount of carbohydrates, fats, and amino acids that the player consumes throughout the day, compare that with the types of exercise each muscle had performed...
from cubyz.
Let's not overcomplicate things. A single "out of air"-stamina value is a good enough approximation that is easy to communicate to the player.
About sleep: it is an interesting idea to give the player a stat boost for sleeping well (though that is a different topic #258).
About exercise: That would basically be a skilling/levelling system. I'm not yet sure if I want something like that. Skilling often makes players grind more, and I don't know if I want that.
About nutrients: While it would be great to encourage eating different foods, it would put some pressure on biome design, since all nutrients should be accessible in most surface biomes. So I would like to leave it open for now.
from cubyz.
Related Issues (20)
- Sometimes usernames or other text flickers.
- Pressing `C` while the inventory is open no longer opens the creative inventory, instead it closes the gui.
- Increase reflectivity of glass, so it's easier to see.
- Fog breaks when the camera is inside of grass vegetation.
- Player movements break after writing a chat message
- For some people the network sometimes gets stuck with a single packet that doesn't seem to be transmitted.
- Data race in chat rendering when receiving a chat message
- Segmentation fault in audio.zig on exit
- Should the `run` scripts compile in ReleaseSafe instead of ReleaseFast? HOT 11
- Running the game in ReleaseSafe crashes on close. Sadly the stack trace is a bit unclear.
- /tp to player
- Hotbar should be transparent
- Should a different audio library be used?
- Network transfer gets stuck with 100% packet when trying to send large amounts of data at once (~5 GB)
- Optimize chunkRequest protocol
- Rethink the ThreadPool
- The maximum network bandwidth is suboptimal.
- Choose a better allocator for the networking
- Improve the `Connection.collectPackets` so it doesn't iterate through all packets of the current bit of data every time a new packet is received.
- Improve the packet acknowledgement system so it always sends acknoledgements for all packets.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cubyz.