# Let's fight and......much more

**URL:** <https://forum.makecode.com/t/lets-fight-and-much-more/9535>\
**Category:** Arcade\
**Tags:** game\
**Created:** [August 5, 2021, 12:44am UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535 "2021-08-05T00:44:07Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![felixtsu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/felixtsu/32/12024_2.png) [@felixtsu](https://forum.makecode.com/u/felixtsu)\
**Post date:** [March 24, 2023, 4:47pm UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/21 "2023-03-24T16:47:59Z")

</div>

different stage is managed by tilemaps, and can be changed here.

> <https://github.com/cubicbird/fightextension/blob/7da4213d64b620a0f17c5fa52ab90ba5a7f06f05/playgame.ts#L337>

---

<div class="post-metadata">

**Author:** ![Nerdiest](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nerdiest/32/10678_2.png) [@Nerdiest](https://forum.makecode.com/u/Nerdiest)\
**Post date:** [March 27, 2023, 11:16pm UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/22 "2023-03-27T23:16:15Z")

</div>

Thanks! (it is okay if I use this right?)

---

<div class="post-metadata">

**Author:** ![Allo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/allo/32/9340_2.png) [@Allo](https://forum.makecode.com/u/Allo)\
**Post date:** [March 27, 2023, 11:18pm UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/23 "2023-03-27T23:18:33Z")

</div>

How do you make things take health?

---

<div class="post-metadata">

**Author:** ![felixtsu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/felixtsu/32/12024_2.png) [@felixtsu](https://forum.makecode.com/u/felixtsu)\
**Post date:** [March 28, 2023, 9:54pm UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/24 "2023-03-28T21:54:43Z")

</div>

I didn’t manage to import tilemaps from imported extensions, like i did for the fighters, so may required to fork the repo and add / change the default tilemap (line 338 tilemap`级别1` )

---

<div class="post-metadata">

**Author:** ![felixtsu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/felixtsu/32/12024_2.png) [@felixtsu](https://forum.makecode.com/u/felixtsu)\
**Post date:** [March 28, 2023, 9:54pm UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/25 "2023-03-28T21:54:45Z")

</div>

hmm, what do you mean by ’ take health’ ?

---

<div class="post-metadata">

**Author:** ![Allo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/allo/32/9340_2.png) [@Allo](https://forum.makecode.com/u/Allo)\
**Post date:** [March 29, 2023, 6:23pm UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/26 "2023-03-29T18:23:26Z")

</div>

Like the leaching move for the bat  
(Please do the the explanation in blocks).

---

<div class="post-metadata">

**Author:** ![felixtsu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/felixtsu/32/12024_2.png) [@felixtsu](https://forum.makecode.com/u/felixtsu)\
**Post date:** [March 30, 2023, 3:58pm UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/27 "2023-03-30T15:58:17Z")

</div>

1. Define a dummy projectile, +1 owner.hp before destroy. Notice that API changing fighter.hp is not exposed to blocks to prevent invincible fighters can made by setting forever : myself.hp = 100 or opponent.hp = 1

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

1. A normal attacking projectile creating Leeching projectiles when overlaps with opponent  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/692fcc7cc657c2da110efa128e4aa1491bbbda93.png)

Complete code can be found here:

> **[MyFighter.DLC.Bat.en](https://arcade.makecode.com/02368-04240-26908-42308)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![cjboimankid-glitch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cjboimankid-glitch/32/18116_2.png) [@cjboimankid-glitch](https://forum.makecode.com/u/cjboimankid-glitch)\
**Post date:** [November 15, 2024, 12:28am UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/28 "2024-11-15T00:28:34Z")

</div>

hey! just wondering if you knew how to wrap it into a function cant figure it out

---

<div class="post-metadata">

**Author:** ![felixtsu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/felixtsu/32/12024_2.png) [@felixtsu](https://forum.makecode.com/u/felixtsu)\
**Post date:** [November 15, 2024, 7:48pm UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/29 "2024-11-15T19:48:05Z")

</div>

May I have a look at your project? What do you want to wrap into a function?

---

<div class="post-metadata">

**Author:** ![NeverStopTheCoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neverstopthecoder/32/21194_2.png) [@NeverStopTheCoder](https://forum.makecode.com/u/NeverStopTheCoder)\
**Post date:** [March 19, 2026, 5:17pm UTC](https://forum.makecode.com/t/lets-fight-and-much-more/9535/30 "2026-03-19T17:17:06Z")

</div>

i think it would be cool if you made it so the character select menu would match the screen size the character image size does not have to because thats on the dev but thats just because if you make the sreen bigger using

```typescript
namespace userconfig {

ARCADE_SCREEN_WIDTH = 320

ARCADE_SCREEN_HEIGHT = 240

}

```

you can have more tilemap room but the menu looks weird

[Previous page](https://forum.makecode.com/t/lets-fight-and-much-more/9535.md?page=1)
