DSFML icon indicating copy to clipboard operation
DSFML copied to clipboard

spine-dsfml - spine binding for DSFML

Open nikibobi opened this issue 11 years ago • 12 comments

Hi, I have started working on spine runtime library for D. And I have separated it into two repositories spine-d and spine-dsfml that will use your version of SFML and spine-d. The spine-d will be a pure D(no C bindings) copy of the runtime core. And spine-dsfml will use the core and dsfml to render the 2D animations.

The spine-d is almost done(need to implement parsing json only), but I haven't commited it yet. The spine-dsfml should be small and only use the two and implement the skeleton rendering part. So by the end of this week(or the next one) I will have a working project and you can add a reference to it in the README.md when its working(I will probably notify you then).

Oh and I just got an idea... about #33 (I will post it on the issue)

nikibobi avatar Aug 05 '13 20:08 nikibobi

Wow! That's fantastic! Just post in here again when you have some working stuff and I would be glad to throw in a link in the readme.

Very exciting time for D if you ask me. :)

Jebbs avatar Aug 05 '13 20:08 Jebbs

@Jebbs Yea, exicting time. Before writing this a guy asked about sfml on the D forums and I pointed him here :smile:

nikibobi avatar Aug 05 '13 20:08 nikibobi

Yay awareness! :P

I was going to make a post in digitalmars.D.announce once the new C back end is done and cleaned up. Some of the guys on the forum are such pro's it makes me self conscious about my code, haha.

Jebbs avatar Aug 06 '13 02:08 Jebbs

The D part is almost done(with the help of @Halsys). And he has started working on the dsfml part and made a pull request at nikibobi/spine-dsfml#2

Hopefully soon we will have a working thing.

nikibobi avatar Aug 11 '13 13:08 nikibobi

Awesome! Nice work guys!

I can't wait to see something!

Jebbs avatar Aug 11 '13 17:08 Jebbs

I have a copy of the Spine animation program in hand and if I were going to use D I wouldn't be able to use it without the Spine library. I would have Sprite sheet animations and that would have been hell for me and Its hard enough getting animations and box2D physics to look all good and nice together... And that's why I bought Spine.

I would show you guys what I have been working on but it is neither in a playable state or enjoyable at the moment. Let me know if you guys are working on a Box2D library or anything else game related(whether it be a game or a game library, I need the experience!).

auRose94 avatar Aug 11 '13 19:08 auRose94

@Halsys I understand you. I also like Spine a lot and I still haven't bought it, but I will very soon.

I have made a few small games, but all of them are in C#. In D I have only made one small test 'game' just to test DSFML.

nikibobi avatar Aug 12 '13 07:08 nikibobi

Also, if you're looking for "Box2D" support, I did find this:

https://github.com/p0nce/blazed2

It isn't a straight Box2D port, but I think that you could either get similar functionality from it, or use it as a starting point to make a real Box2D port.

I'm still trying to finish my own game from my XNA days, but I was planning on porting it to D after I finished it.

Jebbs avatar Aug 12 '13 10:08 Jebbs

I'm actually using it but it lacks a important feature I had to make... Debug drawing.(Made it with dsfml :) ) It also adds cool features too, like SPH(Water sim), Unique forces(Wind, Thrusters, Drag, Buoyancee and Attractors n' Repulsers), concave shapes, Callbacks, and Materials. So its a kinda better Physics library but it lacks support and I think its about to kick the bucket so I might be caught fixing bugs in it, than actually making a game..... Also it has a ridiculous name. :P Thanks anyway!

I think on my future projects I will use ODE from Derelict instead.... So I might drop Blaze for 3D support and a multitude of cool features like soft body simulation.

auRose94 avatar Aug 12 '13 16:08 auRose94

Hey guys!

Just wanted to see if there was any news for this.

I also wanted to make sure you were both aware(since I don't think @nikibobi get's notifications from thread #4) that I should be making the experimental branch the new master branch this Saturday. Hopefully the change won't mess anything up!

Jebbs avatar Sep 19 '13 15:09 Jebbs

Probably going to close this since there hasn't been any updates in a very long time.

Is spine-d dead? :(

Jebbs avatar Nov 05 '15 10:11 Jebbs

Hello, sorry for not updating. spine-d isn't dead, in fact it is almost complete. Currently there are a few bugs with the uv coordinates that I'm trying to fix before I commit.

nikibobi avatar Nov 06 '15 16:11 nikibobi