HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.97k stars 434 forks source link

add shake scroll option to the camera #1337

Open Beeblerox opened 9 years ago

Beeblerox commented 9 years ago

I've started working on it here: https://github.com/HaxeFlixel/flixel/pull/1336 but it need more time

Gama11 commented 9 years ago

What's missing?

Beeblerox commented 9 years ago

some additional conditions for updateScroll() when scroll should bounded

Gama11 commented 8 years ago

@gamedevsam Something like this is technically a breaking change since a parameter would be added to shake(), breaking overriding functions... not sure if we should consider it as such though?

adrianulima commented 8 years ago

FlxCamera have an FlxSprite name screen. If it were an FlxEffectSprite or effect vars were added directly in FlxSprite we could remove fade shake and flash from FlxCamera and apply as IFlxEffects and also apply other effects to camera like wave, glitch, rainbow, etc. Right?

https://github.com/HaxeFlixel/flixel-addons/pull/205

Gama11 commented 8 years ago

screen only works with blitting I think.