Hilaire why do you need to have a sprite on a SDL surface and why plain Athens is not good enough. Athens is an API not an implementation. It is like sparta: an API and you do not care about the library below.
OSWindow is a layer on top of SDL and it is better than SDL directly to my understanding. So you should get Athens and SDL for event. What kind of game are you targeting? Did you look at Bloc? Because to me this is the way to go except if you want just a canvas and reimplement your event loop. in that case SDL + Athens should work. Stef On Sat, Dec 30, 2017 at 9:33 PM, Hilaire <[email protected]> wrote: > I found the mix of OSWindow+SDL+Athens very complex (tens of classes with > hundreds of methods) and to produce code hard to understand (I look at your > spider code). > > I will prefer fewer functionnality I can understand. > > For example, how can you copy a sprite on a SDL surface? Can you do it > without Athens surface? > > > Le 28/12/2017 à 18:51, Clément Bera a écrit : >> >> Whichever if Cairo stays around or not does not really matter, normally >> one uses Cairo through Athens or Sparta, abstraction layers on top of 2D >> graphic engines. I've worked with other 2D engines and the API are always >> almost the same, so I have no doubt that if Cairo support is dropped we can >> re-bind Athens/Sparta with another 2D engine (such as engines used by web >> browsers). > > > -- > Dr. Geo > http://drgeo.eu > > >
