mrDIMAS / rusty-shooter

[suspended] 3d shooter written in Rust using rg3d
MIT License
279 stars 25 forks source link

Found a few bugs #9

Open TQwan opened 3 years ago

TQwan commented 3 years ago

First of all thank you for all your hard work and making it easy to start with the commands from the README.md file.

i just tested this repository by cloning and running the release version and had a couple of bugs.

  1. [Mayor] The game feels a bit sluggish, like : https://github.com/mrDIMAS/rusty-shooter/issues/5 It seems disabling all shadows, lighting scatter and running on the lowest resolution @60 hz helps a bit. The FPS value at the top of the screen was around 50-51 in full screen 1080p@60 hz, so it seems it does not render many frames.
    Default FPS when starting regularly is between 15-20 FPS, which seems a bit low.

Side note: I'm using a decked out PC with Windows 10 Pro, latest i9, 64GB ram and 2 TB SSDs and GTX 2070 Super with 240Hz screen.

  1. [Minor] When you die and press the save in menu button, then press load you are alive on the location you died, instead of re-spawning at a new location.

  2. [Minor] The music in the menu is default set to 0.0, while you can hear the music playing. Changing the slider does work properly, e.g music is increased / decreased according to the sliders scale, but the value is back to 0.0 when you open the menu.

  3. [Minor] Monsters spawn in walls and can be shot through walls when seen sticking half through the wall.

  4. [Mayor] Full screen checkbox only works the first time the game is started. The next time the full screen option is ignored and always remains full screen when resolution is changed to values smaller than the actual display.

  5. [Improvement] The log in the terminal is being spammed, I suggest moving these messages to verbose or debug:

    GL texture 23 was created!
    GL geometry buffer was created - VBO: 471, EBO: 472, VAO: 236!
    GL texture 40 was destroyed!
    GL geometry buffer was destroyed - VBO: 33, EBO: 34, VAO: 17!
  6. [Minor] The in-game score (TAB key) shows 'Player' and does not seem use the nickname specified at the start, e.g 'Unnamed Player'.

  7. [Minor] On screen damage info messages, like 'Mutant dealt 15 damage to Parasite' are updated very slowly. E.g they only change every 5-10 seconds. I suggest removing or disabling these.

mrDIMAS commented 3 years ago

Hi! Make sure rusty-shooter running on GTX 2070 GPU, it seems you have built-in GPU (HD Graphics 630?) and it is used for rendering. You can change GPU in nvidia control panel.

[Minor] Monsters spawn in walls and can be shot through walls when seen sticking half through the wall.

Yeah, this is known - this is because shooting point penetrates a wall and projectile created behind it. Should be easy to fix.

The log in the terminal is being spammed

This comes from rg3d, I added this quite a while ago and forgot to remove :)

I'll try to fix rest of bug/improvements after #8 will be merged, right now I'm working on other parts of the engine and @jwinnie doing some improvements and fixes for the game.

TQwan commented 3 years ago

Hi! Make sure rusty-shooter running on GTX 2070 GPU, it seems you have built-in GPU (HD Graphics 630?) and it is used for rendering. You can change GPU in nvidia control panel.

Thanks that fixed it, now it works constant 65 FPS any resolution even at 1080p 240hz.

I'll try to fix rest of bug/improvements after #8 will be merged, right now I'm working on other parts of the engine and @jwinnie doing some improvements and fixes for the game.

Good luck, I'm going to try and build something with this.