# First phaser game doubts

**URL:** <https://phaser.discourse.group/t/first-phaser-game-doubts/13376>\
**Category:** Phaser 3\
**Created:** [June 28, 2023, 2:15pm UTC](https://phaser.discourse.group/t/first-phaser-game-doubts/13376 "2023-06-28T14:15:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joao](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joao](https://phaser.discourse.group/u/Joao)\
**Post date:** [June 28, 2023, 2:15pm UTC](https://phaser.discourse.group/t/first-phaser-game-doubts/13376/1 "2023-06-28T14:15:22Z")

</div>

I’m new to phaser and I’m trying to make a game but I think that I’m doing many things wrong. Can anyone have a look at my code and tell me what to change?

Code: [Game - Replit](https://replit.com/@Joao-PedroPe223/Game)

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [June 28, 2023, 2:33pm UTC](https://phaser.discourse.group/t/first-phaser-game-doubts/13376/2 "2023-06-28T14:33:44Z")

</div>

Anything in particular?

---

<div class="post-metadata">

**Author:** ![Joao](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joao](https://phaser.discourse.group/u/Joao)\
**Post date:** [June 28, 2023, 11:16pm UTC](https://phaser.discourse.group/t/first-phaser-game-doubts/13376/3 "2023-06-28T23:16:03Z")

</div>

I’m having problems at the overlap when the player hits the boss. The animations seems to overlap eachother and the boss freezes in a frame.
