This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:guides:beginners:fx [2018/02/14 04:47 (8 years ago)] – ↷ Page moved from guides:beginners:fx to en:guides:beginners:fx iarwain | en:guides:beginners:fx [2025/09/30 17:26 (8 weeks ago)] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| - | Right and click this image and save it as " | + | Right and click this image and save it as " |
| Create a object section for this star and position it at the top right hand platform: | Create a object section for this star and position it at the top right hand platform: | ||
| Line 21: | Line 21: | ||
| [StarObject] | [StarObject] | ||
| Graphic | Graphic | ||
| - | Position = (690, 40, 0) | + | Position = (290, -260, 0) |
| </ | </ | ||
| 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 | ||
| - | Position = (690, 40, 0) | + | Position = (290, -260, 0) |
| FXList | FXList | ||
| </ | </ | ||
| 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 90: | Line 92: | ||
| Run that. And it will turn nicely. | Run that. And it will turn nicely. | ||
| - | One more tweak: As the sprite is turning, there are some jaggies, smooth | + | One more tweak, a minor detail: As the sprite is turning, there are some jaggies. Smooth |
| - | < | + | < |
| [StarObject] | [StarObject] | ||
| Graphic | Graphic | ||
| - | Position | + | Position |
| FXList | FXList | ||
| + | Pivot = center | ||
| Smoothing = true | Smoothing = true | ||
| </ | </ | ||
| Line 120: | Line 123: | ||
| </ | </ | ||
| - | And add the body to the StarObject: | + | And add the body to the '' |
| - | < | + | < |
| [StarObject] | [StarObject] | ||
| Graphic | Graphic | ||
| - | Position | + | Position |
| FXList | FXList | ||
| Smoothing = true | Smoothing = true | ||
| Line 137: | Line 140: | ||
| ---- | ---- | ||
| - | Next: [[guides: | + | Next: [[en:guides: |
| - | {{section> | + | {{section> |