Circles, Rings, Arcs and Spokes (lua) v1.6 crazy update

zardOz2 - Custom level - from Android
PlayEdit20 players liked this.Log in to like this level.

Heres an expansion on Circle maker 2.0, I split the code into seperate luascript boxes so it can be more easily understood. If you just need a circle drawn and dont want to learn lua, check out circle maker 2.0

Lua#1(left): Single sprite ring code *modded Sdac code
Lua#2: Single sprite solid circle code *modded Sdac code
Lua#3: Rotating polygon/line circle code(Update 1.4), finds the corner points based on angle input.(1.5: spokes and wedges) (1.6: crazy update)
Lua#4: Circle marker and spokes code (update: rotating)
Lua#5: Ring of sprites code
Lua#6: Arc code (rainbow update)

Credits to jammer on the polygon maker, I didnt use his code but he did make something very similar that doesnt rotate.

Views: 2106 Downloads: 772 Unique objects: 10 Total objects: 16

Discuss this level

Log in to comment on this level.
  • pradeep kumar: awesome!!!
  • zardOz2: @Demon666: nope.... soonish;)
  • Demon666: i dont go to the forums that much lol..... did they give any date for 1.5?
  • zardOz2: @Demon666: oh, I guess Sdac said "hopefully" in 1.5:)
  • zardOz2: It's been mentioned in several threads and levels by Paj/Sdac
  • Demon666: @zardOz: how do you know what will be on 1.5? the todo list dont say anything lol.
  • JOELwindows7: @zardOz: oh yea? Oh Awesome will
  • zardOz2: Sprites? Thats a pain... Also they have a shape maker thing in 1.5, lets see how that looks. If you want lines I can whip something up.
  • Demon666: i got a challenge for you a. customizable sprite trapezoid and parallelograms.
  • zardOz2: @TechZ: @JOELwindows7: @pajlada: @Demon666: thx all, I should probablyy just make an old turtle draw program those are fun
  • TechZ2124: Awesome update !
  • JOELwindows7: 3D to 4D Infinte!
  • pajlada: nice, spooky controls!
  • Demon666: i like the rotating 3d pyramid lmao it really give me ideas..... many many ideas......
  • zardOz2: @JOELwindows7: @Leis: :) I like this one, it's hypnotiic
  • Leis: So awesome , so beautiful!
  • JOELwindows7: Awesome!
  • zardOz2: @woodnut: you dont have to learn it all... a little knowledge of if/else and the math basics can greatly enhance your builds
  • woodnut2: Very nice codeing , if I just had more time.........I might learn Lua. :)
  • zardOz2: @RAY5D: thanks, I had as a clock but it lags with a second hand and nothing else
  • RAY5D: Awesome!
  • zardOz2: @TechZ: thanks man, @Geremy and Joshua: not really sure what you mean?
  • TechZ2124: Wow cool ! Really interesting concpets, well done
  • Geremy and Joshua: @zardOz: can you make a lua robot i want you to make it cause your creations are cool:D
  • Demon666: @roboz: Z is right about your question being very vague but the closest example i can give you is this:

    sx=2
    sy=2

    x1=1
    y1=1
    x2=2
    y2=2

    this:draw_line(x1+sx,y1+sy,x2+sx,y2+sy)


    -->x1,y1 is the start point of the line
    -->x2,y2 is the end point of the line

    -->sx and sy where the entire line is positioned
  • zardOz2: Yeah but they dont blend well at different angles
  • Demon666: you can break up the two ends one line into several smaller lines and have them each show different depths and colors thats kinda what my lightning code does.
  • zardOz2: @roboz: it's just not that simple roboz, you are going to have to study other peoples stuff, change a number see what happens. Too many possibilities for these general questions, what line? Moving which direction? Rc input? Moving in a straight line, rotating or on a curve? etc... Every code is customized to the exact needs.
  • Demon666: i was just about to suggest something like this to you lmao
  • roboz: whats the code for moving a line around?
  • zardOz2: Man I wish there was a way to draw the two ends of a line to different depths and to scale colors and width, Would make drawing very easy.

LEVEL ID: 5095