New Lighting Model

Thank you for all the world suggestions you sent me, both in comments and via email. I will be refreshing the pre-moderated list in the community content soon. Please keep the names coming.

And here’s another 2.2 video for you:

The “trick” I mention in the video allowed the game to run reasonably fast in 2011 on 1st gen Windows Phone 7 devices (btw. does anyone here still remember those glory days?)

As you can imagine, these ancient phones had very slow, single core CPUs. On top of that, the WP7 .NET jitter was producing very poorly optimized code. I had to use every trick in the book to make the game not pause for 3 seconds every time you changed a block in the world :-)

One of them, the lighting “trick”, is long obsolete. Today’s phones are as fast, if not faster, than the PC I originally developed the game on in 2011. Hence the new lighting code.

I expected the slowdown to be much bigger than the 5%, because there is a lot more calculation involved. But here we are – probably the code is bottlenecked on memory access anyway (it’s scanning the huge array of blocks), so extra ALU operations make little difference.

To clarify: the 5% does not affect frames per second. The calculation only happens when you change some blocks in the world, not continuously. The little invisible hiccups that happen when you dig a block will now be 5% bigger.

40 Comments

  1. Nathan Hohnberger
    Posted December 11, 2019 at 21:24 | Permalink | Reply

    First

    • Nathan Hohnberger
      Posted December 11, 2019 at 21:26 | Permalink | Reply

      Let’s go! I saw the vid come out on YouTube before you posted! I love what you did it makes the game so much more realistic and it will fix so many things that I build!

      • huchokk _
        Posted December 11, 2019 at 21:28 | Permalink | Reply

        New water physics will be awesome also.

  2. Chris Drake
    Posted December 11, 2019 at 21:24 | Permalink | Reply

    “No more stubborn dark corners”

    That’s more than enough for me!

  3. huchoko _
    Posted December 11, 2019 at 21:26 | Permalink | Reply

    We also need new water physics, for example, the most annoying thing is that water destroys slabs, stairs and furniture. I will like to see the same water physics that Minecraft introduced.
    It will allow to make maps with more detail.

  4. Posted December 11, 2019 at 21:26 | Permalink | Reply

    That’s cool because the old method could get really annoying sometimes

    • Posted December 11, 2019 at 21:31 | Permalink | Reply

      It easily looks so much better, it makes the game look clearer overall also

  5. Elma
    Posted December 11, 2019 at 21:28 | Permalink | Reply

    you can add more flying animals

  6. Elma
    Posted December 11, 2019 at 21:29 | Permalink | Reply

    you can add more flying animals.

  7. Elma
    Posted December 11, 2019 at 21:29 | Permalink | Reply

    you can add more flying animals,

  8. Posted December 11, 2019 at 21:31 | Permalink | Reply

    Amazing! Can’t wait to see this in action as it will be great when mining! :)
    Also, could you add a search bar for the community content section as it is hard to find specific worlds and such. This would really help people find the worlds they want! :)

    • huchokk _
      Posted December 11, 2019 at 21:32 | Permalink | Reply

      And a preview feature for texture packs and skins

  9. Jonas D
    Posted December 11, 2019 at 21:35 | Permalink | Reply

    Here’s a very quick fix for you to possibly change:

    In the last update you changed the name of the crafting table to “workbench”. However, in the help section for crafting, you call it the crafting table. Maybe you should update the help section for crafting?

  10. Winter Wolves
    Posted December 11, 2019 at 21:42 | Permalink | Reply

    I must know if you are considering to ever work on us being able to tame animals???? It would be nice to have dogs and cats. To make it realistic you can make it take a certain amount of time before a wolf trusts you and follows you by your side. I do not like the way Minecraft makes the wolves change color because that isn’t real. Also have a way for animals like cattle to trust you too. I hate having to kill the bull (the protector of the cows) just so I can feed the cows and milk them. Same goes for the ostrich, they always run away when I go in the collect the eggs. Eventually, after being with you they would know and trust you wouldn’t they??

    • Loopy Doopy
      Posted December 12, 2019 at 01:27 | Permalink | Reply

      Yee I agree

  11. Posted December 11, 2019 at 21:42 | Permalink | Reply

    I have just one question, will it affect fast PC as much as it affects fast phones?
    I mean, will be there these “the little invisible hiccups” if I use pretty good computer?

  12. Edgar De La Luz
    Posted December 11, 2019 at 21:45 | Permalink | Reply

    and if he adds another monster like the mutant wolf …

  13. vulkanx
    Posted December 11, 2019 at 21:46 | Permalink | Reply

    Already in big worlds my phone has one of these “hiccups” when I break or place a block

  14. Mr Oscar
    Posted December 11, 2019 at 21:49 | Permalink | Reply

    Also cell trapdoors can be used as furnace fuel. Please fix that bug

  15. Mr Oscar
    Posted December 11, 2019 at 21:51 | Permalink | Reply

    How about making a setting so we can decide for fancy vs speed?

  16. Tom Fryers
    Posted December 11, 2019 at 21:55 | Permalink | Reply

    I started playing quite a while ago (the 2013 first iOS release on my iPod, back when MCPE didn’t even have buckets). The new lighting model is great, as well: those dark corners were always annoying.

  17. Alternate Person
    Posted December 11, 2019 at 21:59 | Permalink | Reply

    I thought that said “new lightning mode!” at first, I was hyped for a second! Anyway, I’m not sure how I feel about the new lighting. It’s probably just nostalgia not wanting to let go of the old stuff, this will probably make lighting up places way nicer!

  18. Posted December 11, 2019 at 22:13 | Permalink | Reply

    Man, you’re on fire! So many posts within the last few days. I just hope you don’t go silent on us again after the update.

    • forsurvivalcraft
      Posted December 12, 2019 at 12:56 | Permalink | Reply

      I agree with you. Kaalus, please keep post every week or every month. It will be very disappointing if you go silent for a whole year or longer.

  19. Alex Lesser
    Posted December 11, 2019 at 22:14 | Permalink | Reply

    Different to others here I will not tell you what you have to do.
    I just tell you how awesome you are and how thankful we are to witness your work in progress!

  20. Tee Ron
    Posted December 11, 2019 at 22:25 | Permalink | Reply

    One step closer to full on shaders. This is awesome

  21. Posted December 12, 2019 at 01:13 | Permalink | Reply

    FANTASTIC improvement on the lighting! Really nice! Put that music in the game, it’s perfect.

    • Tee Ron
      Posted December 12, 2019 at 14:20 | Permalink | Reply

      That music is in the game lol

      • Posted December 14, 2019 at 20:11 | Permalink | Reply

        Heh yeah the menu! Is there a way to listen to it during gameplay?

  22. Ben B
    Posted December 12, 2019 at 04:47 | Permalink | Reply

    It just gets better!!! WooHooo 2.2!!! Wait, have I counted past 8 new things lol?

  23. Johan Steyn
    Posted December 12, 2019 at 05:27 | Permalink | Reply

    Thanks, great update.

  24. EroEquus
    Posted December 12, 2019 at 12:15 | Permalink | Reply

    Speaking of lighting… can you make torches light up while holding would make it easier for exploring/going way back to your base at night^^

  25. forsurvivalcraft
    Posted December 12, 2019 at 13:05 | Permalink | Reply

    Yeah, the idea of hand-held torch is nice. Each hand-held torch will burn for a few minutes. It makes the game more realistic.

  26. Wyatt Moe
    Posted December 12, 2019 at 23:43 | Permalink | Reply

    Maybe you can add wax candles and thirst that’ll be cool. Awesome lighting sounds excellent.

  27. jwr2002
    Posted December 13, 2019 at 00:45 | Permalink | Reply

    Hey guys I’m asking for advice…

    About a year ago my friend, my brother, and I posted worlds onto the community. They were pretty good and did better than expected, but after a few days, they disappeared from the community entirely.
    I have posted other worlds since then, and they either would never show up, or they would disappear after a bit.

    How do I keep my worlds on the community? Please help!!

  28. general league
    Posted December 13, 2019 at 01:19 | Permalink | Reply

    Hey don’t you think that you should add another weapon similar to the gun

  29. jwr2002
    Posted December 13, 2019 at 05:54 | Permalink | Reply

    Okay, but, hear me out…

    Ice boxes!

    Seriously though, in challenging mode, hunger is, realistically one of the biggest things that stands between you and not dying. This is good, as it Encourages you to hunt animals, harvest crops, and build a safe place to cook it in.
    The rot feature means that you cannot stockpile food, other than sea urchins, (which I keep in chests for times of need) but they have little nutritional value.

    Ice boxes would allow you to store meats or soups safely without having to worry about it rotting.
    Ice boxes could be built on a workbench with a chest and four blocks of ice. (Ice blocks could be harvested by using copper or iron machete. This would encourage exploration of cold biomes, which most players find unpleasant. Also, can you imagine how difficult it would be to mine cold, slippery ice while standing on cold, slippery ice, trying not to fall into the instant death that is frigid water, in the middle of a freeze your cotton socks off wasteland? What terror! What hopelessness! What fun!

    Just think of the possibilities! Should ice boxes attract predators? Should bears be able to destroy them and eat your hard earned supper? Just some food for thought…

    • jwr2002
      Posted December 13, 2019 at 05:59 | Permalink | Reply

      Ahem! *Slaps my ungrateful self*

      Thanks for fixing the lighting! I can’t think of a single one of my worlds this won’t improve. Can’t wait for the update!

    • jwr2002
      Posted December 13, 2019 at 06:15 | Permalink | Reply

      Frozen food would have very little nutritional value, (as it would be difficult to eat) but it could be removed from the ice box to thaw. After thawing, food would return to whatever state it was in prior to freezing, ( raw/cooked) and would regain it’s value.

      The ice box would only have four slots for holding food,
      And could (maybe?) be carried while full, unlike the chest.

      The ice box would be nice for long mining and caving ventures, and also handy for lengthy construction projects, or just extended stays at home.

      It would be especially

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s