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

Problem with shrink time via FlxG.timescale and bullets fired with FlxWeapon. #10

Open
FlixelCommunityBot opened this issue Nov 28, 2013 · 0 comments

Comments

@FlixelCommunityBot
Copy link

Issue by test84 from Wednesday Oct 26, 2011 at 21:41 GMT
Originally opened as photonstorm#10


Hi,

I'm using timescale for some cool effects but when I set it to a value between zero and one, everything slows down except my bullets.

Problem is with how lifespan of bullets are calculated, I think. Because no matter how shrinked your time is, bullet's lifespan will be apparently calculated in real-time's time. For example my pistol' bullet's lifespan is 4 seconds but if you shrink time to 0.1, while bullet is still near the player, because the time is so slow in game, bullet will disappear after 4 seconds of real-time time.

since you probably won't update 1.9 anymore and will do a 2.0 version by xmas, what would u suggest to fix it?

-tnx

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

1 participant