0 Members and 1 Guest are viewing this topic.
Spawn:PLAY A 0PLAY B 1PLAY A 1Goto Spawn+2See:PLAY BCDE 5goto SpawnMissile:PLAY EF 5Goto SpawnPain:PLAY H 5Goto Spawn
The numbers in the frames indicate which rotations they are.Here are the valid rotations: [Direction the object is facing]0 is omnidirectional. This sprite will always appear the same way in all directions.1 is front2 is front left3 is left4 is back left5 is back6 is back right7 is right8 is front rightRepeated frames, such as PROMA8A2, the base frame is taken for frame 8 [front right] and reflected for frame 2I actually didn't know how all this worked until I cracked open my copy of the Doom2.wad...this was about a year after making my first skin, but this information does help.To answer your last question, you need four characters in a sprite name to establish a set of sprites that are unique from everything else. PROM is the sprite set for Protoman's skin in 8BDM, replacing PLAY on the base class. I'm sure you've already noticed how the frames have the conventions of four characters, a letter from A-Z, and a rotation number, yes? This is actually the case because of how DECORATE, the coding language used for establishing how objects in the game work, renders sprites on objects.The following is the base code is highly simplified from the base Megaman class for this example: (click to show/hide)Code: [Select]Spawn:PLAY A 0PLAY B 1PLAY A 1Goto Spawn+2See:PLAY BCDE 5goto SpawnMissile:PLAY EF 5Goto SpawnPain:PLAY H 5Goto SpawnIt's fine. You don't need to know what all of this means, you just need to note the fact that each line (except the indices for states) has PLAY, a letter, and then a number.PLAYA1 is the front frame of the base skin, which is obviously Megaman, as used in the spawn state [just him standing there.]Also worth noting, but is irrelevant to what you're doing is the number at the end of each line. DECORATE does not call specific rotations of a frame, otherwise it would be impossible to properly render an object in the game. The number given is the number of tics that frame is supposed to last before moving to the next one.I hope this information helps...I know I gave you way too much to work with...but yeah I hope it helps.