Is it possible to modify the a frame at runtime?

Started by RickJ, Sun 04/04/2004 04:41:25

Previous topic - Next topic

RickJ

I thought it was possible to do this but haven't found anything in the manual.  Is it possible to change the sprite number assigned to a view/loop/frame from a script at runtime?  


Pumaman


RickJ

I was thinking about doing a thing where you construct a character in a game.  There would be a machine with levers and buttons you use to pose a character, (kind of cyborg style) take snapshots of the poses and then assemble them for an animation sequence.   We could use something like this in the DQ games factory to illustrate the steps required in defining a character.

I suppose also such a thing could be used to impart characteristics to characters as the game progresses.  For example if a character injures his/her leg you could give him a limp by changing a couple of frames.  You could even make it progressively worse as time passes.  I know normally we just make another view but having the ability to dynamically modify the frames at run time would maybe produce interesting  results.  

I guess it comes down to how much trouble it is to implement vs how much benefit is derrived from it.  

 

Pumaman

Interesting ideas. Would this be useful to anyone else?

Scorpiorus

Yeah, I'd find it very handy too. Although I believe plugin API allows to change frame's pic at run-time (haven't tried it yet though) a possibility to manipulate frames in script seems very useful to me. Furthermove, I don't know if the engine currently saves frames' structure in savegames (probably not). Would be nice to have changing of frames as an official feature. :)

~Cheers

SMF spam blocked by CleanTalk