This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:guides:beginners:fx [2018/06/28 05:25 (7 years ago)] – In line with init projects sausage | en:guides:beginners:fx [2024/11/19 02:08 (5 months ago)] (current) – Highlights sausage | ||
---|---|---|---|
Line 26: | Line 26: | ||
Add the star to the Scene section' | Add the star to the Scene section' | ||
- | < | + | < |
[Scene] | [Scene] | ||
ChildList = PlatformObject # MiddlePlatformObject # | ChildList = PlatformObject # MiddlePlatformObject # | ||
Line 32: | Line 32: | ||
StarObject | StarObject | ||
</ | </ | ||
+ | |||
+ | (Don't forget the ''#'' | ||
Run the game and you will have a star in the top right hand corner: | Run the game and you will have a star in the top right hand corner: | ||
Line 71: | Line 73: | ||
Add the FX to the StarObject: | Add the FX to the StarObject: | ||
- | < | + | < |
[StarObject] | [StarObject] | ||
Graphic | Graphic | ||
Line 82: | Line 84: | ||
The only problem is that the turning pivot for the star is a little off. Fix that on the StarGraphic: | The only problem is that the turning pivot for the star is a little off. Fix that on the StarGraphic: | ||
- | < | + | < |
[StarGraphic] | [StarGraphic] | ||
Texture = star.png | Texture = star.png | ||
Line 92: | Line 94: | ||
One more tweak, a minor detail: As the sprite is turning, there are some jaggies. Smooth them out my applying '' | One more tweak, a minor detail: As the sprite is turning, there are some jaggies. Smooth them out my applying '' | ||
- | < | + | < |
[StarObject] | [StarObject] | ||
Graphic | Graphic | ||
- | Position | + | Position |
FXList | FXList | ||
+ | Pivot = center | ||
Smoothing = true | Smoothing = true | ||
</ | </ | ||
Line 122: | Line 125: | ||
And add the body to the '' | And add the body to the '' | ||
- | < | + | < |
[StarObject] | [StarObject] | ||
Graphic | Graphic |