Le lun 05/07/2004 à 08:29, Julien Laffray a écrit :
> I am writing just to say that i have started a port to Clanlib 0.7.x,
> more specifically a port to 0.7.8.

I also started a port to 0.7.8 ...

> Yesterday afternoon, i did some work, and i have done something like 15%

like me ...

> of the port. If everything goes well, in two weeks, i will have
> completed the port (read i am very busy, so i know when i started, but
> not i will be done).

Can you tell me more ? What are the problems ?

> So far, the main difference is the following one based on your code.
> Clanlib 0.7.x doesn't use the CL_Surface::load anymore, instead you use
> simply CL_Surface image = new CL_Surface("arme/bazooka", res).
> The ressources are now in xml but there is an utility allowing to
> transform your scr into xml.
> The biggest point so far for me was the keyboard and mouse code. I have
> to check with Magnus or Sphair, but there is no more CL_Input :)
> Here, i am done.

Yes, biggest problems were :
- Load a picture
- Sprites
- Inputs

In #clanlib, someone sayd me that we can use CL_Sprite instead of our
Image/Sprite/Animation classes. CL_Sprite can flip horizontaly with
set_scale(1,-1).

Bye, Haypo


Répondre à