# Please give me some feedback on my first-person-shooter engine

**URL:** <https://discourse.processing.org/t/please-give-me-some-feedback-on-my-first-person-shooter-engine/24927>\
**Category:** p5.js\
**Created:** [October 26, 2020, 5:06pm UTC](https://discourse.processing.org/t/please-give-me-some-feedback-on-my-first-person-shooter-engine/24927 "2020-10-26T17:06:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeviathanProgramming](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/leviathanprogramming/32/10491_2.png) [@LeviathanProgramming](https://discourse.processing.org/u/LeviathanProgramming)\
**Post date:** [October 26, 2020, 5:06pm UTC](https://discourse.processing.org/t/please-give-me-some-feedback-on-my-first-person-shooter-engine/24927/1 "2020-10-26T17:06:34Z")

</div>

Here is the link to my project:  
https://codepen.io/LeviathanProgramming/embed/preview/xxOgLzQ?height=300&slug-hash=xxOgLzQ&default-tabs=js,result&host=https://codepen.io

I would like some feedback on it if you don’t mind.  
If you find any bugs, please report them.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Grimtin10](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@Grimtin10](https://discourse.processing.org/u/Grimtin10)\
**Post date:** [October 26, 2020, 5:07pm UTC](https://discourse.processing.org/t/please-give-me-some-feedback-on-my-first-person-shooter-engine/24927/2 "2020-10-26T17:07:35Z")

</div>

Two things I’d add are mouse locking and being able to press multiple keys at once.

---

<div class="post-metadata">

**Author:** ![LeviathanProgramming](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/leviathanprogramming/32/10491_2.png) [@LeviathanProgramming](https://discourse.processing.org/u/LeviathanProgramming)\
**Post date:** [October 26, 2020, 5:55pm UTC](https://discourse.processing.org/t/please-give-me-some-feedback-on-my-first-person-shooter-engine/24927/3 "2020-10-26T17:55:01Z")

</div>

The mouse does lock but on user click. You have to click the screen first. Pressing multiple keys at once makes a huge bug occur of you being able to travel through walls.

---

<div class="post-metadata">

**Author:** ![Grimtin10](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@Grimtin10](https://discourse.processing.org/u/Grimtin10)\
**Post date:** [October 29, 2020, 1:10am UTC](https://discourse.processing.org/t/please-give-me-some-feedback-on-my-first-person-shooter-engine/24927/4 "2020-10-29T01:10:00Z")

</div>

Hm, alright. I assume you’ve looked into why that bug occurs.

---

<div class="post-metadata">

**Author:** ![LeviathanProgramming](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/leviathanprogramming/32/10491_2.png) [@LeviathanProgramming](https://discourse.processing.org/u/LeviathanProgramming)\
**Post date:** [October 29, 2020, 1:49pm UTC](https://discourse.processing.org/t/please-give-me-some-feedback-on-my-first-person-shooter-engine/24927/5 "2020-10-29T13:49:59Z")

</div>

Make sure you don’t just run the pen here. That’ why it isn’t working. Go over to the link and try it.  
Press the “Edit on codepen” link and you should be there.
