View Issue Details

IDProjectCategoryLast Update
0007056Valley 1Bug - GameplayApr 17, 2012 8:00 pm
ReporterDonLyn Assigned ToChris_McElligottPark  
Severitytrivial 
Status assignedResolutionopen 
Summary0007056: range of miasma whip inconsistent
DescriptionNoticeable only in puzzle room. While standing and firing without changing the trajectory, miasma whip will change different numbers of mystery orbs.
Though this might be appropriate, considering that it is basically a chaos spell...
TagsNo tags attached.
Internal WeightFix Before Major Release

Activities

Chris_McElligottPark

Apr 13, 2012 8:42 am

administrator   ~0021984

Is this solo or MP?

To some extent, slight changes in range are expected with any spell -- it's based on time to live rather than actual distance, so floating point precision differences cause a few pixels of difference here or there. The only time it would be noticeable would be with a spell like this where it's right on the edge of three and four tiles, or similar.

I might simply need to make it slightly a longer spell so that the precision differences aren't really noticeable. It's just the nature of floating point math, especially single-precision like unity uses for its timestamps.

Penumbra

Apr 13, 2012 10:39 am

reporter   ~0021993

There will always be a boundary case, however long you make it. It would depend on the angle, and the projectile speed enchants that player has.

To "fix" the orbs reaction, which is the only place in the game I could think of that a player could sit still and care exactly how far their spells reach, would need a different solution. An orb should not react to a piercing spell if it is only glanced. That way the little differences in range wouldn't matter and the player could more accurately target orbs.

I don't think you have separate hit logic for piercing spells, only that they don't get destroyed on contact. Different logic altogether would be a huge change now. Could certain objects, like the orbs, have different hit boxes based on the spell? If the orb's hit box were just smaller for spells like miasma whip and energy pulse, it would help a great deal in targeting them.

Chris_McElligottPark

Apr 17, 2012 8:00 pm

administrator   ~0022223

It's definitely not something we could easily fix there, unfortunately. I think that would just be shifting the problem a slight bit, and really risking bugs in the meantime as well.

Issue History

Date Modified Username Field Change
Apr 13, 2012 7:59 am DonLyn New Issue
Apr 13, 2012 8:42 am Chris_McElligottPark Note Added: 0021984
Apr 13, 2012 10:39 am Penumbra Note Added: 0021993
Apr 13, 2012 11:41 am tigersfan Internal Weight => Fix Before Major Release
Apr 13, 2012 11:41 am tigersfan Assigned To => Chris_McElligottPark
Apr 13, 2012 11:41 am tigersfan Status new => assigned
Apr 17, 2012 8:00 pm Chris_McElligottPark Note Added: 0022223