1. Dismiss Notice

Automatically Generated Track (Distance Challenge)

Discussion in 'Have an idea? Post it here!' started by pssst, Nov 11, 2014.

  1. rhmster

    rhmster Well-Known Member Official Author

  2. Cryogenic

    Cryogenic Well-Known Member Official Author

    Dakoziol-2nd and rhmster like this.
  3. rhmster

    rhmster Well-Known Member Official Author

    Can't wait to see it, next on my list is to sort out some auto-generated jumps - What language r u coding in Jacob?
     
    Cryogenic likes this.
  4. Cryogenic

    Cryogenic Well-Known Member Official Author

    HTML5 and JavaScript. Mostly javascript though.
     
  5. Max007x

    Max007x Forum Moderator Staff Member Forum Moderator Official Author Featured Tracks Moderator

    How about a tan wave? :p
     
  6. rhmster

    rhmster Well-Known Member Official Author

    goofyinc, Cryogenic and Max007x like this.
  7. Max007x

    Max007x Forum Moderator Staff Member Forum Moderator Official Author Featured Tracks Moderator

    Cryogenic likes this.
  8. rhmster

    rhmster Well-Known Member Official Author

    http://www.freeriderhd.com/t/68958-autogeneratedtracksegments-1

    OK, so this track has the following code generated segments to it.
    1) Flat line : PROPERTIES (Length)
    2) circle path (used for ramp generation) PROPERTIES (StartAngle, EndAngle, Radius)
    3) Staircase : PROPERTIES (tread length, gap between treads, Num of treads)
    4 Sine Wave: PROPERTIES (Frequency, amplitude and num of periods)
     
    Dakoziol-2nd, Sono and Cryogenic like this.
  9. goofyinc

    goofyinc Well-Known Member Official Author

    haha this topic is on fire :D love it! Good job all!
     
    Cryogenic likes this.
  10. LukeSpecogna

    LukeSpecogna Well-Known Member Official Author

  11. LukeSpecogna

    LukeSpecogna Well-Known Member Official Author

    My new favorite song:
     
  12. Sono

    Sono Well-Known Member Official Author

    Wow.. You guys are way way ahead of me. Sadly, I've been busy coding my culminating project for my computer science class, so I haven't had much time to focus on any other code.
    On another note, does anyone have a good understanding of basic 2D physics? If so, we could probably make our own Free Rider ;D
    Jokes. Char and Eric would kill us.. Then sue.
     
    Dakoziol-2nd and rhmster like this.
  13. rhmster

    rhmster Well-Known Member Official Author

    I'm sure we could knock a quick something up in Unity ;D
     
    Coffee and Sono like this.
  14. rhmster

    rhmster Well-Known Member Official Author

    Max007x and Cryogenic like this.
  15. Ficus

    Ficus Well-Known Member

  16. goofyinc

    goofyinc Well-Known Member Official Author

    jacob, send me what you've got so far i wanna see if i can be of use
     
  17. rhmster

    rhmster Well-Known Member Official Author

  18. rhmster

    rhmster Well-Known Member Official Author

    So, I have finally managed to put together a top level randomizer that generates a track from 7 different track segments. Each Segment has random variables that control length, height, angles etc.. sample track code based on 40 features as follows: give it a twirl !! :)


    -18 1i 18 1i 3i i 5u -a 8p -o bh -1q ec -2a gh -31 j0 -3v ll -58 o2 -6b oe -6b r8 -5p ti -5a u1 -5a 109 -6p 136 -7e 13i -7e 15c -6t 176 -6i 184 -67 1b6 -5s 1cl -5d 1d5 -5d 1f6 -71 1h3 -7c 1jc -7v 1m4 -9c 1oe -b6 1r7 -bk 1t8 -d5 208 -dk 21u -eb 24s -g0 270 -gr 27g -gr 29b -g8 2a9 -fn 2an -fn 2l0 -fn 2mm -fn 2p5 -g5 2rj -gp 2tv -hk 308 -il 32e -js 34g -la 36e -mt 387 -ol 39r -qi 3ba -sk 3cj -up 3dl -112 3eh -13d 3nq -13d 3q4 -14d 3sg -159 3vb -15n 423 -16p 44u -179 473 -180 49i -18u 4c7 -1a7 4ek -1ba 4f0 -1ba 4hq -1ao 4k4 -1a9 4kj -1a9 4na -1a9 4p4 -1ap 4qs -1be 4si -1c8 4u5 -1d6 4vm -1e9 513 -1ff 52d -1gq 53j -1i8 54l -1jp 56a -1jp 57g -1hg 58s -1fb 5ae -1da 5c5 -1bd 5e2 -19m 5g3 -184 5i8 -16o 5kh -15i 5nk -15i 5pu -16i 5sa -17e 5v5 -17s 61t -18u 64o -19e 66t -1a5 69c -1b3 6c1 -1cc 6ee -1df 6eq -1df 6hk -1ct 6ju -1ce 6kd -1ce 6m0 -1ce 6nh -1aj 6p7 -18s 6r2 -179 6t1 -15s 6v4 -14l 719 -13k 73i -12p 75v -12p 7k7 -12p 7mh -137 7ot -13k 7ro -13u 7ug -14c 81b -14n 81o -14n 83a -14a 857 -13t 86u -13h 87v -133 88f -133 8n9 -133 8or -133 8rk -13j 8ub -14b 910 -15b 93i -16i 960 -180 98a -19l 9ae -1bf 9ce -1dg 9dn -1d5 9f0 -1cr 9g9 -1ch 9hi -1c7 9ir -1bv 9k4 -1bp 9ld -1bk 9mm -1bh 9nv -1bg 9p8 -1bh 9qh -1bk 9rq -1bp 9t3 -1bv 9v9 -1bv a0l -19a a28 -16q a42 -14e a63 -128 a89 -107 aal -ud ad5 -sq afq -re aii -q9 ald -pd aoa -oo ar6 -oo au0 -oo avc -p2 b0m -ph b20 -q3 b37 -qo b4d -rh b5g -sd b6h -tc bgp -tc bj3 -uc blf -v8 boa -vm br2 -10o btt -118 c02 -11v c2h -12t c56 -146 c7j -159 c7v -159 cap -14n cd3 -148 cdi -148 ce9 -13k cf1 -12v cfp -12d cgh -11r ch9 -11d ci1 -111 cip -10o cjh -10i ck9 -10g cl1 -10i clp -10o cmh -111 cn9 -11d co1 -11r cop -12d cph -12v cq9 -13k cr1 -148 crp -14s csh -15h ct9 -164 cu1 -16l cup -173 cvh -17f d09 -17o d11 -17u d1p -180 d2h -17u d39 -17o d41 -17f d4p -173 d5h -16l d69 -164 d6r -15o d7d -15c d80 -150 d8i -14m d95 -14d d9n -145 daa -140 das -13t dbf -13r dc1 -13t dcj -140 dd6 -145 ddo -14d deb -14m det -150 dfg -15c dg2 -15o dgl -164 dh7 -16g dhp -16s dic -178 diu -17i djh -17r dk3 -183 dkm -188 dl8 -18b dlr -18d dmd -18b dmv -188 dni -183 do4 -17r don -17i dr1 -18i dtd -19e e08 -19s e30 -1au e5r -1be e80 -1c5 eaf -1d3 ed4 -1ec efh -1ff eft -1ff ein -1et el1 -1ee elg -1ee enm -1ee eql -1ep etj -1fc f0f -1g7 f38 -1ha f5u -1il f8f -1k7 fas -1m0 fd4 -1o0 ff6 -1q5 fh2 -1sg fjc -1tg flo -1uc foj -1uq frb -1vs fu6 -20c g0b -213 g2q -221 g5f -23a g7s -24d g88 -24d gb2 -23r gdc -23c gdr -23c gop -23c gpp -230 gqq -22k grq -229 gsr -21u gts -21l gus -21e gvt -219 h0t -216 h1u -214 h2v -216 h3v -219 h50 -21e h60 -21l h71 -21u h82 -229 h92 -22k ha3 -230 hb4 -23c hc4 -23o hd5 -244 he5 -24g hf6 -24q hg7 -253 hh7 -25a hi8 -25f hj8 -25i hk9 -25k hla -25i hnt -25i hot -231 hq4 -20k hrh -1ua ht4 -1s5 hut -1q4 i0s -1o9 i2v -1mj i57 -1l4 i7j -1jr ia2 -1io ick -1ht if8 -1h9 ih2 -1h9 ijc -1i9 ilo -1j5 ioj -1jj irb -1kl iu6 -1l5 j0b -1ls j2q -1mq j5f -1o3 j7s -1p6 j88 -1p6 jb2 -1ok jdc -1o5 jdr -1o5 jr2 -1o5 jsl -1o5 jte -1mt jub -1lm jvb -1ki k0d -1jh k1j -1ij k2r -1hp k45 -1h2 k5p -1h2 k6c -1gb k6v -1fl k7j -1f0 k86 -1ec k8q -1ds k9d -1de ka1 -1d5 kak -1cv kb8 -1cs kbr -1cv kcf -1d5 kd2 -1de kdm -1ds ke9 -1ec ket -1f0 kfg -1fl kg4 -1gb kgn -1h2 kha -1hp khu -1if kih -1j5 kj5 -1jo kjo -1k8 kkc -1km kn0 -1km kod -1l8 kpn -1lt kr0 -1mm ks6 -1ni kta -1oi ktt -1nt kug -1n9 kv3 -1mm kvm -1m5 l09 -1lm l0s -1la l36 -1ma l5i -1n6 l8d -1nk lb5 -1om le0 -1p6 lg5 -1pt lik -1qr ll9 -1s4 lnm -1t7 lo2 -1t7 lqs -1sl lt6 -1s6 ltl -1s6 luq -1rk lvv -1r1 m14 -1qg m29 -1q0 m3e -1pj m4j -1p8 m5o -1p0 m6t -1or m82 -1op m97 -1or mbh -1p9 mdt -1pm mgo -1q0 mjg -1qe mmb -1qp mmo -1qp moa -1qc mq7 -1pv mru -1pj msv -1p5 mtf -1p5 mvd -1p5 n1p -1pr n43 -1qo n6a -1rs n8e -1t5 nae -1ul nc9 -209 ne0 -223 nfi -241 ngt -263 ni3 -289 nj3 -2ai njs -2ct nmn -2ct nng -2bm nod -2ai npd -29g nqg -28h nrl -27m nst -26t nvb -26t o1l -27t o41 -28p o6s -297 o9k -2a9 ocf -2ap oek -2bg oh3 -2ce ojo -2dn om5 -2eq omh -2eq opb -2e8 orl -2dp os4 -2dp ou6 -2dp p03 -2bh p26 -29f p4f -27j p6t -25u p9f -24f pc5 -238 pei -238 pkv -238##
     
  19. LukeSpecogna

    LukeSpecogna Well-Known Member Official Author

    I
    like it!
     
  20. rhmster

    rhmster Well-Known Member Official Author

Share This Page