Dismiss Notice
Hey Guest,
If you are interested in ghosting, the Ghosting Awards for January 2025 has just been announced:

Click here to check it out!

Improved track format/editor

Discussion in 'Anything and everything Free Rider' started by phi16, Aug 3, 2021.

  1. xdeadgrim

    xdeadgrim Member Official Author

    so what do the numbers represent? I'd like to create a script that places portals at a fixed distance (say 1000 units) in order to create a frame for an converted frame of a video to be placed at .
     
  2. phi16

    phi16 Member

    Alrighty. Here I think I want to strike a balance. So I would really love it and I think it would be super beneficial if more people knew how FreeRider worked (not just the encoding system like I covered), but I also don't want to give away free information. Part of programming (and life in general) is experimenting and figuring stuff out on your own, with the help of what you already know and what people tell you.

    So I will clarify what I said earlier, but I am not going to give out extra information.

    I am going off memory here, so I may edit this answer if I am wrong. The first
    Code:
    x1
    and
    Code:
    y1
    are the origin of the teleport, and the second
    Code:
    x2
    and
    Code:
    y2
    are the destination. As for what numbers to put there, take another look at my video and the number-to-base32 conversion scripts that Calculus posted above.
     
  3. phi16

    phi16 Member

    If you want to really understand how any of this works, experiment! There is nothing more beneficial to understanding this than editing SUPER basic (like one line) free rider tracks in Notepad and seeing what you can do.
     
    pawflix likes this.
  4. Egona

    Egona Active Member Team Truck Official Author

    Awarded Medals
    how to i start form scratch
     
    Bellboys likes this.
  5. phi16

    phi16 Member

    Alright. So just want to re-share the progress that I have made on the editor-of-sorts (at this point it has sort of moved away from that, but it is definitely still going to allow all the things that I mentioned before!)

    So what I am actually working on is a system of converting SVGs to Free Rider tracks.

    So if I draw something and save it as an SVG (here I am using Affinity Designer),
    [​IMG]

    then I can use my tool to export it to a free rider track (with some kinks that I am working on, as you can see)
    [​IMG]


    Right now all that is supported by this is curves. Lines are mostly working? But there are some issues just due to the way that SVG works vs the way that free rider works.

    I also fully intend to use prior open-source SVG editors and release a fork specifically for free rider, mostly because there are some things that such an editor could use like seeing the scale of the biker, and also the specialized shading stuff that I will have to do. I already have most of the functions that I would need to do stuff like shading made, I just have to connect a lot of stuff to the SVG backend (and figure out how much of the SVG spec I want to support).


    So this has been my update for now. I have tons of cool stuff planned, but I kind of have to work on this all in the middle of also doing tons of schoolwork, my job, and also whatever other side projects I am working on. Hope to see y'all soon!
     
    totem, pawflix, Volund and 1 other person like this.

Share This Page