GiriX Posted July 23, 2012 Report Share Posted July 23, 2012 alright, so I'm dinking around in this engine, and the sprite for the character is going fine, but the rolling animation is not the shape of a ball like Sonic. Now you may be wondering, what the heck does that have to do with anything relative? It's very important! Question: My character has full 360 degree movement with the engine, and the running sprites are coded to rotate 360 with the character, how do I make the rolling sprites rotate 360 as well? note: I'm using the Super Ring Engine for this Link to comment Share on other sites More sharing options...
DimensionWarped Posted July 24, 2012 Report Share Posted July 24, 2012 I'm not sure of anything involving your particular engine, but probably somewhere you'll find code responsible for sprite rotation. This is usually done by setting object.angle. Within this block you'll probably find exceptions made to certain animations/states such as being in ball mode or perhaps inclusions based on being in the running animation. Either way, you want to make the rolling state the opposite of what it is. If it isn't included in that section, include it. If it is included in that section, remove it. Link to comment Share on other sites More sharing options...
Chaos-Fusion Posted July 24, 2012 Report Share Posted July 24, 2012 In objSonic, goto the end step event and look in the "Animation/Action Set" script. What DW said is found in that script. Link to comment Share on other sites More sharing options...
GiriX Posted July 25, 2012 Author Report Share Posted July 25, 2012 Thanks guys, I was looking around for something like that but finding it would have been impossible without your help. Link to comment Share on other sites More sharing options...
Recommended Posts