I am having the same problem as the OP in this post
http://forums.flixel.org/index.php?topic=4977.0 Problem is that when camera shakes, it's not really view that's
shaking, but screen shakes instead. So because of that stronger the
shaking is, more of the black edges can be seen...
Why is this
done this way anyway ? I guess if I change that scroll is changed by
small random amount, I will get the effect I want ?
If someone already done it, please paste it here.
Thx.
EDIT
: done.. Change scroll to private, and change its name to _scroll.
Then make new public get function with name scroll, and make that it
returns FlxPoint _scroll.x + shake.x, _scroll.y + shake.y .. And then
just throw out the part that changes x and y of the screen...
Even if I center my camera into the map, shaking the screen shows black edges, not more part of the map. I have found this thread, but as I am new to flixel, I don't understand how he fixed it? Is there any other way around this issue, without hacking into source? Or, what exactly he was talking about? I need this workaround, as my map size is bigger than the camera. Another solution could be I implement my own shake method. But if it's provided in the framework, no need to reinvent the wheel. Thanks upfront.