# Mac Os screen-saver

**URL:** <https://forums.kodeco.com/t/mac-os-screen-saver/12027>\
**Category:** macOS\
**Created:** [April 4, 2016, 2:07am UTC](https://forums.kodeco.com/t/mac-os-screen-saver/12027 "2016-04-04T02:07:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cajunesque](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/cajunesque/32/16582_2.png) [@cajunesque](https://forums.kodeco.com/u/cajunesque)\
**Post date:** [April 4, 2016, 2:07am UTC](https://forums.kodeco.com/t/mac-os-screen-saver/12027/1 "2016-04-04T02:07:10Z")

</div>

Been reading about Cocos2d and SpriteKit on here to get the requisite knowledge to write a screen saver. Which of these two libraries (or perhaps another) is the best way to go for a boucing ball (i.e. bouncing around off the screen boundaries) effect?

---

<div class="post-metadata">

**Author:** ![steveb](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/steveb/32/94142_2.png) [@steveb](https://forums.kodeco.com/u/steveb)\
**Post date:** [April 4, 2016, 2:22pm UTC](https://forums.kodeco.com/t/mac-os-screen-saver/12027/2 "2016-04-04T14:22:36Z")

</div>

I’ve never implemented a screensaver, so I can’t comment on that specific use case, but either Cocos2D or SpriteKit will be suitable for creating a bouncing ball animation.

The two frameworks are extremely similar, and I’m pretty sure that Cocos2D’s api at least in part informed the design and naming conventions of SpriteKit.

Cocos2D is a little more powerful and flexible, but development has really stalled in the past few years, so I worry a little bit about relying on it from a future maintenance perspective. There is a new initiative to try and revive it, although not from the original development team. I hope that works out, but I’ll personally be sitting back and seeing how things go with that for a bit before I give it a go again.

Personally I’m using SpriteKit and I’m pretty happy with it. It’s a little less capable than Cocos2D if you want to do advanced OpenGL customisations, but for the most part it includes everything you could need, and you _hopefully_ don’t have to worry about it going away away time soon.
