User Tools

Site Tools


en:tutorials:orxscroll:scrollobject_along_a_curve

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:tutorials:orxscroll:scrollobject_along_a_curve [2020/08/20 05:51 (5 years ago)] – ↷ Page moved from en:tutorials:scrollobject_along_a_curve to en:tutorials:orxscroll:scrollobject_along_a_curve sausageen:tutorials:orxscroll:scrollobject_along_a_curve [2022/01/07 06:35 (3 years ago)] (current) sausage
Line 6: Line 6:
  
  
-You can follow [[en:tutorials:creating_your_own_scroll_project_using_init|this tutorial to help you set up a new orx/Scroll project]]. Once set up, create a ScrollObject class for your ship. We will make use of the Update function in order to update the ship's position every frame.+You can follow [[en:tutorials:orxscroll:creating_your_own_scroll_project_using_init|this tutorial to help you set up a new orx/Scroll project]]. Once set up, create a ScrollObject class for your ship. We will make use of the Update function in order to update the ship's position every frame.
  
 ===== Assets ===== ===== Assets =====
Line 31: Line 31:
   * 2 Control Points, for adjusting the size of the curve   * 2 Control Points, for adjusting the size of the curve
  
-Here is an illustration of a curve from the Orx Curve Editor:+Here is an illustration of a curve from the [[https://gitlab.com/sausagejohnson/orx-curvefx-editor|Orx Curve Editor]]:
  
 {{tutorials:orxscroll:curve-with-markings.png?direct|}} {{tutorials:orxscroll:curve-with-markings.png?direct|}}
Line 56: Line 56:
 </code> </code>
  
-This is the format that is outputted from the Orx Curve Editor, but you can use any collection of four vectors you like.+This is the format that is outputted from the [[https://gitlab.com/sausagejohnson/orx-curvefx-editor|Orx Curve Editor]], but you can use any collection of four vectors you like.
  
 To retrieve the four vectors from the config, you can use: To retrieve the four vectors from the config, you can use:
Line 181: Line 181:
  
 Its worth noting that very soon, Orx will be able to take a direct list of points through a Position FX and do this job for you. This tutorial will be updated once that feature is ready. Its worth noting that very soon, Orx will be able to take a direct list of points through a Position FX and do this job for you. This tutorial will be updated once that feature is ready.
 +
 +===== The Editor =====
 +
 +{{ :tutorials:tools:orx-curve-editor.png?direct&600 |}}
 +
 +As mentioned above, the [[https://gitlab.com/sausagejohnson/orx-curvefx-editor|Orx Curve Editor]] is available for download to help you work more easily with curves while providing a preview function that displays objects travelling along your curves.
  
 Enjoy working with objects on curves! Enjoy working with objects on curves!
en/tutorials/orxscroll/scrollobject_along_a_curve.1597927881.txt.gz · Last modified: 2020/08/20 05:51 (5 years ago) by sausage