dinosaur-exploder icon indicating copy to clipboard operation
dinosaur-exploder copied to clipboard

[Bug]: moving and shoot speed don't increase with level up

Open Johann4002herti opened this issue 8 months ago • 3 comments

👉 Please confirm the following

❌ Current Behavior

both speed stats increase with rising levels, but that in the greendinoComponent the levelManager is not working. This means the green dinos are always moving and shooting at the same speed.

✅ Expected Behavior

If the level is increasing both speed stats should be used by the dinos.

🚩 Steps To Reproduce

Its hard to see in game, but if you print the stats out over the console you see that the stats doesn't change

Image

💻 Environment

- OS: Windows 11
- Game version: 1.2.0

ℹ️ Additional information

i have found this bug while i added the red dino boss.

Here is how the levelmanger should be included but this does not work. Image

Here is my solution: I made a global variable for the levelmanger and the first time the dino gets updated the stats get read out. Thats because you have to assign the levelmanager manually and the onAdded function fires before the levelmanger is assigned. Image

This solution works but its not very beautiful. maybe someone finds a better one.

Johann4002herti avatar Apr 28 '25 13:04 Johann4002herti

Oh thank for the bug issue !! It is for sure a problem :/ Let's increase the shoot speed and moving speed a tiny bit for each level, because a x2 for each level would be too complicated, but yes let's find a solution to make it look good !!

jvondermarck avatar Apr 28 '25 13:04 jvondermarck

There is already a good increasement in the levelManager. The Problem is that the dinos values don't use the values of the levelManager

Johann4002herti avatar Apr 29 '25 06:04 Johann4002herti

Okay good to know then, thanks for all your investigations !

jvondermarck avatar Apr 29 '25 06:04 jvondermarck