# Bloons Tower Defense v3

**URL:** https://forum.makecode.com/t/bloons-tower-defense-v3/9688
**Category:** Show & Tell
**Tags:** game, featured-game
**Created:** [August 18, 2021, 12:44am UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688 "2021-08-18T00:44:43Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [August 18, 2021, 12:44am UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/1 "2021-08-18T00:44:43Z")

</div>

h e h e

> **[Bloons Tower Defense v3](https://arcade.makecode.com/48471-08362-35315-17829)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

> **Controls**
>
> While in map selector:
> 
> - ← and → (on keyboard you can also use a and d respectively): Choose between maps
> - A (on keyboard which is q or space): Select map to play
> 
> While in-game:
> 
> - ←, →, ↑, and ↓ (alternatively you can use a, d, w, and s): Move cursor
> - B (on keyboard which is e or enter): Open new tower menu if on blank tile, otherwise upgrade menu. Note the overlap point is at the **very top left of the cursor**.
> 
> While in menu:
> 
> - ↑ and ↓ (alternatively you can use w and s): Move cursor
> - A: Select option

For playability, it is recommended to play (or edit, cause it was all made in blocks) this on a high-end computer.

Lots of similarities between the [last version](https://forum.makecode.com/t/bloons-tower-defense-v2/5050) as well, so if you played that version you’ll be right at home, including in some of the maps. (\*cries in an inability to design tilemaps\*)

Also, it seems like the game dialogs (like “Not enough money”) like to break my TilemapPath extension and throw an error so try to avoid doing that while in a wave lol.

Please don’t hesitate to report bugs and suggestions! 😄 (hopefully monkey wizards, spike factories, and subs make it in a future update but no promises!)

> **Extensions used**
>
> You can look in [pxt.json](https://github.com/UnsignedArduino/Bloons-Tower-Defense-v3/blob/master/pxt.json) for the exact dependencies as well. 🙂
> 
> - [TilemapPath](https://github.com/UnsignedArduino/TilemapPath)
> - [Stats](https://github.com/UnsignedArduino/Stats)
> - [Notifications](https://github.com/unsignedarduino/notifications)
> - Timers
> - tilemaps
> - ✨ **ARCADE-SPRITE-DATA** ✨
> - pxt-status-bar
> - [block-menu](https://github.com/riknoll/arcade-custom-menu)
> - [pxt-scaling](https://github.com/jwunderl/pxt-scaling)
> - [arcade-shader](https://github.com/riknoll/arcade-shader)
> - [arcade-text](https://github.com/pelikhan/arcade-image-text)
> - [ColorBlock](https://github.com/UnsignedArduino/ColorBlock)

If the loading time is too slow, you can edit the project, find the `set_variables` function (next to the `on start` block), and set `dart_angle_precision` to a number between 1 and 360 that is also a factor of 360. (ex, 36) (defaults to 60) The higher the number, the more “high-resolution” the rotation of the projectile. Significantly low numbers (\<8) can affect the dart precision. There are also other variables in there like `game_lose_on_0_lives` and `lots_of_money` which should be self-explanatory. 🙂

GitHub repo:

> **[GitHub - UnsignedArduino/Bloons-Tower-Defense-v3: Version 3 of the original...](https://github.com/UnsignedArduino/Bloons-Tower-Defense-v3)**
>
> Version 3 of the original Bloons Tower Defense on MakeCode Arcade! - GitHub - UnsignedArduino/Bloons-Tower-Defense-v3: Version 3 of the original Bloons Tower Defense on MakeCode Arcade!

---

<div class="post-metadata">

### Author: ![jackal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jackal/32/19506_2.png) [@jackal](https://forum.makecode.com/u/jackal)
#### Post date: [August 18, 2021, 7:08pm UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/2 "2021-08-18T19:08:04Z")

</div>

It was the sharks, the serpents, and now… **balloons**

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [August 19, 2021, 7:15am UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/3 "2021-08-19T07:15:52Z")

</div>

you never stop making good games, eh? that dedication tho, damn

---

<div class="post-metadata">

### Author: ![tmoneytroy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/tmoneytroy/32/11650_2.png) [@tmoneytroy](https://forum.makecode.com/u/tmoneytroy)
#### Post date: [November 6, 2023, 6:50pm UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/4 "2023-11-06T18:50:01Z")

</div>

2 years later we need to make a new version

---

<div class="post-metadata">

### Author: ![TheGreenArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thegreenartist/32/11096_2.png) [@TheGreenArtist](https://forum.makecode.com/u/TheGreenArtist)
#### Post date: [November 6, 2023, 7:42pm UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/5 "2023-11-06T19:42:47Z")

</div>

Welcome to the community @tmoneytroy!

---

<div class="post-metadata">

### Author: ![ZeroFall](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zerofall/32/34898_2.png) [@ZeroFall](https://forum.makecode.com/u/ZeroFall)
#### Post date: [November 1, 2024, 2:40am UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/6 "2024-11-01T02:40:14Z")

</div>

Now @UnsignedArduino we just need bloons v4 in a few years or so (or whenever you’re done having a life and decided that us fans need an update)

---

<div class="post-metadata">

### Author: ![DA\_PRO\_PLAYZ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/da_pro_playz/32/19214_2.png) [@DA\_PRO\_PLAYZ](https://forum.makecode.com/u/DA_PRO_PLAYZ)
#### Post date: [January 24, 2025, 5:51pm UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/7 "2025-01-24T17:51:49Z")

</div>

Yo @UnsignedArduino, I’m trying to make a tower defense game, can I borrow some of this code?

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [January 25, 2025, 8:40pm UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/8 "2025-01-25T20:40:59Z")

</div>

Of course!

---

<div class="post-metadata">

### Author: ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)
#### Post date: [January 27, 2025, 7:25pm UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/9 "2025-01-27T19:25:58Z")

</div>

Peak classic

---

<div class="post-metadata">

### Author: ![zef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zef/32/28163_2.png) [@zef](https://forum.makecode.com/u/zef)
#### Post date: [February 3, 2025, 5:55pm UTC](https://forum.makecode.com/t/bloons-tower-defense-v3/9688/10 "2025-02-03T17:55:15Z")

</div>

I also want to ask if its ok for me to borrow some code for my game.
