Lua experiments:spring(revisited)

Linux - Custom level - from Android
PlayEdit2 players liked this.Log in to like this level.

Boy have the years gone bye 1.4 seemed like yesterday . thought it would be nice to improve some older levels

Views: 702 Downloads: 253 Unique objects: 1 Total objects: 4

Parent

Discuss this level

Log in to comment on this level.
  • Linux: @zardOz: I figured it out thanks to your code
  • zardOz2: @Linux: 'a' is the length of the line, so when setting the color I just set the colors at a/20 so the value would have a range from 0-1 depending on how long the distance is...(if less than 20)
  • Linux: Not mine actually ctjets
  • Linux: But how did you do that on wheel buddies (the Line between entity's adapted for my code)
  • zardOz2: Yep same
  • Linux: Sort of like your wheelie buddies 2.0
  • Linux: Sort of like your wheelie buddies 2.0
  • Linux: @zardOz: why is it purple
  • zardOz2: replace your draw_line line with this, (also will get thinner if longer)
    this:set_sprite_tint(a/10,0,a/10,1)
    this:draw_line(bx,by,tx,ty,math.max(.1,1-a/15))

LEVEL ID: 15694