# The Boy Who Would Be Thunder!

**URL:** https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954
**Category:** Show & Tell
**Tags:** art, game, demo
**Created:** [August 5, 2024, 3:08am UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954 "2024-08-05T03:08:13Z")
**Posts on this page:** 10
**Page:** 2

<div class="post-metadata">

### Author: ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)
#### Post date: [May 7, 2026, 9:30pm UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/21 "2026-05-07T21:30:56Z")

</div>

How did you make the fan-shaped hitbox

---

<div class="post-metadata">

### Author: ![Bifrosty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bifrosty/32/24819_2.png) [@Bifrosty](https://forum.makecode.com/u/Bifrosty)
#### Post date: [May 8, 2026, 4:50pm UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/22 "2026-05-08T16:50:41Z")

</div>

Sorry, what are you referencing?

---

<div class="post-metadata">

### Author: ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)
#### Post date: [May 8, 2026, 4:58pm UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/23 "2026-05-08T16:58:58Z")

</div>

I am making a sequel of my game:

> **[Quest of the Witcher (The Sequel) V.0.1](https://arcade.makecode.com/S59913-05265-43466-88646)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I’ll share you the topic link later.

---

<div class="post-metadata">

### Author: ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)
#### Post date: [May 9, 2026, 7:01pm UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/24 "2026-05-09T19:01:23Z")

</div>

In the game, The Boy Who Would Be Thunder, his melee attack alternates between one wide attack and one thin attack. How did you make the wide attack?

---

<div class="post-metadata">

### Author: ![Bifrosty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bifrosty/32/24819_2.png) [@Bifrosty](https://forum.makecode.com/u/Bifrosty)
#### Post date: [May 9, 2026, 10:56pm UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/25 "2026-05-09T22:56:38Z")

</div>

Makecode creates hitboxes accrete to the shape of a sprite’s animation. By changing the animation I use, I can change the shape and size of the Hammer’s hitbox. Here is some sudo code for blocks:

On start, set attackCycle to 0

On attack:

Increase attackCycle by 1

If attackCycle = 1 then  
Animate Uppercut (Wide)  
Else if attackCycle = 2 then  
Animate Side cut (Thin)  
Else if attack = 3  
Animate Smash (Wide)  
Reset attackCycle to 0  
End

---

<div class="post-metadata">

### Author: ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)
#### Post date: [May 10, 2026, 7:17pm UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/26 "2026-05-10T19:17:39Z")

</div>

Yeah, but how do you make the animations actually do something? Do you send invisible wider projectiles for the wide attacks and thin ones for the thin attacks?

---

<div class="post-metadata">

### Author: ![Bifrosty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bifrosty/32/24819_2.png) [@Bifrosty](https://forum.makecode.com/u/Bifrosty)
#### Post date: [May 11, 2026, 5:59pm UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/27 "2026-05-11T17:59:03Z")

</div>

> [@Bifrosty](#):
>
> Makecode creates hitboxes accrete to the shape of a sprite’s animation. By changing the animation I use, I can change the shape and size of the Hammer’s hitbox.

I have different animations for each variation of the hammer’s attack. The enemies take damage when they overlap with the hammer.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/0/20cf1a3bab39e8f57fb8eb1c76b328c83105b0bc.png)

---

<div class="post-metadata">

### Author: ![AlexTheGoober63](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexthegoober63/32/35080_2.png) [@AlexTheGoober63](https://forum.makecode.com/u/AlexTheGoober63)
#### Post date: [May 12, 2026, 4:13am UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/28 "2026-05-12T04:13:28Z")

</div>

WHY DO YOU KEEP MAKING SUCH PEAK GAMEs

---

<div class="post-metadata">

### Author: ![KawaiiGoddess](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kawaiigoddess/32/33722_2.png) [@KawaiiGoddess](https://forum.makecode.com/u/KawaiiGoddess)
#### Post date: [May 12, 2026, 4:18am UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/29 "2026-05-12T04:18:28Z")

</div>

I just noticed that the name is a palindrome. 😅

---

<div class="post-metadata">

### Author: ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)
#### Post date: [May 12, 2026, 11:03pm UTC](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954/30 "2026-05-12T23:03:57Z")

</div>

Thank you.

[Previous page](https://forum.makecode.com/t/the-boy-who-would-be-thunder/29954.md?page=1)
