# The Siege and The Sandfox - A Stealthvania set in an ancient desert kingdom

**URL:** <https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [March 31, 2016, 12:27pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803 "2016-03-31T12:27:30Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![HeavyBullets](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HeavyBullets](https://forums.unrealengine.com/u/HeavyBullets)\
**Post date:** [November 1, 2017, 3:21pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/82 "2017-11-01T15:21:28Z")

</div>

Is that occluder done via LineTraces and creating a static mesh plane to put a translucent black material? i ask because we had to do kinda the contrary to fake a 2d light shaft and that was the solution we came across…

Great work man!

---

<div class="post-metadata">

**Author:** ![Chris\_Wilson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Wilson](https://forums.unrealengine.com/u/Chris_Wilson)\
**Post date:** [November 3, 2017, 8:36am UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/83 "2017-11-03T08:36:20Z")

</div>

> [@HeavyBullets](#):
>
> Is that occluder done via LineTraces and creating a static mesh plane to put a translucent black material? i ask because we had to do kinda the contrary to fake a 2d light shaft and that was the solution we came across…
> 
> Great work man!

I was curious about this myself, so I asked our coder, Ben how it worked:

> [@](#):
>
> Basically locate outside edges on all the geometry passed as occlusion geometry (this is just a case of finding edge id’s that aren’t duplicated (by that I mean share the same verts in any order) then take each outside edge and build a stitching quad.
> 
> The stitching quad is just a zero sum face that has all of its vertices mapped exactly on the the outside edge. The trick is to make sure that one edge of the quad has normals that point out from the source mesh and one edge has normals that actually point out from the edge the stitch quad is generated from so they should be relatively perpendicular.
> 
> Then in the vertex shader, calculate the vector from the view position to the vertex and dot product that with the normal (vertex normal) both normalised of course. If the result is \> zero add an offset to the current vertex position.
> 
> We actually use the flipped version of that, but the principle is the same.

Hopefully that helps! Let me know if you need more information. I’m hoping to cover this in more detail in an upcoming stream / youtube video as there’s been a fair amount of interest 🙂

---

<div class="post-metadata">

**Author:** ![Chris\_Wilson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Wilson](https://forums.unrealengine.com/u/Chris_Wilson)\
**Post date:** [November 3, 2017, 8:40am UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/84 "2017-11-03T08:40:07Z")

</div>

Speaking of livestreams, here’s the final video in our ‘Playtest Build’ series:

=LDa8FSFVlpg

Let us know what you think 🙂

---

<div class="post-metadata">

**Author:** ![HeavyBullets](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HeavyBullets](https://forums.unrealengine.com/u/HeavyBullets)\
**Post date:** [November 3, 2017, 6:12pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/85 "2017-11-03T18:12:03Z")

</div>

Hey thanks! that helps a lot… just a follow up question for your developer… is this all done via material? or is it done on normal blueprint/c++?  
I’m fairly interested because we had to make a “dynamic light” using runtime meshes… but we’re thinking there must be a better way to achieve this.  
The major problem we had is getting the edges of the obstacles without having to do “n” line traces which are very slow to mantain…

For an idea of our “simple” solution:  
[http://www.criticalfailure-studio.co…hts-on-unreal/](http://www.criticalfailure-studio./faking-2d-lights-on-unreal/)

But i’m really looking for a better solution than that…  
Our biggest problem is precisely “locating” the edges of the geometry without having to linetrace everything… how do you acomplish that?

A devblog entry of that solution would be awesome (only if you plan on sharing it obviously) because i think it’s a really neat way of solving that problem

Great work btw… hope the plugin is working for you too

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [November 13, 2017, 5:05pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/86 "2017-11-13T17:05:23Z")

</div>

‘Never say final’ as the famous saying goes…

Here’s week 6:

[https://www.youtube](https://www.youtube)./watch?v=MsubPn-Sce0

Also, don’t forget that tomorrow we will have our Community Led Unreal Training Session, teaching ‘Getting Started with Paper2D’. You can get links and more info **here** ]([https://forums.unrealengine](https://forums.unrealengine)./unreal-engine/events/1382018-community-led-training-getting-started-with-paper-2d-nov-14-chris-wilson-cardboard-sword).

---

<div class="post-metadata">

**Author:** ![Krayfishkarl](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/krayfishkarl/32/595425_2.png) [@Krayfishkarl](https://forums.unrealengine.com/u/Krayfishkarl)\
**Post date:** [November 13, 2017, 6:39pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/87 "2017-11-13T18:39:41Z")

</div>

I’m really liking this pixel art style, especially that UE4 logo in the video. Very good job!

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [November 20, 2017, 12:46pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/88 "2017-11-20T12:46:41Z")

</div>

You can watch the catch-up video of our stream ‘[Getting Started with Paper2D](https://www.youtube./watch?v=a1hKdNauLLw)’ right here:

=a1hKdNauLLw

---

<div class="post-metadata">

**Author:** ![SertacOgan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sertacogan/32/970490_2.png) [@SertacOgan](https://forums.unrealengine.com/u/SertacOgan)\
**Post date:** [November 20, 2017, 3:14pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/89 "2017-11-20T15:14:31Z")

</div>

This looks amazing guys!

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [November 28, 2017, 10:00am UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/90 "2017-11-28T10:00:02Z")

</div>

Week 7 of our streams is now available:

=m84ogzw7p3Q

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fec8905c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fec8905c](https://forums.unrealengine.com/u/anonymous_user_fec8905c)\
**Post date:** [November 30, 2017, 1:10am UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/91 "2017-11-30T01:10:05Z")

</div>

Really enjoying the visuals. Stealth mechanics in a 2D environment sounds compelling as well.

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [December 5, 2017, 11:46am UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/92 "2017-12-05T11:46:29Z")

</div>

You can now watch week 8 of our streams, right **here** ]([https://www.youtube](https://www.youtube)./watch?v=qQITQUQAb1s)!

=qQITQUQAb1s

---

<div class="post-metadata">

**Author:** ![Mr\_SquarePeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_SquarePeg](https://forums.unrealengine.com/u/Mr_SquarePeg)\
**Post date:** [December 5, 2017, 12:53pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/93 "2017-12-05T12:53:54Z")

</div>

This game looks beautiful 😃

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [January 16, 2018, 8:35pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/94 "2018-01-16T20:35:13Z")

</div>

We did an interview with Gamasutra about our hand-painted normal maps. You can [read it here](https://www.gamasutra./view/news/312977/Adding_depth_to_2D_with_handdrawn_normal_maps_in_The_Siege_and_the_Sandfox.php).

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [January 31, 2018, 11:05am UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/95 "2018-01-31T11:05:44Z")

</div>

We did a more general interview with Unwinnable, which you can [read here](https://unwinnable./2018/01/26/the-siege-and-the-sandfox/) for free.

It covers information about our **inspirations, visuals, stealth systems and more** , as well as talking about winning the **Unreal Dev Grant**.

If you like the article, please consider subscribing to their journal.

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [March 1, 2018, 11:48am UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/97 "2018-03-01T11:48:53Z")

</div>

We’re going to be at **EGX Rezzed 2018** ]([https://www.egx.net/rezzed](https://www.egx.net/rezzed)) (London, UK) from April 13-15th, alongside our publishing partners, Chucklefish. Come and play the latest demo of our Stealthvania, while checking out Chucklefish’s latest projects, including Wargroove.

Week 9 of our live streams is now also available on our YouTube channel, and embedded here for your convenience:

=\_2Jkugf1F9Y

---

<div class="post-metadata">

**Author:** ![AlonzoCPO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlonzoCPO](https://forums.unrealengine.com/u/AlonzoCPO)\
**Post date:** [March 5, 2018, 8:18am UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/98 "2018-03-05T08:18:57Z")

</div>

> [@O.Bennett](#):
>
> We’re going to be at **EGX Rezzed 2018** ]([https://www.egx.net/rezzed](https://www.egx.net/rezzed)) (London, UK) from April 13-15th, alongside our publishing partners, Chucklefish. Come and play the latest demo of our Stealthvania, while checking out Chucklefish’s latest projects, including Wargroove.
> 
> Week 9 of our live streams is now also available on our YouTube channel, and embedded here for your convenience:
> 
> =\_2Jkugf1F9Y

Congrats guys!

Really do love your streams. Over here on my team, we’ve really enjoyed the art direction and the utilization of UEs dynamic lighting.

You guys are really putting the hammer to the floor with this!

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [March 6, 2018, 3:25pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/99 "2018-03-06T15:25:54Z")

</div>

> [@AlonzoCPO](#):
>
> Congrats guys!
> 
> Really do love your streams. Over here on my team, we’ve really enjoyed the art direction and the utilization of UEs dynamic lighting.
> 
> You guys are really putting the hammer to the floor with this!

Thanks very much! Is Never Go Home built in Unreal too?

Also week 10 is available here:

=5UnsFTaV1YE

---

<div class="post-metadata">

**Author:** ![AlonzoCPO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlonzoCPO](https://forums.unrealengine.com/u/AlonzoCPO)\
**Post date:** [March 12, 2018, 11:23am UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/100 "2018-03-12T11:23:58Z")

</div>

> [@O.Bennett](#):
>
> Thanks very much! Is Never Go Home built in Unreal too?
> 
> Also week 10 is available here:
> 
> =5UnsFTaV1YE

It is actually. We’re using a mix of sprites and 3d objects for out style and to create our environments. So on one hand, watching your dev streams and the explanations on how you’ve achieved certain things, was something we couldn’t ignore.

In short, its always fun to see how devs solve similar problems differently!

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [March 14, 2018, 12:37pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/101 "2018-03-14T12:37:38Z")

</div>

> [@AlonzoCPO](#):
>
> It is actually. We’re using a mix of sprites and 3d objects for out style and to create our environments. So on one hand, watching your dev streams and the explanations on how you’ve achieved certain things, was something we couldn’t ignore.
> 
> In short, its always fun to see how devs solve similar problems differently!

Fantastic. It’s really cool to know our streams are being watched, appreciated, and hopefully used in some way to help others with their projects.

On a separate note, we have a bunch of new screenshots coming soon, and a new trailer is in the works - showing off the game like never before. I’ll be sure to share them here once released.

For now, here’s week 11 of our streams. Let us know if you have any questions, or if there is anything you would like us to raise or show on our streams.

=Qu0wgvgqXg8

---

<div class="post-metadata">

**Author:** ![O.Bennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@O.Bennett](https://forums.unrealengine.com/u/O.Bennett)\
**Post date:** [April 9, 2018, 12:00pm UTC](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803/102 "2018-04-09T12:00:17Z")

</div>

We now have a **Discord server** , if people want to ask us questions, or follow the game there. [Join here](https://discord.gg/siegefox).

Late to share, but week 12 of our dev blogs is also up on YouTube:

=FZtWBqLK7Ko

[Previous page](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803.md?page=4)

[Next page](https://forums.unrealengine.com/t/the-siege-and-the-sandfox-a-stealthvania-set-in-an-ancient-desert-kingdom/59803.md?page=6)
