Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Tharuin

Heyho!

I just saw "Spriter" on Kickstarter (http://www.kickstarter.com/projects/539087245/spriter) which has already a working version and has a lot of plugins on several engines/frameworks. Is there already a project which cares about building a plugin for ImpactJS for "Spriter"?

I would like to work on one but would first like to check out if somebody already did such a plugin or is currently working on it.

1 decade ago by stahlmanDesign

This looks really cool but I think it's beyond what Impact was designed for. I think for Impact each frame needs to be a separate render, even if the change in movement was minor.

There may be a way to stack animations on top of each other, so you could change armour by just adding an animation layer on top of your character, without having to render your character wearing each type of armour.

1 decade ago by netmute

I would be highly interested in this.

In my uninformed opinion, it should be a matter of changing the position and angle of different images. The only problem would be the correct timing.

But I haven't read the SCML specs, so... maybe just skip my ignorant blabbering.

Anybody with more information than me willing to comment on this? ;)

1 decade ago by Krisjet

There is a javascript implementation of the SCML spec on github. If anyone wants to take a crack at implementing it in canvas, it would be awesome :)

https://github.com/flyover/spriter.js

1 decade ago by Krisjet

I've been working on an Impact implementation since yesterday, and hope I will have something available on github soon. It's based on https://github.com/flyover/spriter.js but I've tried to make it easy to include Spriter animations when you define an entity, and the idea is that once you define a SpriterAnimation in an entity it "just works" :). I will try to have something presentable within a week or so.

1 decade ago by Krisjet

I just put up my very early version of a Spriter plugin on github.
Link: https://github.com/redpearl/spriter-Impact

It requires a bit of setup, never made a module before really, so I just hacked the impact lib files a little bit to get it to work. The biggest omission right now is that I don't support animations that stop after running through them once, that is the next thing on the todo list. It's based on flyovers spriter.js project (https://github.com/flyover/spriter.js), hope I've given them due credit.

It seems to me that the performance is actually pretty stellar. I've had close to 60 fps on my machine with 100 entities (that was around 1500 draw calls). It should be fine for games with a reasonable amount of characters.

Anyone who wants to work on it and improve it, feel free to do so!

1 decade ago by netmute

You, sir, are awesome.

10 years ago by FelipeBudinich

Spriter is currently on sale, just bought a couple of keys:

http://store.steampowered.com/app/332360/

10 years ago by Joncom

Cool. I was already aware of Spine. This looks very similar. I wonder which is better...

9 years ago by Krisjet

The project I worked on when I wrote the above plugin has changed over to Spine, and for good reason. Haven't used Spriter recently, but at least back then the interface of the Spine animation program was miles beyond Spriter, and a lot more stable. If I were to choose between the two I would take Spine every time.

9 years ago by alexandre

@Krisjet, was this project impactjs-based? I am asking because I didn't see impactjs listed in Spine's game engines runtime support.

EDIT: I just saw the post by aceangel about his impact plugin for spine.

9 years ago by Krisjet

They ended up writing their own plugin based on the official javascript runtime. I know they switched renderer to Pixi.js as well, but they had it running in pure Impact using canvas rendering before that. It's worked out great for them, the animation work and graphics are miles beyond the earlier Spriter version.

This is the project in question: http://www.enkifag.no/
Page 1 of 1
« first « previous next › last »