This is a Framework that is a part of Mach Speed Repository.
This framework adds Trail to playable characters when they are moving at high speed.
Since this framework is a part of Mach Speed Physics: Next Generation, it shouldn't be used with Mach Speed Physics: Next Generation or other complex code mods.
Also, this mod is largely based on Mach Speed Power Boost, and therefore shouldn't be used with it as well.
To learn how to make code mod, read How to make Code Mods.
Speed Trail is made of EffectCommon.pac and four codes:
- Code "Speed Trail for Sonic"
- Code "Speed Trail for Amy"
- Code "Speed Trail for Knuckles"
- Code "Speed Trail for Tails"
Code "Speed Trail for Sonic" separates 3D Open Zone, 3D Cyber Space, and 2D, and enables/disables trail based on Sonic's speed.
Sonic's friends codes simply check for speed, but I disabled Speed Trail for Knuckles' Drill moves and Tails' Cyclone moves.
Finally, EffectCommon.pac contains customer Trail effects for Sonic, Amy, Knuckles, and Tails. cemt files are also provided for compatibility with other mods.
I wrote a lot of notes in the code. For example:
SpeedTrail = true; // Speed Trail is Enabled
for this line, SpeedTrail = true; is written in C# for the game, and Speed Trail is Enabled is written in English to help your understanding.
With notes, the code is pretty self-explanatory and fully customizable.
Feel free to include this framework in your mod under these rules.
1. You must put a link of the framework in your mod description.
(ex: This mod uses Speed Trail)
2. If you modified my code, you must mention that the code has been modified in the your mod description.
(ex: This mod includes modified version of Speed Trail)
3. You must credit me so that I know which mods are using my frameworks.
(ex: Author Group: Speed Trail | Author: Trepe Serafin)
Please note that Disable Framerate Limiter code seems to cause minor flickering issue. Be sure to warn users about this issue.
Mach_Speed_Repository:_Speed_Trail.zip
Key Authors
Trepe Serafin
HMM Libraries
Version
Unknown