# A darker falling duck... (game)

**URL:** <https://forum.makecode.com/t/a-darker-falling-duck-game/67>\
**Category:** Arcade\
**Tags:** game\
**Created:** [February 21, 2019, 7:31pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67 "2019-02-21T19:31:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [February 21, 2019, 7:31pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/1 "2019-02-21T19:31:28Z")

</div>

I’ve been playing around with lighting effects in Arcade and created a little demo program featuring our fearless duck protagonist in a deep-dark cave. Got the inspiration from [https://hackernoon.com/pico-8-lighting-part-1-thin-dark-line-8ea15d21fed7](https://hackernoon.com/pico-8-lighting-part-1-thin-dark-line-8ea15d21fed7)

![falling-duck-nights](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/711d773c09adc6003dd84b3d577c594ea3bf1b21.png)

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [February 21, 2019, 7:31pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/2 "2019-02-21T19:31:59Z")

</div>

And here’s a link: [https://makecode.com/\_fV0RvkbjwR2p](https://makecode.com/_fV0RvkbjwR2p)

---

<div class="post-metadata">

**Author:** ![Adri314](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/adri314/32/182_2.png) [@Adri314](https://forum.makecode.com/u/Adri314)\
**Post date:** [June 7, 2019, 10:34pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/3 "2019-06-07T22:34:02Z")

</div>

Love the aesthetics of your game. Really cool use of the palette.

---

<div class="post-metadata">

**Author:** ![aberrantcurse](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aberrantcurse/32/615_2.png) [@aberrantcurse](https://forum.makecode.com/u/aberrantcurse)\
**Post date:** [February 16, 2020, 7:36am UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/4 "2020-02-16T07:36:57Z")

</div>

How? Please teach me!

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [February 18, 2020, 6:48pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/5 "2020-02-18T18:48:28Z")

</div>

@aberrantcurse what’s your question? I’m happy to write up an explanation!

---

<div class="post-metadata">

**Author:** ![aberrantcurse](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aberrantcurse/32/615_2.png) [@aberrantcurse](https://forum.makecode.com/u/aberrantcurse)\
**Post date:** [February 24, 2020, 9:43pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/6 "2020-02-24T21:43:31Z")

</div>

i’d like to know how you did the lighting effects. when i copy and paste into my game it doesn’t work

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [February 24, 2020, 10:40pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/7 "2020-02-24T22:40:13Z")

</div>

Are you coding in Blocks or JavaScript?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [February 24, 2020, 10:44pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/8 "2020-02-24T22:44:44Z")

</div>

If you’re looking to see how it’s implemented, you should check out [this blog post](https://hackernoon.com/pico-8-lighting-part-1-thin-dark-line-8ea15d21fed7) which does a better job of explaining the approach than I can.

If you just want to use the effect, I’ve made an extension for you. You can grab it from here:

> **[riknoll/pxt-lantern](https://github.com/riknoll/pxt-lantern)**
>
> A lantern effect for MakeCode Arcade. Contribute to riknoll/pxt-lantern development by creating an account on GitHub.

And here is a test game that uses it:

> **[lantern-test](https://arcade.makecode.com/17080-06689-77092-51595)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Press A to turn off the lights and B to turn the lights back on.

---

<div class="post-metadata">

**Author:** ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)\
**Post date:** [June 1, 2021, 2:47am UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/9 "2021-06-01T02:47:30Z")

</div>

very useful 🙂

---

<div class="post-metadata">

**Author:** ![applecat1025](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@applecat1025](https://forum.makecode.com/u/applecat1025)\
**Post date:** [May 19, 2026, 4:02pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/10 "2026-05-19T16:02:41Z")

</div>

Hi Richard, when implementing this extension into my game, I noticed that not more than one lantern effect can be used at the same time. Is there a way to fix this, or was this something done on purpose?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [May 19, 2026, 7:03pm UTC](https://forum.makecode.com/t/a-darker-falling-duck-game/67/11 "2026-05-19T19:03:15Z")

</div>

that’s intended! there are some community extensions that let you use more than one at once, i recommend searching those out!
