Hacker News new | ask | show | jobs
by pmelendez 3879 days ago
I might be wrong, but I think I remember that Cocos2d-x uses SDL under the hood.
2 comments

From what I can gather, not with V3 and above. I think starting V4 they will go render-agnostic so they can use Vulkan and Metal.

Besides, there is more than rendering for a decent engine. Managing controls in an agnostic way is nice to. I am actually working on adding better control-events so it can wrap Windows, Windows phone, Apple TV and External controllers easier.

> "From what I can gather, not with V3 and above. I think starting V4 they will go render-agnostic so they can use Vulkan and Metal."

That would make sense, last time I touched it was back in 2012.

> "Besides, there is more than rendering for a decent engine."

For sure, but Cocos2d-x is a complete software framework and SDL is meant to be a library. Although I would grant that it would make sense if the author would choose to use a game engine for his game.

>> "From what I can gather, not with V3 and above. I think >> starting V4 they will go render-agnostic so they can use >> Vulkan and Metal."

>That would make sense, last time I touched it was back in >2012.

Cocos2d-x has never used SDL for anything.

for v4 the renderer is vastly different. Going from v2 to v3 there were major changes here as well.

No, SDL is not used under the hood.