This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:guides:beginners:timeline_tracks [2018/06/28 15:46 (7 years ago)] – external edit 127.0.0.1 | en:guides:beginners:timeline_tracks [2025/09/30 17:26 (5 weeks ago)] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Before we do this, remove the single monster from the Scene. We don't need it any more: | Before we do this, remove the single monster from the Scene. We don't need it any more: | ||
| - | < | + | < |
| [Scene] | [Scene] | ||
| ChildList = PlatformObject # MiddlePlatformObject # | ChildList = PlatformObject # MiddlePlatformObject # | ||
| Line 23: | Line 23: | ||
| </ | </ | ||
| - | This will create monsters over and over every second for us. But the monster objects need to start at a random position each time. Change | + | Attach |
| - | < | + | < |
| + | [Scene] | ||
| + | ChildList = PlatformObject # MiddlePlatformObject # | ||
| + | TopLeftPlatformObject # TopPlatformObject # | ||
| + | TopRightPlatformObject # | ||
| + | StarObject | ||
| + | TrackList = MonsterMakerTrack | ||
| + | </ | ||
| + | |||
| + | So that the monster objects start at a random position each time. Change the monster object to have a range of starting x positions: | ||
| + | |||
| + | < | ||
| [MonsterObject] | [MonsterObject] | ||
| Graphic | Graphic | ||
| Line 34: | Line 45: | ||
| </ | </ | ||
| - | Finally, to actually use the track which will create monsters, add it to the TrackList property in the Scene section: | ||
| - | |||
| - | < | ||
| - | [Scene] | ||
| - | ChildList = PlatformObject # MiddlePlatformObject # | ||
| - | TopLeftPlatformObject # TopPlatformObject # | ||
| - | TopRightPlatformObject # | ||
| - | StarObject | ||
| - | TrackList = MonsterMakerTrack | ||
| - | </ | ||
| Looking great! Monsters should be dropping in all over the place: | Looking great! Monsters should be dropping in all over the place: | ||
| Line 51: | Line 52: | ||
| Some tweaks can be added to the monster and the body to improve things a little: | Some tweaks can be added to the monster and the body to improve things a little: | ||
| - | < | + | < |
| [MonsterObject] | [MonsterObject] | ||
| Graphic | Graphic | ||
| Line 82: | Line 83: | ||
| Finally, a touch of '' | Finally, a touch of '' | ||
| - | That should work a little better. | + | That should work a little better. |
| + | |||
| + | < | ||
| + | [MonsterBody] | ||
| + | Dynamic | ||
| + | PartList | ||
| + | AngularDamping | ||
| + | LinearDamping | ||
| + | FixedRotation | ||
| + | </ | ||
| ---- | ---- | ||