# Need help with my game!

**URL:** https://forum.makecode.com/t/need-help-with-my-game/28789
**Category:** Help
**Created:** [May 16, 2024, 9:59pm UTC](https://forum.makecode.com/t/need-help-with-my-game/28789 "2024-05-16T21:59:28Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Koopa\_codes](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Koopa\_codes](https://forum.makecode.com/u/Koopa_codes)
#### Post date: [May 16, 2024, 9:59pm UTC](https://forum.makecode.com/t/need-help-with-my-game/28789/1 "2024-05-16T21:59:28Z")

</div>

I trying to make a game. but there are things that need coding, some bugs that need to be fixed, and suggestions. With your work, I will be able to complete this game. Thanks!

Here is the game:

> **[Izzy's amazing adventure!](https://arcade.makecode.com/01306-38530-08609-96555)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![InvalidProject](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/invalidproject/32/32554_2.png) [@InvalidProject](https://forum.makecode.com/u/InvalidProject)
#### Post date: [May 17, 2024, 10:38pm UTC](https://forum.makecode.com/t/need-help-with-my-game/28789/2 "2024-05-17T22:38:09Z")

</div>

Is there a problem, or do you just need someone to finish the code?

---

<div class="post-metadata">

### Author: ![Koopa\_codes](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Koopa\_codes](https://forum.makecode.com/u/Koopa_codes)
#### Post date: [May 21, 2024, 3:44am UTC](https://forum.makecode.com/t/need-help-with-my-game/28789/3 "2024-05-21T03:44:05Z")

</div>

Just need help with these factors:

Enemy that throws projectiles

Hitboxes (if possible)

That’s pretty much it

I can handle the coding, I just need help

---

<div class="post-metadata">

### Author: ![InvalidProject](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/invalidproject/32/32554_2.png) [@InvalidProject](https://forum.makecode.com/u/InvalidProject)
#### Post date: [May 22, 2024, 3:23am UTC](https://forum.makecode.com/t/need-help-with-my-game/28789/4 "2024-05-22T03:23:22Z")

</div>

Well one thing you can do for enemy projectile throwing is by getting an extension called “Sprite Utility Extension” This can be used to build a pixel radius around any enemy so that they can run a certain action if your play is within a certain radius,. I’ll provide a link right here: [https://github.com/jwunderl/arcade-sprite-util](https://github.com/jwunderl/arcade-sprite-util)

---

<div class="post-metadata">

### Author: ![Koopa\_codes](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Koopa\_codes](https://forum.makecode.com/u/Koopa_codes)
#### Post date: [May 23, 2024, 2:50am UTC](https://forum.makecode.com/t/need-help-with-my-game/28789/5 "2024-05-23T02:50:36Z")

</div>

Thanks for the help. I will use this.

As for the hitboxes, is there a way to do something about that?

---

<div class="post-metadata">

### Author: ![InvalidProject](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/invalidproject/32/32554_2.png) [@InvalidProject](https://forum.makecode.com/u/InvalidProject)
#### Post date: [May 29, 2024, 2:50am UTC](https://forum.makecode.com/t/need-help-with-my-game/28789/6 "2024-05-29T02:50:00Z")

</div>

Well yes there is. What you can do is assign new sprites for all the pre-made sprites, with different shapes, being hit-boxes. You can turn these invisible using blocks in the Sprites Tab. I wouldn’t recommend doing this, considering how unbearably laggy your game currently is. Speaking of which, you might want to consider working on that as well.

---

<div class="post-metadata">

### Author: ![Koopa\_codes](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Koopa\_codes](https://forum.makecode.com/u/Koopa_codes)
#### Post date: [May 31, 2024, 12:59pm UTC](https://forum.makecode.com/t/need-help-with-my-game/28789/7 "2024-05-31T12:59:59Z")

</div>

Yeah, about that…

For some reason, the game works smooth as intended on some devices, but not on others.  
I know because I have experienced it.  
Unfortunately, I don’t think there is any other way to prevent this from happening.  
Also, there may be more bugs I need to fix, so thanks for the support!

---

<div class="post-metadata">

### Author: ![Koopa\_codes](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Koopa\_codes](https://forum.makecode.com/u/Koopa_codes)
#### Post date: [May 31, 2024, 10:30pm UTC](https://forum.makecode.com/t/need-help-with-my-game/28789/8 "2024-05-31T22:30:41Z")

</div>

Also, how do you assign new sprites to the pre-made sprites, and could you explain it better?

Just asking.

---

<div class="post-metadata">

### Author: ![InvalidProject](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/invalidproject/32/32554_2.png) [@InvalidProject](https://forum.makecode.com/u/InvalidProject)
#### Post date: [June 7, 2024, 5:57pm UTC](https://forum.makecode.com/t/need-help-with-my-game/28789/9 "2024-06-07T17:57:43Z")

</div>

For every sprite, create another sprite that follows its’ exact movements. You can change the picture of the now pre-image to a hitbox, and turn it invisible, which will act as the interactive part of the enemy or object.
