Sleep

I am working on a thousand bugs and issues at once, but 2.1 is slowly getting kicked into shape.

I’ve just finished working on the modified sleep mechanics. With multiple players it’s no longer possible to simply accelerate time when a player goes to sleep. Plus other players can now interact with the sleeping player too.

This is the way I did it:

  • When a player goes to sleep, the screen goes black as usual and player lies down the same way as when he’s dead.
  • If other players are present and not sleeping, time runs at normal speed.
  • If all players are sleeping, time speeds up as previously.
  • Player will wake up when his sleep meter is full and it’s daytime – previously player always slept until next morning no matter what.
  • To prevent a sleeping player from being stuck in sleep for 10+ minutes (when other players don’t sleep), he can now manually wake early:

Sleep.jpg

Player will also wake when:

  • He’s injured
  • He’s becoming wet – you can pour a bucket of water on someone to wake them up (or remove roof over their heads and let rain do it).

When a player loses consciousness due to lack of sleep, the option to manually wake up is disabled.

I’m now working on players spawning code. When this is done I will get to making skins – thank you for all the specimens you sent me! I now have plenty of material and will hopefully concoct something reasonable from them.

 

67 Comments

  1. Posted February 26, 2017 at 17:05 | Permalink | Reply

    can you add someway to automate things like farms the spawning and killing of animals ect… PLZ it would greatly improve the game play.

    • Posted February 26, 2017 at 17:07 | Permalink | Reply

      Crap

    • Posted February 26, 2017 at 17:26 | Permalink | Reply

      Wow first comment and someone asking for something that has nothing to do with what Kaalus is working on…

    • Stanimus
      Posted February 27, 2017 at 23:27 | Permalink | Reply

      Go look over the forum and wiki, There’s designs for automated farms and animal traps there…

  2. Posted February 26, 2017 at 17:07 | Permalink | Reply

    First!

  3. Posted February 26, 2017 at 17:09 | Permalink | Reply

    Like it :) Especially the water idea, I like the little things

  4. Posted February 26, 2017 at 17:19 | Permalink | Reply

    Kaalus, you said that you worked on survival feature. Is there other feature, which you have not told or splitscreen is this feature?

  5. Posted February 26, 2017 at 17:25 | Permalink | Reply

    Good I can move someone when they’re sleeping and trap them forever. Too bad my tablet is broken right now so I can’t test certain things.

  6. Posted February 26, 2017 at 17:26 | Permalink | Reply

    Couldn’t be better than this… Excellent idea!

  7. saeedaquibahmed
    Posted February 26, 2017 at 17:31 | Permalink | Reply

    Will you add sleeping and sneaking animation for 3rd person view? You must add because how other player will know im sleeping or sneaking? They will see me standing when i will be sleeping. Lol

  8. Posted February 26, 2017 at 17:44 | Permalink | Reply

    This is the best way to do it, much better than MC.

    This will mean that if you get very tired and sleep just for a short while, while others are awake, you’ll get enough rest to continue your work, basically napping.

    Kaalus, just make it that for future use, if a player disconnects while sleeping, he would finish his sleep cycle, so that when he connects again, he is not tired.

  9. Posted February 26, 2017 at 17:47 | Permalink | Reply

    Kaalus, are you going to add high res skins as well? I have quite a few high res skins on CC, but it takes almost all my ten slots (2 accounts) and I would like to add a few more, especially female ones. I would appreciate this a lot. Maybe you could ask for high res skins from others as well.

    • Posted February 26, 2017 at 17:51 | Permalink | Reply

      I don’t know how skins can add resistance, but RES from what? Cold maybe, but Heat isn’t that dangerous.

    • Posted February 26, 2017 at 17:54 | Permalink | Reply

      Now that you’ve mentioned it…

      The limit of 5 items uploaded in CC is too low… With the addition of furniture is even easier to “waste” all the 5 Slots!

      I hope that sooner or later the limit will be increased… 15 items would be enough, I guess…

      • Posted February 26, 2017 at 19:21 | Permalink | Reply

        The whole CC should be somehow updated. It’s merely impossible to find some good new content in there… :/

      • Posted February 27, 2017 at 14:36 | Permalink | Reply

        Maybe make it 50 but have a time limit of 2 items per day.

  10. Posted February 26, 2017 at 18:09 | Permalink | Reply

    Good idea, this is a good system for sleep in multiplayer

  11. colbyfranknorth
    Posted February 26, 2017 at 19:04 | Permalink | Reply

    I can’t wait to wake my brother with a bucket of water…preferably after most of his house is burned down.

  12. Posted February 26, 2017 at 19:16 | Permalink | Reply

    Shouldn’t you be waked up even if you change your position in the world? I can only imagine horrible pranks the other players could do to you sleeping with some pistons… It would wake you up IRL.

  13. Posted February 26, 2017 at 19:28 | Permalink | Reply

    Kaalus, I am wondering, what exactly do you mean by concoct?
    Are you using our skins as a reference?
    Or are you creating “Frankenstein’s skin” that is by mashing them together in Photoshop?

  14. Posted February 26, 2017 at 20:32 | Permalink | Reply

    Comments are really crazy on these posts, you know?

  15. Posted February 26, 2017 at 21:13 | Permalink | Reply

    Will there be a Snooze button? ;D

  16. Andrew Blake
    Posted February 26, 2017 at 22:00 | Permalink | Reply

    LOL

  17. Posted February 26, 2017 at 22:55 | Permalink | Reply

    What if the other player logs or something and the first guy is still trying to sleep?

  18. Posted February 26, 2017 at 23:03 | Permalink | Reply

    All I can say is your wasting your time on this. It’s just an inconvenient update for people who use phones. It’s such a hassle to connect your phone to the tv and then everyone else has to use gamepads. I’d just make 4 player split screen for any gaming systems and Bluetooth or wifi multiplayer so that you don’t have to go out and buy gamepads just to have someone help you with your house. I hope this isn’t the only grand feature because I’ll be disappointed with unnecessary multiplayer and the only feature I can really enjoy is the custom palette😕 I just figured you should know and while i think it’s a great game, is this feature really a smart one?

    • Posted February 27, 2017 at 05:38 | Permalink | Reply

      Stepping stones.

    • Posted February 27, 2017 at 14:38 | Permalink | Reply

      You might not like it others (including myself) enjoy split screen multiplayer a lot.

    • Posted February 27, 2017 at 23:33 | Permalink | Reply

      Many friends and I are looking foward to this. There is no need to be selfish just because you lack people to play with.

    • einenzipe
      Posted February 28, 2017 at 12:16 | Permalink | Reply

      Just one solution. Buy urself an ipad. LOL

  19. Posted February 27, 2017 at 03:34 | Permalink | Reply

    Kaalus, you should add animals breeding. So we haven’t run out food when animals can breed. Also, added new edible plants. Cassave, sweet potatoes or maybe yams will be good because it’s full of nutritious.I don’t know I’m just giving my idea since this game is all about survival. Thank you.

    • einenzipe
      Posted February 28, 2017 at 12:18 | Permalink | Reply

      I agree with the breed thing. Cuz… The food is limited. So we need breed to produce more food

  20. Posted February 27, 2017 at 06:43 | Permalink | Reply

    Ok this will make easy to sleep even outdoor in solo?

    • Posted February 28, 2017 at 02:46 | Permalink | Reply

      Maybe, but not likely, besides animals will still spawn in and kill you indoors or out if the area is large enough and poorly lit.

  21. Posted February 27, 2017 at 08:40 | Permalink | Reply

    I will troll my friend by pouring lava instead of water =)
    (the easiest way to make player wake)

  22. Posted February 27, 2017 at 08:47 | Permalink | Reply

    So did you find a way to prevent fluids from destroying everything on contact? That would be awesome. How many times I messed up, when accidently pouring water in my house.

    Can you make something that destroys water? Maybe a new “creative-exclussive” block that removes water and eventually destroys itself after it.

    Thank you for your good work!

    • Stanimus
      Posted February 27, 2017 at 23:32 | Permalink | Reply

      A bucket of water is one of the several items you should NEVER have in-hand until you are actually using it. It’s a hard lesson to learn, but learn it we must!

      • Posted March 2, 2017 at 04:39 | Permalink | Reply

        Why is it necessary in this game to have items that get washed away by water (accidents): crafting tables, chests, furnaces, torches, carpet, stairs, doors, fences, half-slabs of wood or stone??? Have I missed anything?! So ridiculous. Hey why not wipe out your whole shelter when you spill a bucket of water? It’s almost as much fun as when you go looking for pumpkins and die, and your spawn point is so far away everything you dropped is now gone. Yay!

        • Posted March 2, 2017 at 09:36 | Permalink

          It has to do with the amount of bits available to every block. Every block carries information, like colour, position (ex upside down stairs), whether it can contain stuff (chests), id numbers (ex id 1 might mean it is dirt) etc. Kaalus increased these bits from 16 to 32. Colour alone takes up 4 bits. He used the new bits for the furniture update by increasing the amount of id’s available. If the number is now at 1024, the furniture alone takes up 11 bits of the new 16 bits.

          For things under water, it carries the information whether these items can be under water (one bit) and if they are under water (one bit). These are the plants, urchins and sea stars. At this stage it seems like there are no bits available to store this information for other items like stairs. Stairs use this information space for direction, position and colour, which are not needed for sea plants. Also remember that the water flows, so rendering has to be done inside the block, which might be stairs or a crafting table, not even mentioning how complicated it would be for furniture. So, to make it easier, let these items just pop up when hit by water. Also remember that it is this very feature that makes it possible for auto farming.

          This is just my opinion, but I do believe this is the reason why water destroy items.

          Maybe Kaalus could at some stage give us a map of what all the bits do. Maybe he still has bits to spare. I’ll prefer for it to be rather used for more colours than water on stairs.

        • Stanimus
          Posted March 2, 2017 at 17:53 | Permalink

          I don’t think it’s that, Johan. Especially now that we have 32 bit blocks. The non blockers are not full blocks, so how should water act with them? Does water fill in the empy spaces within the block or does water stop at the edge of the block and have an invisible wall? The first would drastically increase the complexity of rendering water. The latter would just look funny and unrealistic. I think that’s the reason…

      • Posted March 2, 2017 at 04:58 | Permalink | Reply

        Also matches. Whoops, caught my house on fire (again). Burned up the crafting table and chest full of food and supplies. 😡

    • Posted March 3, 2017 at 07:11 | Permalink | Reply

      Couple suggestions, since I feel your pain… 1) put water in bucket(s) in one of your 4 self-crafting spaces. Then it has to be dragged into the main inventory to use it 2) whenever possible store them in furnace (handy in case you get hungry and want hard-boiled) 3) if you have to carry water around… don’t put it in your row of items ready to equip (like a machete or spears) store it in the extended inventory. Occasionally you need water to craft other things – just as easy to keep those buckets inside the crafting table. If chest is close to crafting table drag water buckets out of table directly into chest for storage (drag and drop). Doesn’t work the other direction. Empty buckets in crafting table can stay in the output slot until needed.

  23. josmile
    Posted February 27, 2017 at 10:04 | Permalink | Reply

    Need to increase the spawn rate of food animals.
    I created an icy world some weeks ago (no pumpkins – need meat) lots of lions and bears, some birds, not many animals the predators would prey on.

  24. Posted February 28, 2017 at 03:09 | Permalink | Reply

    THE ESSENTIAL WOULD BE PLACING THE LOCAL WIFI MODE TO HAVE GREATER GAME SPREAD

  25. Posted March 1, 2017 at 23:43 | Permalink | Reply

    Awesome idea here! Survivalman can have dreams when he’a sleeping consisting of potential things he can craft with items in his inventory. This could reveal or unlock items to craft, rather than relying on the built in ‘craft-pedia…’

    Maybe on the free version this is where advertisement can be placed… though I think I recall Kaalus saying he’s opposed it that kind of stuff.

    Other ideas could be, this is a level up screen where you obtain xp from surviving days… the xp could lead unlocking thungs to craft or small character stats improvement like health, spped, carrying capacity (ex: starting at 10 blocks per square up to the max of 64)… too much?

  26. Posted March 3, 2017 at 12:58 | Permalink | Reply

    Well I’m ready for Multiplayer I think …
    Got the best weapons to pick from, armor is useless against me.
    Got hiding places figured out where even looking under ground won’t help find me.
    Came up with some cheap ways to kill players that spawn in. (if they have a strict area they spawn inside … but this will likely get fixed.)
    Did some more testing, and got some more “FUN” treats to best other players, but I’ll save those for anyone that deserves a “special” death.

  27. Posted March 11, 2017 at 07:48 | Permalink | Reply

    I like this idea

  28. Posted March 22, 2017 at 01:57 | Permalink | Reply

    I was going to make a comment, but I fell asleeeeeeeeeeeeeeeeeeeeep. While I slept, I dreamed of shipwrecked souls bringing axes and spears to war on vast islands in unnamed seas. Battle raged from cliff tops overgrown in emerald vines to sandy beaches to the dark threats of cavernous chambers within the earth. Kegs of black powder awaiting an errant spark huddled together in the gloom, while miners scratched and broke the stone apart and smelted iron for swords. The smell of brimstone and coal fires rose up, mingling with that of roast ravens and seared bacon. Thunder rang all around and I caught a glimpse of my friend lying lifeless on the cold sod, his possessions scattered all around his unmoving form. (All except his socks which apparently vaporized instantly.).

  29. Posted June 9, 2017 at 02:48 | Permalink | Reply

    This multiplayer is not very good.

  30. Posted June 9, 2017 at 03:45 | Permalink | Reply

    Add in the game property play with the controller, sorry for my damaged English and i hope you understand my comment, GOOD LUCK.

Leave a Reply. No swearing please.

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s