Orx - Portable Game Engine
Welcome, Guest
Please Login or Register.    Lost Password?
Orx Curve Editor
(1 viewing) 1 Guest
Go to bottom
TOPIC: Orx Curve Editor
#8638
sausage
Moderator
Posts: 719
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sausagejohnson http://waynejohnson.net Location: Near Canberra, Australia
Orx Curve Editor 8 Months, 3 Weeks ago Karma: 3
Currently in progress is a a Curve Editor for Orx developers, written in Orx.

The intention is to provide two features:

1) The ability to edit Bezier curves and to test objects moving along them.
2) The ability to test the same curves against FX like position, color etc.

Of course curves can be loaded, saved and exported.

Current progess on the curve interface:



vimeo.com/206220089
 
Logged Logged
 
Indie gamedev with Orx at night. Always feel free to come and say hi over in gitter.im/orx/orx gitter chat or drop me a message.
  The administrator has disabled public write access.
#8643
sausage
Moderator
Posts: 719
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sausagejohnson http://waynejohnson.net Location: Near Canberra, Australia
Re:Orx Curve Editor 8 Months, 1 Week ago Karma: 3
Update 2 video is available:


vimeo.com/208767995

Features:

* Object following the curve
* Pause / Unpause / Show / Hide the object on the curve
* Speed up / slow down object on the curve
* Add and delete points
* Point snapping
* Zoom and translation of the view
* Notification banner
* Help screen
* New coloured 0-markers on the grid
* Save to file

Repo is available at:
bitbucket.org/sausage/orx-curvefx-editor
 
Logged Logged
 
Last Edit: 2017/03/17 02:53 By sausage.
 
Indie gamedev with Orx at night. Always feel free to come and say hi over in gitter.im/orx/orx gitter chat or drop me a message.
  The administrator has disabled public write access.
#8648
iarwain
Administrator
Posts: 3125
graph
User Offline Click here to see the profile of this user
Gender: Male Orx - Portable Game Engine Location: Montreal
Re:Orx Curve Editor 8 Months ago Karma: 71
Really nice. Do you intend to add orxFX curves visualization to it?
 
Logged Logged
 
Want to follow orx's development? Check our Trello board: http://trello.com/b/g4jMS6jc/orx-tasks
  The administrator has disabled public write access.
#8649
iarwain
Administrator
Posts: 3125
graph
User Offline Click here to see the profile of this user
Gender: Male Orx - Portable Game Engine Location: Montreal
Re:Orx Curve Editor 8 Months ago Karma: 71
There seems to be a tiny hitch when the spaceship transitions from one curve segment to the next one. Is it just in the video capture or does it happen live as well?
 
Logged Logged
 
Want to follow orx's development? Check our Trello board: http://trello.com/b/g4jMS6jc/orx-tasks
  The administrator has disabled public write access.
#8650
sausage
Moderator
Posts: 719
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sausagejohnson http://waynejohnson.net Location: Near Canberra, Australia
Re:Orx Curve Editor 8 Months ago Karma: 3
I'll probably start on curveFX once freeform curves are in Orx.

So right now it will only be for waves, or curves for other reasons.
 
Logged Logged
 
Indie gamedev with Orx at night. Always feel free to come and say hi over in gitter.im/orx/orx gitter chat or drop me a message.
  The administrator has disabled public write access.
#8651
sausage
Moderator
Posts: 719
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sausagejohnson http://waynejohnson.net Location: Near Canberra, Australia
Re:Orx Curve Editor 8 Months ago Karma: 3
I added a wave last night, rather than a single object, and noticed a slight hitch there. It might be because I was travelling from 0 to 1 inclusive, so I made it so that it moves to the next segment if it's >=1. I still notice a minor glitch.

I might show you that over the weekend and see if it's an issue with the curve, or code.
 
Logged Logged
 
Indie gamedev with Orx at night. Always feel free to come and say hi over in gitter.im/orx/orx gitter chat or drop me a message.
  The administrator has disabled public write access.
#8652
iarwain
Administrator
Posts: 3125
graph
User Offline Click here to see the profile of this user
Gender: Male Orx - Portable Game Engine Location: Montreal
Re:Orx Curve Editor 8 Months ago Karma: 71
sausage wrote:
I'll probably start on curveFX once freeform curves are in Orx.

So right now it will only be for waves, or curves for other reasons.


Sure, but is your intent to support all the types of curves of orxFXs in the end or only freeform ones?
 
Logged Logged
 
Want to follow orx's development? Check our Trello board: http://trello.com/b/g4jMS6jc/orx-tasks
  The administrator has disabled public write access.
#8653
sausage
Moderator
Posts: 719
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sausagejohnson http://waynejohnson.net Location: Near Canberra, Australia
Re:Orx Curve Editor 8 Months ago Karma: 3
All curves will be supported for orxFX. For example, you will be able to select bezier, catsmull, sine, triangle, etc.

If you are working on a curve and you view it in the orxFX area, the FX will use that curve. If you select sine, the curve you worked on would disappear, and a visual of the sine version would appear.

I'm thinking you can edit the sine to become the basis of a new bezier curve. Or switch back to your previous bezier that was in progress.
 
Logged Logged
 
Indie gamedev with Orx at night. Always feel free to come and say hi over in gitter.im/orx/orx gitter chat or drop me a message.
  The administrator has disabled public write access.
#8654
iarwain
Administrator
Posts: 3125
graph
User Offline Click here to see the profile of this user
Gender: Male Orx - Portable Game Engine Location: Montreal
Re:Orx Curve Editor 8 Months ago Karma: 71
OK, that's good. I was more thinking in terms of curve combinations, which is the part that is hard to mentally visualize. Like when one combines a sine with a sawtooth with a different phase and period, for example.
 
Logged Logged
 
Want to follow orx's development? Check our Trello board: http://trello.com/b/g4jMS6jc/orx-tasks
  The administrator has disabled public write access.
#8655
sausage
Moderator
Posts: 719
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sausagejohnson http://waynejohnson.net Location: Near Canberra, Australia
Re:Orx Curve Editor 8 Months ago Karma: 3
Ah yes, I see what you mean. I hadn't given that any thought. In fact I hadn't given multiple slots any thought, only single FX.

I'll have to do some design on that. Ultimately, it should be supported to make it more useful.
 
Logged Logged
 
Indie gamedev with Orx at night. Always feel free to come and say hi over in gitter.im/orx/orx gitter chat or drop me a message.
  The administrator has disabled public write access.
#8657
sausage
Moderator
Posts: 719
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sausagejohnson http://waynejohnson.net Location: Near Canberra, Australia
Re:Orx Curve Editor 7 Months, 3 Weeks ago Karma: 3
Update 3:


vimeo.com/210729823

Update of the editor showing new colours, snapping points, wave preview with pausing, live editing with waves playing.

Dialogs are in too, but not shown.
 
Logged Logged
 
Indie gamedev with Orx at night. Always feel free to come and say hi over in gitter.im/orx/orx gitter chat or drop me a message.
  The administrator has disabled public write access.
#8661
krousty_bat
Senior Boarder
Posts: 64
graphgraph
User Offline Click here to see the profile of this user
Etincellle
Re:Orx Curve Editor 7 Months, 2 Weeks ago Karma: 0
I added the link of the thread in the "List of Tools" pinned Forum Message until the link to get the tool is available to all!
 
Logged Logged
  The administrator has disabled public write access.
#8662
sausage
Moderator
Posts: 719
graphgraph
User Offline Click here to see the profile of this user
Gender: Male sausagejohnson http://waynejohnson.net Location: Near Canberra, Australia
Re:Orx Curve Editor 7 Months, 2 Weeks ago Karma: 3
Ah yes, thank you. It should be released soon. Just a few bugs to sort out.
 
Logged Logged
 
Indie gamedev with Orx at night. Always feel free to come and say hi over in gitter.im/orx/orx gitter chat or drop me a message.
  The administrator has disabled public write access.
Go to top