oxysoft Posted August 25, 2014 Share Posted August 25, 2014 I want to add screen shake to my game but can't find a good way to do it. I was hoping the camera object would have an offset point that I could have set to whatever I want without having to touch the camera's position but that was not the case. After that, I checked in World and because it is a group, I tried setting its fixedToCamera to true and then use cameraOffset but, much to my deception, did not work either The only *solution* I found by searching online was to use an outdated plugin or set the World's bounds, which I rather not do because the bounds is used to keep sprites inside and I do not want to have to deal with any bug that could arise from it What are my options? I really wish there was a camera offset, that would be very useful Link to comment Share on other sites More sharing options...
ZoomBox Posted August 25, 2014 Share Posted August 25, 2014 I know this guy made it in the Phaser version of the game:http://www.jsbreakouts.org/(look for the phaser version and click "play", then the key to enable screen shake is S I believe) Link to comment Share on other sites More sharing options...
Recommended Posts