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 stahlmanDesign

Let's say I have an building entity. The sprite sheet is not a walk cycle, but instead states of decay over time, until it is ruins or rubble.

When I lay it out in Weltmeister, I want some buildings to start as ruins (frame 5), instead of just always displaying frame 0 (new building).

I can use enter the variable decay:5 for example, so it will start as ruins in the game, but I want it to somehow respond immediately in WM, so that the graphic changes to the decayed state during layout.

Is this possible?

1 decade ago by 80bit

Im not sure if you're asking about the in-game experience or the level building (in Weltmeister) but in game you can swap sprites no prob. In weltmeister its easy too it loads the whole sprite sheet and then you can basically just pick from it as you build the level. So you can choose between ruins and full building between clicks if you need.. (is that what youre asking though?)

1 decade ago by fugufish

not sure, but I would swap the sprite sheets based on their health

1 decade ago by stahlmanDesign

I know I can do this with layers, but I'm saying I want to layout the entites (the list of names that appears instead of images) and choose which frame you see during layout. Normally when you place an entity, you just see the first frame of its animation, and I want to choose different states of animation that I can see during layout. All I would need is to put in a variable and value (using weltmeister), but have that update the sprite of the entity right then in layout, and not only during runtime in the game.

1 decade ago by 80bit

Ah i see what youre saying. Dom can speak better on it, but I dont think thats possible as it is now.
Page 1 of 1
« first « previous next › last »