Skip to content

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

@FlixelCommunityBot

Description

@FlixelCommunityBot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions