Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up time? #55

Open
mikael-anttila-eriksson opened this issue May 19, 2022 · 10 comments
Open

Speed up time? #55

mikael-anttila-eriksson opened this issue May 19, 2022 · 10 comments

Comments

@mikael-anttila-eriksson

Is there a way to speed up the simulation? Nothing happens when I press the "Full Speed" button in the Time control box.

@johnBuffer
Copy link
Owner

johnBuffer commented May 19, 2022

the speed up simply removes de framerate cap so there are two possibilities:

  • your pc is at max capacity already
  • the button is not working

what happens if you use Full Speed with just a few ants? does it works in this case?

@mikael-anttila-eriksson
Copy link
Author

I´m using the AntSimulator-Editor. I reduced the ants to 1000 in conf-file, which seems to be the lowest possible. My CPU is about 40% and no real change when I press the button. I also tryed 4.1 version, and same/similar result there.
I don´t know if I can do any other change then that.

@johnBuffer
Copy link
Owner

You are not the only one mentionning this issue, maybe there is something else. Do you have multiple monitors connected at the same time?

@mikael-anttila-eriksson
Copy link
Author

Ok. No other monitor. I am using a (gaming) laptop.

@Nya0
Copy link

Nya0 commented May 22, 2022

same issue here using a laptop and the program only taking 40% of CPU and button doesn't work

@johnBuffer
Copy link
Owner

Do you know how to compile it? Since I cannot reproduce the issue (neither on my Windows or Mac machines) I would like to create a branch to push potentiel fixes and let you give me feedback.

@mikael-anttila-eriksson
Copy link
Author

Do you mean the source code? Because I´m just opening the AntSim program. For that I would have to install c++ first i guess. Which i could possibly do in june when I have time.

@StevenJAckerman
Copy link
Contributor

I have the AntSimulator 4.1 source installed, compiled under VS2K19. The Full Speed button only works for me in Release build.

@johnBuffer
Copy link
Owner

Thanks for your feedback. That's probably because without release optimizations the program is already at max speed even when the toggle is disabled.

@Crossbow4000
Copy link

My full speed button is not working either. Which file is the time sped up in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants