mad.array Posted November 5, 2008 Report Share Posted November 5, 2008 Hi guys. I've been trying to figure out how to add a new character into the Engines levels in an attempt to get a deeper understanding of the engine. Seeing as I'm here, you can figure out that I haven't been doing too well. I've got a sprite for Knuckles, a clone of Sonics information (topxspeed/maxxspeed etc) acting as Knuckles' stats at the moment and have changed the Character Value to 2 and added in the changes of animation for the frames I've put in but I've not been able to find out where the code for implementing the change happens. I know that if you press the 'r' key during a trial of the Worlds engine then you change from Sonic to Tails, but i've not been able to find the part of the code that makes one character invisible and the other visible. I'm thinking that I don't need to use the Global 'GameCharacter' value because the engine automatically changes the 'Character' value of PlayerMovementValues to the global value. I'm just looking for a guide on implementing him as a Sonic clone at the moment as I do want to feel like I've actually done something myself . This and any other assistance would be greatly appreciated. Also, can anyone give rep for answers cos I've not wanted to give any in case I get slapped by an admin? Link to comment Share on other sites More sharing options...
Rael0505 Posted November 5, 2008 Report Share Posted November 5, 2008 Also, can anyone give rep for answers cos I've not wanted to give any in case I get slapped by an admin? You should always give rep after you've been helped. The admins will not "slap" you for no reason. We're not that strict; lighten up Link to comment Share on other sites More sharing options...
mad.array Posted November 5, 2008 Author Report Share Posted November 5, 2008 Ohhhh, ok. Well that clears up that part of it. Thanks Rael! Link to comment Share on other sites More sharing options...
Damizean Posted November 6, 2008 Report Share Posted November 6, 2008 The skin show/hide routines are located with the character animation group, like all the stuff of such nature. It simply checks the character and hides/shows the skins according to it. Link to comment Share on other sites More sharing options...
mad.array Posted November 6, 2008 Author Report Share Posted November 6, 2008 Thanks Damizean.Rep up. I've got Knuckles mostly working. I'm just having one small problem. when he runs off of a ramp, his angle doesn't change back to flat until he lands. I've tried switching through the other player skins and they all rotate back to 0 degrees rotation but the new one doesn't. I'm at a loss. Link to comment Share on other sites More sharing options...
Recommended Posts