justalemon / GGOV

Mod for GTA V that implements the HUD System and Features from Gun Gale Online
MIT License
12 stars 5 forks source link

Performance and general improvements #15

Closed Jitnaught closed 5 years ago

Jitnaught commented 5 years ago

Before this commit my FPS could drop 20-30 FPS when many images were drawn on the screen (such as when many dead peds are in your view). Now my FPS doesn't drop at all.

Jitnaught commented 5 years ago

Just realized the images are no longer in the project, so they aren't available for automatic builds. I'm not familiar with AppVeyor so I don't know how those images could be included in the artifact's archive file.

justalemon commented 5 years ago

Some stuff:

Jitnaught commented 5 years ago
justalemon commented 5 years ago

I have added my changes and this is what a copy of GGO looks like now: image For the scripts folder and: image For the GGO folder.

Once you have merged ffe78c3cfe128d3a5e21b6e921b250f4ade7f069 the AppVeyor build should work correctly.

justalemon commented 5 years ago

If you don't want to fix the merge conflicts, I can rebase the changes on my side or add the code manually and give credit via Co-authored-by.

Jitnaught commented 5 years ago

I fixed the errors I didn't see earlier (including the CodeFactor check failure), added the images back, made it so the images are copied to the build folder when compiling, and fixed the image paths.

Doesn't merge anymore due to conflicts though.

justalemon commented 5 years ago

Just added the code on the following commits (with some tweaks):

The commits are marked as created by you, so that should not be a problem.

Thanks for contributing!