Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Mission is too resource intensive #12

Open
lfuelling opened this issue Aug 18, 2019 · 3 comments
Open

Mission is too resource intensive #12

lfuelling opened this issue Aug 18, 2019 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed Performance Something is slow
Milestone

Comments

@lfuelling
Copy link
Owner

The first mission start is defined by random integers.
Apparently there's too much of it going on so each loop takes ~6.9ms/17 Frames to complete.

@lfuelling lfuelling self-assigned this Aug 18, 2019
@lfuelling lfuelling added bug Something isn't working Performance Something is slow labels Aug 18, 2019
@lfuelling lfuelling added this to the 1.0 milestone Aug 18, 2019
@lfuelling
Copy link
Owner Author

This persists also after having done the first mission :c

@lfuelling lfuelling added the help wanted Extra attention is needed label Aug 24, 2019
@lfuelling
Copy link
Owner Author

Note to self: Try drawing the markers every n frames, where n is the number of frames where no flickering is visible.

@lfuelling
Copy link
Owner Author

Another approach could be only drawing the markers if the player is in the approximate area.

The only question is if checking the player location relative to all the marker locations would be less performance hungry than just drawing all the markers...

@lfuelling lfuelling changed the title First mission start is too resource intensive Mission is too resource intensive Dec 14, 2019
lfuelling added a commit that referenced this issue Dec 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed Performance Something is slow
Projects
None yet
Development

No branches or pull requests

1 participant