# NOT Raft

**URL:** <https://forum.makecode.com/t/not-raft/4759>\
**Category:** Help\
**Created:** [December 2, 2020, 9:13pm UTC](https://forum.makecode.com/t/not-raft/4759 "2020-12-02T21:13:59Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [December 2, 2020, 9:14pm UTC](https://forum.makecode.com/t/not-raft/4759/1 "2020-12-02T21:14:00Z")

</div>

Here it is @shakao  
[https://makecode.com/\_h27ToKHccKEa](https://makecode.com/_h27ToKHccKEa)  
Press menu \> Hover above an empty tile and press B to build a raft piece (Score is materials)

---

<div class="post-metadata">

**Author:** ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)\
**Post date:** [December 2, 2020, 9:22pm UTC](https://forum.makecode.com/t/not-raft/4759/2 "2020-12-02T21:22:28Z")

</div>

Oh no! I was also building a raft game for the jam! Guess I’ll have to think of something else 😔.

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [December 2, 2020, 9:25pm UTC](https://forum.makecode.com/t/not-raft/4759/3 "2020-12-02T21:25:27Z")

</div>

wdym it is not raft… sorry… But you could make a similar game! Something with a fisher story or something

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [December 2, 2020, 9:29pm UTC](https://forum.makecode.com/t/not-raft/4759/4 "2020-12-02T21:29:21Z")

</div>

Or make a pirate ship battle game! With weapon uprades and speed upgrades and stuff!

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [December 2, 2020, 9:40pm UTC](https://forum.makecode.com/t/not-raft/4759/5 "2020-12-02T21:40:53Z")

</div>

So on menu button pressed build mode (bm) is set to 1  
If bm is 1 the cursor appears and building is possible, not moving  
Press again and bm is 2 building not possible, moving, cursor disappears; !!!bm resets to 0!!!  
Press menu again and bm will be set to 1 but the hammer does not appear…

> **[Raft Craft! 2](https://arcade.makecode.com/42625-55840-21371-71632)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)\
**Post date:** [December 2, 2020, 9:45pm UTC](https://forum.makecode.com/t/not-raft/4759/6 "2020-12-02T21:45:31Z")

</div>

Here’s the issue! You need to set “build mode lock” to zero also, otherwise you are locked out of build mode the next time you press the menu button:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/a6da3ac63e9ddf1c4a749418e023c78c9bed1739.png)

@GameGod It’s totally fine to have two raft-themed games for the jam! We have had a lot of similar concepts in the past (racing games, crossy-road type games) and it was still interesting to see how people executed them in different ways!

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [December 2, 2020, 9:47pm UTC](https://forum.makecode.com/t/not-raft/4759/7 "2020-12-02T21:47:21Z")

</div>

TYSM @shakao

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [December 4, 2020, 5:25pm UTC](https://forum.makecode.com/t/not-raft/4759/8 "2020-12-04T17:25:18Z")

</div>

NEW ISSUE!  
Can not read property ‘fields’ of null  
… See yourself!  
(Score is material)

Press menu \> Press A \> Select (30) Water \> go ever a random piece of your raft \> Press B to place the water cleaner \> Press menu to exit build mode \> overlap with the water cleaner and press B \> ERROR… (this should hapen: wait 10 seconds \> Overlap with it and your thirst bar (blue) will go up)

Press menu \> Press A \> Select (50) Food\> go ever a random piece of your raft \> Press B to place the cooking place \> Press menu to exit build mode \> overlap with the cooker and press B \> ERROR… In debug it shows the Block: if player overlap with water cleaner then… (this should happen: wait 10 seconds \> Overlap with it and your hunger bar (Brown) will go up)

Now… If you place both (water cleaner and cooker) IT WORKS…  
But still on the first clean/ cook they teleport… HUH  
HEEEEELLLLP @shakao @jwunderl @darzu @richard @livcheerful @hassan

> **[Raft Craft! 8](https://arcade.makecode.com/76499-19085-21028-60596)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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:** [December 4, 2020, 5:51pm UTC](https://forum.makecode.com/t/not-raft/4759/9 "2020-12-04T17:51:42Z")

</div>

When you see that error, it usually means that you have a variable that you are using before you set it to anything. The easiest way to figure it out is to use the debugger, press the bug button under the simulator to enter debug mode. Then, when the bug occurs the simulator should freeze and the block that is causing the bug will be highlighted

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [December 4, 2020, 6:04pm UTC](https://forum.makecode.com/t/not-raft/4759/10 "2020-12-04T18:04:50Z")

</div>

I did that! If I tried out the water the error is at the food (and the other way around) but I still dont know exactly what I should change to fix that

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [December 4, 2020, 6:05pm UTC](https://forum.makecode.com/t/not-raft/4759/11 "2020-12-04T18:05:31Z")

</div>

OK PROBLEM SOLVED!!!  
Thanks  
I put a variable to true and made an if to check if a water cleaner/ cooking thing id placed  
Thanks for the help

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [December 5, 2020, 8:33pm UTC](https://forum.makecode.com/t/not-raft/4759/12 "2020-12-05T20:33:46Z")

</div>

I know it is not christmas yet… but still here you go! (Press A to start/ B to stop)

> **[Jingle Bells Xmas](https://makecode.microbit.org/76191-94632-74156-82137)**
>
> Erstellt mit ❤️ in Microsoft MakeCode for micro:bit.

  
@GameGod @richard @shakao @jwunderl@livcheerful @darzu @hassan @Colethewolf @Kat @UnderwaterAstronaut

---

<div class="post-metadata">

**Author:** ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)\
**Post date:** [December 6, 2020, 7:28pm UTC](https://forum.makecode.com/t/not-raft/4759/13 "2020-12-06T19:28:50Z")

</div>

That is awesome, very well made.

---

<div class="post-metadata">

**Author:** ![andrew-ski](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/andrew-ski/32/1774_2.png) [@andrew-ski](https://forum.makecode.com/u/andrew-ski)\
**Post date:** [December 6, 2020, 7:29pm UTC](https://forum.makecode.com/t/not-raft/4759/14 "2020-12-06T19:29:36Z")

</div>

Ask and ye shall [receive!](https://forum.makecode.com/t/the-jolly-dodger/4796/4)
